13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
* file.
*/
#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;
/**
* @class OFInvocation OFInvocation.h ObjFW/OFInvocation.h
*
|
<
<
<
<
<
<
<
<
<
<
<
<
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
* file.
*/
#import "OFObject.h"
OF_ASSUME_NONNULL_BEGIN
@class OFMethodSignature;
@class OFMutableArray OF_GENERIC(ObjectType);
@class OFMutableData;
/**
* @class OFInvocation OFInvocation.h ObjFW/OFInvocation.h
*
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
/**
* @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;
/**
* @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;
/**
* @brief Sets the return value.
*
* @param buffer The buffer in which the return value is stored
*/
- (void)setReturnValue: (const void *)buffer;
/**
* @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
|
|
<
|
<
<
<
<
<
<
<
<
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
/**
* @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;
/**
* @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;
/**
* @brief Sets the return value.
*
* @param buffer The buffer in which the return value is stored
*/
- (void)setReturnValue: (const void *)buffer;
/**
* @brief Gets the return value.
*
* @param buffer The buffer in which the return value is stored
*/
- (void)getReturnValue: (void *)buffer;
@end
OF_ASSUME_NONNULL_END
|