X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/4644480a22eda2f7350a8997bb2109f325b576fe..0226d428e0b3b0913a0c067f86cbf90339cd4c92:/Replace.hpp diff --git a/Replace.hpp b/Replace.hpp index c62a232..5bffa07 100644 --- a/Replace.hpp +++ b/Replace.hpp @@ -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))) @@ -127,4 +129,17 @@ #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*/