Class: XCB::ListPropertiesReply
- Inherits:
-
Object
- Object
- XCB::ListPropertiesReply
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#atoms ⇒ Object
3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 |
# File 'ext/xproto.c', line 3364
static VALUE
r_XCB_ListPropertiesReply_get_atoms(VALUE r_self)
{
xcb_list_properties_reply_t *reply;
Data_Get_Struct(r_self, xcb_list_properties_reply_t, reply);
int __atoms_len = xcb_list_properties_atoms_length(reply);
uint32_t *__atoms = xcb_list_properties_atoms(reply);
VALUE r_atoms = rb_ary_new2(__atoms_len);
int i;
for (i = 0; i < __atoms_len; i += 1)
rb_ary_store(r_atoms, i, INT2FIX(__atoms[i]));
return r_atoms;
}
|
#atoms_len ⇒ Object
3357 3358 3359 3360 3361 3362 3363 |
# File 'ext/xproto.c', line 3357
static VALUE
r_XCB_ListPropertiesReply_get_atoms_len(VALUE r_self)
{
xcb_list_properties_reply_t *reply;
Data_Get_Struct(r_self, xcb_list_properties_reply_t, reply);
return INT2FIX(reply->atoms_len);
}
|