5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
|
# File 'ext/xproto.c', line 5741
static VALUE
r_XCB_Connection_poly_text_8(VALUE r_self, VALUE r_drawable, VALUE r_gc, VALUE r_x, VALUE r_y, VALUE r_items)
{
xcb_connection_t *connection;
Data_Get_Struct(r_self, xcb_connection_t, connection);
uint32_t __drawable = FIX2INT(r_drawable);
uint32_t __gc = FIX2INT(r_gc);
uint16_t __x = FIX2INT(r_x);
uint16_t __y = FIX2INT(r_y);
Check_Type(r_items, T_ARRAY);
int __items_len = RARRAY_LEN(r_items);
uint8_t __items[__items_len];
int i;
for (i = 0; i < __items_len; i += 1)
__items[i] = FIX2INT(rb_ary_entry(r_items, i));
xcb_poly_text_8(connection, __drawable, __gc, __x, __y, __items_len, __items);
return Qnil;
}
|