2005-08-03 23:56:28 -04:00
|
|
|
typedef struct {
|
|
|
|
CELL header;
|
|
|
|
CELL object;
|
|
|
|
} F_WRAPPER;
|
|
|
|
|
2006-05-18 01:08:09 -04:00
|
|
|
INLINE F_WRAPPER *untag_wrapper_fast(CELL tagged)
|
2005-08-03 23:56:28 -04:00
|
|
|
{
|
|
|
|
return (F_WRAPPER*)UNTAG(tagged);
|
|
|
|
}
|
|
|
|
|
2006-05-18 01:08:09 -04:00
|
|
|
INLINE CELL tag_wrapper(F_WRAPPER *wrapper)
|
|
|
|
{
|
|
|
|
return RETAG(wrapper,WRAPPER_TYPE);
|
|
|
|
}
|
|
|
|
|
2005-08-03 23:56:28 -04:00
|
|
|
void primitive_wrapper(void);
|
2006-05-18 01:08:09 -04:00
|
|
|
void fixup_wrapper(F_WRAPPER *wrapper);
|
|
|
|
void collect_wrapper(F_WRAPPER *wrapper);
|