From 812ce570c5712dcf0006a1bbd88c026b6953d4e0 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Tue, 18 Sep 2007 02:35:51 +0200 Subject: INVOKE-WITH-CONVERSION: Support arrays, structs, and unions, and convert Lisp objects into Objective-C instances automatically. darcs-hash:decc92c91c315c1e347b9f5327bfb6e21ccca9a8 --- Objective-C/libobjcl.h | 3 +++ Objective-C/libobjcl.m | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'Objective-C') 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; +} -- cgit v1.2.3