Very old versions for history.
[opsoft_archive.git] / silentbob / silentbob-1.1 / src / wit.h
blob1546893e8429e37b594bb1f876ee637504ace7bc
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
4 *
5 */
7 #ifndef DEFINE_WIT_H
8 #define DEFINE_WIT_H
10 #define GLOBAL_TYPE_VARIABLE (1<<0)
11 #define GLOBAL_TYPE_TYPEDEF (1<<1)
12 #define GLOBAL_TYPE_EXTERN (1<<2)
13 #define GLOBAL_TYPE_FUNCTION (1<<3)
14 #define GLOBAL_TYPE_STRUCT (1<<4)
16 // defenitions
17 #define OP_TYPE_VARIABLE GLOBAL_TYPE_VARIABLE
18 #define OP_TYPE_TYPEDEF GLOBAL_TYPE_TYPEDEF
19 #define OP_TYPE_EXTERN GLOBAL_TYPE_EXTERN
20 #define OP_TYPE_FUNCTION GLOBAL_TYPE_FUNCTION
21 #define OP_TYPE_STRUCT GLOBAL_TYPE_STRUCT
22 #define OP_TYPE_MACRO (1<<5)
23 // others
24 #define OP_TYPE_OP (1<<6)
25 #define OP_TYPE_CALL (1<<7)
26 #define OP_TYPE_DEFINE (1<<8)
27 #define OP_TYPE_NOP (1<<9)
28 #define OP_TYPE_OTHER (1<<31)
29 #define GLOBAL_TYPE_DEFINE OP_TYPE_DEFINE
31 #define GLOBAL_TYPE_CLASS (1<<10)
32 #define OP_TYPE_CLASS GLOBAL_TYPE_CLASS
33 #define GLOBAL_TYPE_NAMESPACE (1<<11)
34 #define OP_TYPE_NAMESPACE GLOBAL_TYPE_NAMESPACE
36 #endif