2011-02-22 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / libobjc / objc / deprecated / struct_objc_selector.h
blob34aaf0d8b4ed614287d5bbdc7249856f0a659a08
1 /* This struct used to be public, but is now private to the runtime. */
3 /*
4 ** Definition of a selector. Selectors themselves are not unique, but
5 ** the sel_id is a unique identifier.
6 */
7 struct objc_selector
9 void *sel_id;
10 const char *sel_types;
13 inline static BOOL
14 sel_eq (SEL s1, SEL s2)
16 if (s1 == 0 || s2 == 0)
17 return s1 == s2;
18 else
19 return s1->sel_id == s2->sel_id;