diff options
Diffstat (limited to 'Objective-C')
-rw-r--r-- | Objective-C/libobjcl.h | 6 | ||||
-rw-r--r-- | Objective-C/libobjcl.m | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h index c8c6766..26dca23 100644 --- a/Objective-C/libobjcl.h +++ b/Objective-C/libobjcl.h @@ -187,3 +187,9 @@ objcl_add_method (Class class, void objcl_finalise_class (Class class); + +int +objcl_class_backed_by_lisp_class_p (Class class); + +void +objcl_class_set_backed_by_lisp_class (Class class, int backed_p); diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index e7d8148..141c069 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -783,3 +783,17 @@ objcl_finalise_class (Class class) [method_list_lengths removeObjectForKey: class_name]; #endif } + + +int +objcl_class_backed_by_lisp_class_p (Class class) +{ + return [class __objcl_isBackedByLispClass]; +} + + +void +objcl_class_set_backed_by_lisp_class (Class class, int backed_p) +{ + [class __objcl_setBackedByLispClass: backed_p]; +} |