Removed the notion of a "large" context. For simplicity, all contexts
[panda.git] / src / st-handle.h
blob00c7ff470cb3ca5e585d67c1fbac1e3d6dfdf26d
3 #ifndef __ST_HANDLE_H__
4 #define __ST_HANDLE_H__
6 #include <st-types.h>
8 struct st_handle
10 struct st_header header;
12 uintptr_t value;
15 #define ST_HANDLE(oop) ((struct st_handle *) st_detag_pointer (oop))
16 #define ST_HANDLE_VALUE(oop) (ST_HANDLE (oop)->value)
18 st_oop st_handle_allocate (st_oop class);
20 #endif /* __ST_HANDLE_H__ */