From 6461ee6b81416f079125de5d428014686b792982 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Tue, 4 Mar 2008 12:36:55 +0100 Subject: Objective-C layer: Fix use of the new closure API. darcs-hash:a8354b3de0699ed2208da3663c2f577589d2c518 --- Objective-C/libobjcl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objective-C') diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index 6cc8dad..85fc492 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -746,7 +746,7 @@ objcl_create_imp (IMP callback, } TRACE (@"create-imp: Closure created."); - return (IMP) closure; + return (IMP) code; } -- cgit v1.2.3