summaryrefslogtreecommitdiff
path: root/Objective-C/libobjcl.h
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-02-20 12:30:37 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-02-20 12:30:37 +0100
commita28a7dbb793b69dc8a174bc124d16fc3532c388f (patch)
tree227854e211fbb5f1b40ebf7ebb427a41505e2057 /Objective-C/libobjcl.h
parent9140c528f4036484a8f0473190aaaddbe3c2b5d7 (diff)
Objective-C layer: Add objcl_for_each_class_do.
darcs-hash:4314d5bd41bf313fc50049b5e839aa09e5d94d19
Diffstat (limited to 'Objective-C/libobjcl.h')
-rw-r--r--Objective-C/libobjcl.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h
index b3e1a3a..c9b7345 100644
--- a/Objective-C/libobjcl.h
+++ b/Objective-C/libobjcl.h
@@ -88,11 +88,12 @@ objcl_find_selector (const char *selector_name);
SEL
objcl_intern_selector (const char *selector_name);
-/* Return a null-terminated list of type information strings.
- The first entry describes the type of the method's return value. */
+/* Return a freshly consed null-terminated list of type information
+ strings. The first entry describes the type of the method's return
+ value. */
char **
objcl_query_arglist_info (void *receiver,
- const char *method_name);
+ SEL method_name);
const char *
@@ -217,3 +218,6 @@ objcl_class_set_backed_by_lisp_class (Class class, int backed_p);
int
objcl_object_backed_by_lisp_class_p (id object);
+
+int
+objcl_for_each_class_do (void (*function) (Class));