Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum vartype_t
- {
- VT_UNK = 0,
- VT_INT = 1,
- VT_INT64 = 2,
- VT_UINT = 3,
- VT_UINT64 = 4,
- VT_DOUBLE = 5,
- VT_STRING = 6,
- VT_LAST = 7
- };
- union var_union_t
- {
- int i;
- __int64 i64;
- unsigned int ui;
- unsigned __int64 ui64;
- double d;
- };
- #pragma pack(push, 1)
- struct variable_t
- {
- char *sval;
- char dirty;
- union var_union_t vu;
- vartype_t type;
- };
- #pragma pack(pop)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement