]> git.saurik.com Git - cycript.git/blame - Standard.hpp
Completed massive refactoring operation to completely isolate Objective-C.
[cycript.git] / Standard.hpp
CommitLineData
37954781
JF
1#ifndef CYCRIPT_STANDARD_HPP
2#define CYCRIPT_STANDARD_HPP
3
4#define _not(type) \
5 ((type) ~ (type) 0)
6
7#define _finline \
8 inline __attribute__((__always_inline__))
9#define _disused \
10 __attribute__((__unused__))
11
12#define _label__(x) _label ## x
13#define _label_(y) _label__(y)
14#define _label _label_(__LINE__)
15
16#define _packed \
17 __attribute__((__packed__))
18#define _noreturn \
19 __attribute__((__noreturn__))
20
21#endif/*CYCRIPT_STANDARD_HPP*/