Class: XCB::SetupFailed
- Inherits:
-
Object
- Object
- XCB::SetupFailed
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
- #length ⇒ Object
- #protocol_major_version ⇒ Object
- #protocol_minor_version ⇒ Object
- #reason ⇒ Object
- #reason_len ⇒ Object
- #status ⇒ Object
Instance Method Details
#length ⇒ Object
450 451 452 453 454 455 456 |
# File 'ext/xproto.c', line 450
static VALUE
r_XCB_SetupFailed_get_length(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
return INT2FIX(setup_failed->length);
}
|
#protocol_major_version ⇒ Object
436 437 438 439 440 441 442 |
# File 'ext/xproto.c', line 436
static VALUE
r_XCB_SetupFailed_get_protocol_major_version(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
return INT2FIX(setup_failed->protocol_major_version);
}
|
#protocol_minor_version ⇒ Object
443 444 445 446 447 448 449 |
# File 'ext/xproto.c', line 443
static VALUE
r_XCB_SetupFailed_get_protocol_minor_version(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
return INT2FIX(setup_failed->protocol_minor_version);
}
|
#reason ⇒ Object
457 458 459 460 461 462 463 464 465 |
# File 'ext/xproto.c', line 457
static VALUE
r_XCB_SetupFailed_get_reason(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
int __reason_len = xcb_setup_failed_reason_length(setup_failed);
char *__reason = xcb_setup_failed_reason(setup_failed);
return rb_str_new(__reason, __reason_len);
}
|
#reason_len ⇒ Object
429 430 431 432 433 434 435 |
# File 'ext/xproto.c', line 429
static VALUE
r_XCB_SetupFailed_get_reason_len(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
return INT2FIX(setup_failed->reason_len);
}
|
#status ⇒ Object
422 423 424 425 426 427 428 |
# File 'ext/xproto.c', line 422
static VALUE
r_XCB_SetupFailed_get_status(VALUE r_self)
{
xcb_setup_failed_t *setup_failed;
Data_Get_Struct(r_self, xcb_setup_failed_t, setup_failed);
return INT2FIX(setup_failed->status);
}
|