__attribute__ for defined types