Very old versions for history.
[opsoft_archive.git] / silentbob / silent_bob-1.2 / src / sblib / wit.h
blob9d0a068365ce778afa736352bfe679e26576574a
1 #ifndef DEFINE_WIT_H
2 #define DEFINE_WIT_H
4 #define GLOBAL_TYPE_VARIABLE (1<<0)
5 #define GLOBAL_TYPE_TYPEDEF (1<<1)
6 #define GLOBAL_TYPE_EXTERN (1<<2)
7 #define GLOBAL_TYPE_FUNCTION (1<<3)
8 #define GLOBAL_TYPE_STRUCT (1<<4)
10 // defenitions
11 #define OP_TYPE_VARIABLE GLOBAL_TYPE_VARIABLE
12 #define OP_TYPE_TYPEDEF GLOBAL_TYPE_TYPEDEF
13 #define OP_TYPE_EXTERN GLOBAL_TYPE_EXTERN
14 #define OP_TYPE_FUNCTION GLOBAL_TYPE_FUNCTION
15 #define OP_TYPE_STRUCT GLOBAL_TYPE_STRUCT
16 #define OP_TYPE_MACRO (1<<5)
17 // others
18 #define OP_TYPE_OP (1<<6)
19 #define OP_TYPE_CALL (1<<7)
20 #define OP_TYPE_DEFINE (1<<8)
21 #define OP_TYPE_NOP (1<<9)
22 #define OP_TYPE_OTHER (1<<31)
23 #define GLOBAL_TYPE_DEFINE OP_TYPE_DEFINE
25 #define GLOBAL_TYPE_CLASS (1<<10)
26 #define OP_TYPE_CLASS GLOBAL_TYPE_CLASS
27 #define GLOBAL_TYPE_NAMESPACE (1<<11)
28 #define OP_TYPE_NAMESPACE GLOBAL_TYPE_NAMESPACE
30 #endif