]> git.saurik.com Git - cycript.git/blobdiff - Replace.hpp
Half fixed (at least it doesn't throw an exception anymore) NSDictionaries that have...
[cycript.git] / Replace.hpp
index c62a232cc7121baedccf01523545a34726915e9f..5bffa07152d30db3ae4673e01d7319301eb295f3 100644 (file)
@@ -1,4 +1,4 @@
-/* Cycript - Remote Execution Server and Disassembler
+/* Cycript - Error.hppution Server and Disassembler
  * Copyright (C) 2009  Jay Freeman (saurik)
 */
 
@@ -59,6 +59,8 @@
     ($ CYFunctionParameter(args))
 #define $S(args...) \
     ($ CYString(args))
+#define $U \
+    $V("undefined")
 #define $V(name) \
     ($ CYVariable($I(name)))
 
 #define $N5(func, args...) \
     $N(func, $C5_(args))
 
+#define $L(args...) \
+    $ CYDeclaration(args)
+#define $L1(arg0) \
+    $ CYDeclarations(arg0)
+#define $L2(arg0, args...) \
+    $ CYDeclarations(arg0, $L1(args))
+#define $L3(arg0, args...) \
+    $ CYDeclarations(arg0, $L2(args))
+#define $L4(arg0, args...) \
+    $ CYDeclarations(arg0, $L3(args))
+#define $L5(arg0, args...) \
+    $ CYDeclarations(arg0, $L4(args))
+
 #endif/*REPLACE_HPP*/