summaryrefslogtreecommitdiff
path: root/Objective-C/objc-runtime-apple.m
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-09-15 16:57:05 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-09-15 16:57:05 +0200
commit7ea325733688c78da09d5e0e276803a9f6b3e63d (patch)
tree2fc1e549dad06e71a234c27465d3ce2cf60536d2 /Objective-C/objc-runtime-apple.m
parent585f55e70e44cccb0807c2bc2d1f0904c8fbc5e1 (diff)
Make the libffi support code from PyObjC compilable stand-alone.
darcs-hash:f691f757ec2c57915f7b653118183759d8ac590a
Diffstat (limited to 'Objective-C/objc-runtime-apple.m')
-rw-r--r--Objective-C/objc-runtime-apple.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objective-C/objc-runtime-apple.m b/Objective-C/objc-runtime-apple.m
index 2af9b43..b2888ac 100644
--- a/Objective-C/objc-runtime-apple.m
+++ b/Objective-C/objc-runtime-apple.m
@@ -19,9 +19,6 @@ int PyObjCRT_SetupClass(
)
{
- /* Preallocate en exception to throw when memory is all used up. */
- static oom_exception = [NSException exceptionWithName: "MLKOutOfMemoryException"]
-
/* Initialize the structure */
memset(cls, 0, sizeof(*cls));
memset(metaCls, 0, sizeof(*cls));