19 lines
591 B
C
19 lines
591 B
C
#include <fx/pointer.h>
|
|
#include <fx/value-type.h>
|
|
|
|
/*** CLASS DEFINITION *********************************************************/
|
|
|
|
FX_TYPE_CLASS_BEGIN(fx_pointer)
|
|
FX_TYPE_VTABLE_INTERFACE_BEGIN(fx_object, FX_TYPE_OBJECT)
|
|
FX_INTERFACE_ENTRY(to_string) = NULL;
|
|
FX_TYPE_VTABLE_INTERFACE_END(fx_object, FX_TYPE_OBJECT)
|
|
FX_TYPE_CLASS_END(fx_pointer)
|
|
|
|
FX_TYPE_DEFINITION_BEGIN(fx_pointer)
|
|
__FX_VALUE_TYPE_ID(POINTER);
|
|
FX_TYPE_EXTENDS(FX_TYPE_VALUE_TYPE);
|
|
FX_TYPE_NAME("fx.pointer");
|
|
FX_TYPE_CLASS(fx_pointer_class);
|
|
FX_TYPE_INSTANCE_PRIVATE(void *);
|
|
FX_TYPE_DEFINITION_END(fx_pointer)
|