]> git.saurik.com Git - cycript.git/commitdiff
Move FunctionInstance_ into alphabetical order.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 14 Sep 2012 14:14:57 +0000 (07:14 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 14 Sep 2012 14:18:33 +0000 (07:18 -0700)
ObjectiveC/Library.mm

index 74441590be19855005b9b4db4185683416a47cee..3976d54b1ca4059f2e82b835c5ed1a32401d7ac2 100644 (file)
@@ -2543,6 +2543,9 @@ void CYObjectiveC_Initialize() { /*XXX*/ JSContextRef context(NULL); CYPoolTry {
     definition.className = "ArrayInstance";
     ArrayInstance_ = JSClassCreate(&definition);
 
     definition.className = "ArrayInstance";
     ArrayInstance_ = JSClassCreate(&definition);
 
+    definition.className = "FunctionInstance";
+    FunctionInstance_ = JSClassCreate(&definition);
+
     definition.className = "ObjectInstance";
     ObjectInstance_ = JSClassCreate(&definition);
 
     definition.className = "ObjectInstance";
     ObjectInstance_ = JSClassCreate(&definition);
 
@@ -2552,9 +2555,6 @@ void CYObjectiveC_Initialize() { /*XXX*/ JSContextRef context(NULL); CYPoolTry {
     definition.className = "TypeInstance";
     TypeInstance_ = JSClassCreate(&definition);
 
     definition.className = "TypeInstance";
     TypeInstance_ = JSClassCreate(&definition);
 
-    definition.className = "FunctionInstance";
-    FunctionInstance_ = JSClassCreate(&definition);
-
     definition = kJSClassDefinitionEmpty;
     definition.className = "Internal";
     definition.staticFunctions = Internal_staticFunctions;
     definition = kJSClassDefinitionEmpty;
     definition.className = "Internal";
     definition.staticFunctions = Internal_staticFunctions;