From 619b17ce5eb96b3cfd5f2d94174270a31e46871c Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Tue, 19 Feb 2008 12:54:49 +0100 Subject: Reimplement slot reading. darcs-hash:bdef9c8f4c3fb2121456295da23fbe679265a15b --- Objective-C/libobjcl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Objective-C/libobjcl.h') diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h index e7194a5..c2e2fac 100644 --- a/Objective-C/libobjcl.h +++ b/Objective-C/libobjcl.h @@ -153,6 +153,12 @@ objcl_set_slot_value (id obj, const char *ivar_name, void *value); void objcl_get_slot_value (id obj, const char *ivar_name, void *value_out); +void * +objcl_get_slot (Class class, const char *ivar_name); + +long /* actually ptrdiff_t */ +objcl_get_slot_offset (void *slot); + /* The following function returns a freshly consed array that the caller must deallocate. */ IVAR_T * -- cgit v1.2.3