Class: XCB::SetupAuthenticate

Inherits:
Object
  • Object
show all
Defined in:
ext/xproto.c

Instance Method Summary collapse

Instance Method Details

#lengthObject



473
474
475
476
477
478
479
# File 'ext/xproto.c', line 473

static VALUE
r_XCB_SetupAuthenticate_get_length(VALUE r_self)
{
  xcb_setup_authenticate_t *setup_authenticate;
  Data_Get_Struct(r_self, xcb_setup_authenticate_t, setup_authenticate);
  return INT2FIX(setup_authenticate->length);
}

#reasonObject



480
481
482
483
484
485
486
487
488
# File 'ext/xproto.c', line 480

static VALUE
r_XCB_SetupAuthenticate_get_reason(VALUE r_self)
{
  xcb_setup_authenticate_t *setup_authenticate;
  Data_Get_Struct(r_self, xcb_setup_authenticate_t, setup_authenticate);
  int __reason_len = xcb_setup_authenticate_reason_length(setup_authenticate);
  char *__reason = xcb_setup_authenticate_reason(setup_authenticate);
  return rb_str_new(__reason, __reason_len);
}

#statusObject



466
467
468
469
470
471
472
# File 'ext/xproto.c', line 466

static VALUE
r_XCB_SetupAuthenticate_get_status(VALUE r_self)
{
  xcb_setup_authenticate_t *setup_authenticate;
  Data_Get_Struct(r_self, xcb_setup_authenticate_t, setup_authenticate);
  return INT2FIX(setup_authenticate->status);
}