ext/cairo/rb_cairo_glyph.c in cairo-1.17.7 vs ext/cairo/rb_cairo_glyph.c in cairo-1.17.8
- old
+ new
@@ -75,10 +75,10 @@
glyph = ALLOC (cairo_glyph_t);
glyph->index = NUM2ULONG (index);
glyph->x = NUM2DBL (x);
glyph->y = NUM2DBL (y);
- DATA_PTR (self) = glyph;
+ RTYPEDDATA_DATA (self) = glyph;
return Qnil;
}
static VALUE
cr_glyph_index (VALUE self)