Class: XCB::GetAtomNameReply
- Inherits:
-
Object
- Object
- XCB::GetAtomNameReply
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'ext/xproto.c', line 3278
static VALUE
r_XCB_GetAtomNameReply_get_name(VALUE r_self)
{
xcb_get_atom_name_reply_t *reply;
Data_Get_Struct(r_self, xcb_get_atom_name_reply_t, reply);
int __name_len = xcb_get_atom_name_name_length(reply);
char *__name = xcb_get_atom_name_name(reply);
return rb_str_new(__name, __name_len);
}
|
#name_len ⇒ Object
3271 3272 3273 3274 3275 3276 3277 |
# File 'ext/xproto.c', line 3271
static VALUE
r_XCB_GetAtomNameReply_get_name_len(VALUE r_self)
{
xcb_get_atom_name_reply_t *reply;
Data_Get_Struct(r_self, xcb_get_atom_name_reply_t, reply);
return INT2FIX(reply->name_len);
}
|