typedef struct hg3dclass_struct { void *ptr; void *fptr; } hg3dclass_struct;