In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / libobjc / objc / deprecated / struct_objc_method.h
blob10a3b3bf7fc2b1aac969b5c97610e0fe9f50c998
1 /*
2 ** The compiler generates one (or more) of these structures for a class that
3 ** has methods defined in its specification.
4 **
5 ** The implementation of a class can be broken into separate pieces in a file
6 ** and categories can break them across modules. To handle this problem is a
7 ** singly linked list of methods.
8 */
9 typedef struct objc_method {
10 SEL method_name; /* This variable is the method's
11 name. It is a char*.
12 The unique integer passed to
13 objc_msg_send is a char* too.
14 It is compared against
15 method_name using strcmp. */
16 const char* method_types; /* Description of the method's
17 parameter list. Useful for
18 debuggers. */
19 IMP method_imp; /* Address of the method in the
20 executable. */
21 } Method, *Method_t;