diff options
author | Jay Freeman <saurik@saurik.com> | 2008-08-26 11:06:01 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-08-26 11:06:01 +0000 |
commit | 0ad3b4416fe53cce9d121f1a676ac602e11d5cea (patch) | |
tree | 3233b06c6125bdd8b3825539cd74aa8c63a44c09 /data/jocstrap/closures.diff | |
parent | d54d3f008dd80b94abbfebc8b3e87ebf8430f873 (diff) |
Checkpoint of a recent iPhone/Java release.
git-svn-id: http://svn.telesphoreo.org/trunk@456 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/jocstrap/closures.diff')
-rw-r--r-- | data/jocstrap/closures.diff | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/data/jocstrap/closures.diff b/data/jocstrap/closures.diff index fdba6d14c..ddcdc3880 100644 --- a/data/jocstrap/closures.diff +++ b/data/jocstrap/closures.diff @@ -1,15 +1,12 @@ diff -ru jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m --- jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m 2008-07-14 02:07:50.000000000 +0000 +++ jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m 2008-07-14 04:36:25.000000000 +0000 -@@ -242,7 +242,11 @@ +@@ -242,7 +242,7 @@ @throw joc_FromObject(env, error); } -+#ifdef __OBJC2__ - #define UseClosures false -+#else +-#define UseClosures false +#define UseClosures true -+#endif void ejprint(JNIEnv *env, jstring jvalue) { const char *cvalue = (*(*env)->GetStringUTFChars)(env, jvalue, NULL); |