Home | History | Annotate | Download | only in libobjc

Lines Matching refs:method

1 /* GNU Objective C Runtime method related functions.
33 method_getName (struct objc_method * method)
35 if (method == NULL)
38 return method->method_name;
42 method_getTypeEncoding (struct objc_method * method)
44 if (method == NULL)
47 return method->method_types;
51 method_getImplementation (struct objc_method * method)
53 if (method == NULL)
56 return method->method_imp;
60 method_getDescription (struct objc_method * method)
62 /* Note that the following returns NULL if method is NULL, which is
64 return (struct objc_method_description *)method;
129 method_setImplementation (struct objc_method * method, IMP implementation)
133 if (method == NULL || implementation == NULL)
137 same method won't conflict with each other. */
140 old_implementation = method->method_imp;
141 method->method_imp = implementation;
144 this method, and update the IMP in the dispatch tables. */
145 __objc_update_classes_with_methods (method, NULL);