Bindings: Remove 'wrapNilProperty'
It's completely useless lol.
This commit is contained in:
parent
f8c26fc515
commit
0131ed09f0
9 changed files with 0 additions and 24 deletions
|
@ -160,12 +160,6 @@ wrapProperty(VALUE self, void *prop, const char *iv,
|
|||
return propObj;
|
||||
}
|
||||
|
||||
inline void
|
||||
wrapNilProperty(VALUE self, const char *iv)
|
||||
{
|
||||
rb_iv_set(self, iv, Qnil);
|
||||
}
|
||||
|
||||
/* Implemented: oSszfibn| */
|
||||
int
|
||||
rb_get_args(int argc, VALUE *argv, const char *format, ...);
|
||||
|
|
|
@ -35,7 +35,6 @@ RB_METHOD(planeInitialize)
|
|||
|
||||
p->initDynAttribs();
|
||||
|
||||
wrapNilProperty(self, "bitmap");
|
||||
wrapProperty(self, p->getColor(), "color", ColorType);
|
||||
wrapProperty(self, p->getTone(), "tone", ToneType);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ RB_METHOD(spriteInitialize)
|
|||
/* Wrap property objects */
|
||||
s->initDynAttribs();
|
||||
|
||||
wrapNilProperty(self, "bitmap");
|
||||
wrapProperty(self, s->getSrcRect(), "src_rect", RectType);
|
||||
wrapProperty(self, s->getColor(), "color", ColorType);
|
||||
wrapProperty(self, s->getTone(), "tone", ToneType);
|
||||
|
|
|
@ -34,8 +34,6 @@ RB_METHOD(windowInitialize)
|
|||
|
||||
w->initDynAttribs();
|
||||
|
||||
wrapNilProperty(self, "windowskin");
|
||||
wrapNilProperty(self, "contents");
|
||||
wrapProperty(self, w->getCursorRect(), "cursor_rect", RectType);
|
||||
|
||||
return self;
|
||||
|
|
|
@ -53,7 +53,6 @@ RB_METHOD(windowVXInitialize)
|
|||
|
||||
w->initDynAttribs();
|
||||
|
||||
wrapNilProperty(self, "windowskin");
|
||||
wrapProperty(self, w->getTone(), "tone", ToneType);
|
||||
wrapProperty(self, w->getCursorRect(), "cursor_rect", RectType);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue