summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 12:36:55 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 12:36:55 +0100
commit6461ee6b81416f079125de5d428014686b792982 (patch)
tree64c0a9fb9ed6aaf819d59eddc4221493dd1e02c5
parent11c857700e03ec0b758f729731784d0f46a6d55e (diff)
Objective-C layer: Fix use of the new closure API.
darcs-hash:a8354b3de0699ed2208da3663c2f577589d2c518
-rw-r--r--Objective-C/libobjcl.m2
1 files changed, 1 insertions, 1 deletions
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;
}