diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-18 02:35:51 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-18 02:35:51 +0200 |
commit | 812ce570c5712dcf0006a1bbd88c026b6953d4e0 (patch) | |
tree | 732c276f9f8271f3bf1921da008179afde134d61 /Objective-C | |
parent | c93a74f1befea75be769fb47968e67568139954d (diff) |
INVOKE-WITH-CONVERSION: Support arrays, structs, and unions, and convert Lisp objects into Objective-C instances automatically.
darcs-hash:decc92c91c315c1e347b9f5327bfb6e21ccca9a8
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; +} |