From 7cea2578637b823e93798e308ab0811c7fd7b7a4 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Mon, 28 Jan 2008 19:17:00 +0100 Subject: Directory layout: Put code imported from PyObjC into its own directory. darcs-hash:e3dd1138105e4eece0fbcbc13365eb3a25ffb808 --- Objective-C/pyobjc.h | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 Objective-C/pyobjc.h (limited to 'Objective-C/pyobjc.h') diff --git a/Objective-C/pyobjc.h b/Objective-C/pyobjc.h deleted file mode 100644 index 6a2d6b4..0000000 --- a/Objective-C/pyobjc.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright 2007, Matthias Andreas Benkard. */ - -#ifndef __pyobjc_H -#define __pyobjc_H - -#include -#include -#include "libobjcl.h" - - -#ifdef __NEXT_RUNTIME__ - -#ifndef APPLE_RUNTIME -#define APPLE_RUNTIME -#endif - -#import - -#else /* !__NEXT_RUNTIME__ */ - -#ifndef GNU_RUNTIME -#define GNU_RUNTIME -#endif - -#import -#ifndef __CXX__ -#define bool BOOL -#endif - -#endif /* __NEXT_RUNTIME__ */ - - -#define PyMem_Free free -#define PyMem_Malloc malloc -#define Py_ssize_t ssize_t - -#ifdef OOM_KILL -#define PyErr_NoMemory() [objcl_oom_exception raise] -#else -#define PyErr_NoMemory() NSLog (@"ERROR: Memory exhausted."); -#endif - -#include "objc_support.h" -#include "libffi_support.h" - -#endif /* __pyobjc_H */ -- cgit v1.2.3