diff options
Diffstat (limited to 'Objective-C')
-rw-r--r-- | Objective-C/libobjcl.h | 3 | ||||
-rw-r--r-- | Objective-C/libobjcl.m | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h index 27ffd01..9c673f7 100644 --- a/Objective-C/libobjcl.h +++ b/Objective-C/libobjcl.h @@ -91,3 +91,6 @@ objcl_object_get_class (id obj); Class objcl_object_get_meta_class (id obj); + +id +objcl_get_nil (void); diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index bc89a32..1a17a44 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -502,3 +502,10 @@ objcl_object_get_meta_class (id obj) return object_get_meta_class (obj); #endif } + + +id +objcl_get_nil (void) +{ + return nil; +} |