@@ -15,22 +15,10 @@ #import "OFObject.h" OF_ASSUME_NONNULL_BEGIN -#ifdef OF_APPLE_RUNTIME -# ifdef OF_X86_64 -# define OF_INVOCATION_CAN_INVOKE -# endif -#else -# ifdef OF_ELF -# ifdef OF_X86_64 -# define OF_INVOCATION_CAN_INVOKE -# endif -# endif -#endif - @class OFMethodSignature; @class OFMutableArray OF_GENERIC(ObjectType); @class OFMutableData; /** @@ -72,21 +60,19 @@ * @brief Sets the argument for the specified index. * * @param buffer The buffer in which the argument is stored * @param index The index of the argument to set */ -- (void)setArgument: (const void *)buffer - atIndex: (size_t)index; +- (void)setArgument: (const void *)buffer atIndex: (size_t)index; /** * @brief Gets the argument for the specified index. * * @param buffer The buffer in which the argument is stored * @param index The index of the argument to get */ -- (void)getArgument: (void *)buffer - atIndex: (size_t)index; +- (void)getArgument: (void *)buffer atIndex: (size_t)index; /** * @brief Sets the return value. * * @param buffer The buffer in which the return value is stored @@ -97,15 +83,8 @@ * @brief Gets the return value. * * @param buffer The buffer in which the return value is stored */ - (void)getReturnValue: (void *)buffer; - -#ifdef OF_INVOCATION_CAN_INVOKE -/** - * @brief Invokes the method. - */ -- (void)invoke; -#endif @end OF_ASSUME_NONNULL_END