get rid of INIT_TYPE() / initType()
A function to initialize rb_data_type_t variables is not needed. Also fix a FIXME (WindowVX's name is now "Window") on the way.
This commit is contained in:
parent
0203e28436
commit
173ee07959
14 changed files with 35 additions and 62 deletions
|
@ -169,7 +169,6 @@ INITCOPY_FUN(Rect)
|
|||
|
||||
#define INIT_BIND(Klass) \
|
||||
{ \
|
||||
INIT_TYPE(Klass); \
|
||||
klass = rb_define_class(#Klass, rb_cObject); \
|
||||
rb_define_alloc_func(klass, classAllocate<&Klass##Type>); \
|
||||
rb_define_class_method(klass, "_load", Klass##Load); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue