Class: XCB::QueryKeymapReply
- Inherits:
-
Object
- Object
- XCB::QueryKeymapReply
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#keys ⇒ Object
3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 |
# File 'ext/xproto.c', line 3521 static VALUE r_XCB_QueryKeymapReply_get_keys(VALUE r_self) { xcb_query_keymap_reply_t *reply; Data_Get_Struct(r_self, xcb_query_keymap_reply_t, reply); int __keys_len = 32; uint8_t *__keys = reply->keys; VALUE r_keys = rb_ary_new2(__keys_len); int i; for (i = 0; i < __keys_len; i += 1) rb_ary_store(r_keys, i, INT2FIX(__keys[i])); return r_keys; } |