aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/deprecated/struct_objc_selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/objc/deprecated/struct_objc_selector.h')
-rw-r--r--libobjc/objc/deprecated/struct_objc_selector.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/libobjc/objc/deprecated/struct_objc_selector.h b/libobjc/objc/deprecated/struct_objc_selector.h
deleted file mode 100644
index 34aaf0d8b4e..00000000000
--- a/libobjc/objc/deprecated/struct_objc_selector.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* This struct used to be public, but is now private to the runtime. */
-
-/*
-** Definition of a selector. Selectors themselves are not unique, but
-** the sel_id is a unique identifier.
-*/
-struct objc_selector
-{
- void *sel_id;
- const char *sel_types;
-};
-
-inline static BOOL
-sel_eq (SEL s1, SEL s2)
-{
- if (s1 == 0 || s2 == 0)
- return s1 == s2;
- else
- return s1->sel_id == s2->sel_id;
-}