Class: Notcurses::Ncstats
- Inherits:
-
Object
- Object
- Notcurses::Ncstats
- Defined in:
- ext/notcurses/src/notcurses_wrap.c,
ext/notcurses/src/notcurses_wrap.c
Overview
Proxy of C Notcurses::Ncstats struct
Instance Method Summary collapse
-
#appsync_updates(*args) ⇒ Object
call-seq: appsync_updates -> uint64_t.
-
#appsync_updates=(*args) ⇒ Object
call-seq: appsync_updates=(x) -> uint64_t.
-
#bgelisions(*args) ⇒ Object
call-seq: bgelisions -> uint64_t.
-
#bgelisions=(*args) ⇒ Object
call-seq: bgelisions=(x) -> uint64_t.
-
#bgemissions(*args) ⇒ Object
call-seq: bgemissions -> uint64_t.
-
#bgemissions=(*args) ⇒ Object
call-seq: bgemissions=(x) -> uint64_t.
-
#cell_geo_changes(*args) ⇒ Object
call-seq: cell_geo_changes -> uint64_t.
-
#cell_geo_changes=(*args) ⇒ Object
call-seq: cell_geo_changes=(x) -> uint64_t.
-
#cellelisions(*args) ⇒ Object
call-seq: cellelisions -> uint64_t.
-
#cellelisions=(*args) ⇒ Object
call-seq: cellelisions=(x) -> uint64_t.
-
#cellemissions(*args) ⇒ Object
call-seq: cellemissions -> uint64_t.
-
#cellemissions=(*args) ⇒ Object
call-seq: cellemissions=(x) -> uint64_t.
-
#defaultelisions(*args) ⇒ Object
call-seq: defaultelisions -> uint64_t.
-
#defaultelisions=(*args) ⇒ Object
call-seq: defaultelisions=(x) -> uint64_t.
-
#defaultemissions(*args) ⇒ Object
call-seq: defaultemissions -> uint64_t.
-
#defaultemissions=(*args) ⇒ Object
call-seq: defaultemissions=(x) -> uint64_t.
-
#failed_renders(*args) ⇒ Object
call-seq: failed_renders -> uint64_t.
-
#failed_renders=(*args) ⇒ Object
call-seq: failed_renders=(x) -> uint64_t.
-
#failed_writeouts(*args) ⇒ Object
call-seq: failed_writeouts -> uint64_t.
-
#failed_writeouts=(*args) ⇒ Object
call-seq: failed_writeouts=(x) -> uint64_t.
-
#fbbytes(*args) ⇒ Object
call-seq: fbbytes -> uint64_t.
-
#fbbytes=(*args) ⇒ Object
call-seq: fbbytes=(x) -> uint64_t.
-
#fgelisions(*args) ⇒ Object
call-seq: fgelisions -> uint64_t.
-
#fgelisions=(*args) ⇒ Object
call-seq: fgelisions=(x) -> uint64_t.
-
#fgemissions(*args) ⇒ Object
call-seq: fgemissions -> uint64_t.
-
#fgemissions=(*args) ⇒ Object
call-seq: fgemissions=(x) -> uint64_t.
-
#hpa_gratuitous(*args) ⇒ Object
call-seq: hpa_gratuitous -> uint64_t.
-
#hpa_gratuitous=(*args) ⇒ Object
call-seq: hpa_gratuitous=(x) -> uint64_t.
-
#initialize(*args) ⇒ Object
constructor
call-seq: Ncstats.new.
-
#input_errors(*args) ⇒ Object
call-seq: input_errors -> uint64_t.
-
#input_errors=(*args) ⇒ Object
call-seq: input_errors=(x) -> uint64_t.
-
#input_events(*args) ⇒ Object
call-seq: input_events -> uint64_t.
-
#input_events=(*args) ⇒ Object
call-seq: input_events=(x) -> uint64_t.
-
#pixel_geo_changes(*args) ⇒ Object
call-seq: pixel_geo_changes -> uint64_t.
-
#pixel_geo_changes=(*args) ⇒ Object
call-seq: pixel_geo_changes=(x) -> uint64_t.
-
#planes(*args) ⇒ Object
call-seq: planes -> unsigned int.
-
#planes=(*args) ⇒ Object
call-seq: planes=(x) -> unsigned int.
-
#raster_bytes(*args) ⇒ Object
call-seq: raster_bytes -> uint64_t.
-
#raster_bytes=(*args) ⇒ Object
call-seq: raster_bytes=(x) -> uint64_t.
-
#raster_max_bytes(*args) ⇒ Object
call-seq: raster_max_bytes -> int64_t.
-
#raster_max_bytes=(*args) ⇒ Object
call-seq: raster_max_bytes=(x) -> int64_t.
-
#raster_max_ns(*args) ⇒ Object
call-seq: raster_max_ns -> int64_t.
-
#raster_max_ns=(*args) ⇒ Object
call-seq: raster_max_ns=(x) -> int64_t.
-
#raster_min_bytes(*args) ⇒ Object
call-seq: raster_min_bytes -> int64_t.
-
#raster_min_bytes=(*args) ⇒ Object
call-seq: raster_min_bytes=(x) -> int64_t.
-
#raster_min_ns(*args) ⇒ Object
call-seq: raster_min_ns -> int64_t.
-
#raster_min_ns=(*args) ⇒ Object
call-seq: raster_min_ns=(x) -> int64_t.
-
#raster_ns(*args) ⇒ Object
call-seq: raster_ns -> uint64_t.
-
#raster_ns=(*args) ⇒ Object
call-seq: raster_ns=(x) -> uint64_t.
-
#refreshes(*args) ⇒ Object
call-seq: refreshes -> uint64_t.
-
#refreshes=(*args) ⇒ Object
call-seq: refreshes=(x) -> uint64_t.
-
#render_max_ns(*args) ⇒ Object
call-seq: render_max_ns -> int64_t.
-
#render_max_ns=(*args) ⇒ Object
call-seq: render_max_ns=(x) -> int64_t.
-
#render_min_ns(*args) ⇒ Object
call-seq: render_min_ns -> int64_t.
-
#render_min_ns=(*args) ⇒ Object
call-seq: render_min_ns=(x) -> int64_t.
-
#render_ns(*args) ⇒ Object
call-seq: render_ns -> uint64_t.
-
#render_ns=(*args) ⇒ Object
call-seq: render_ns=(x) -> uint64_t.
-
#renders(*args) ⇒ Object
call-seq: renders -> uint64_t.
-
#renders=(*args) ⇒ Object
call-seq: renders=(x) -> uint64_t.
-
#sprixelbytes(*args) ⇒ Object
call-seq: sprixelbytes -> uint64_t.
-
#sprixelbytes=(*args) ⇒ Object
call-seq: sprixelbytes=(x) -> uint64_t.
-
#sprixelelisions(*args) ⇒ Object
call-seq: sprixelelisions -> uint64_t.
-
#sprixelelisions=(*args) ⇒ Object
call-seq: sprixelelisions=(x) -> uint64_t.
-
#sprixelemissions(*args) ⇒ Object
call-seq: sprixelemissions -> uint64_t.
-
#sprixelemissions=(*args) ⇒ Object
call-seq: sprixelemissions=(x) -> uint64_t.
-
#writeout_max_ns(*args) ⇒ Object
call-seq: writeout_max_ns -> int64_t.
-
#writeout_max_ns=(*args) ⇒ Object
call-seq: writeout_max_ns=(x) -> int64_t.
-
#writeout_min_ns(*args) ⇒ Object
call-seq: writeout_min_ns -> int64_t.
-
#writeout_min_ns=(*args) ⇒ Object
call-seq: writeout_min_ns=(x) -> int64_t.
-
#writeout_ns(*args) ⇒ Object
call-seq: writeout_ns -> uint64_t.
-
#writeout_ns=(*args) ⇒ Object
call-seq: writeout_ns=(x) -> uint64_t.
-
#writeouts(*args) ⇒ Object
call-seq: writeouts -> uint64_t.
-
#writeouts=(*args) ⇒ Object
call-seq: writeouts=(x) -> uint64_t.
Constructor Details
#initialize(*args) ⇒ Object
26555 26556 26557 26558 26559 26560 26561 26562 26563 26564 26565 26566 26567 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26555
SWIGINTERN VALUE
_wrap_new_Ncstats(int argc, VALUE *argv, VALUE self) {
struct ncstats *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (struct ncstats *)calloc(1, sizeof(struct ncstats));
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#appsync_updates(*args) ⇒ Object
call-seq:
appsync_updates -> uint64_t
Get value of attribute.
25763 25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25763
SWIGINTERN VALUE
_wrap_Ncstats_appsync_updates_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","appsync_updates", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->appsync_updates);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#appsync_updates=(*args) ⇒ Object
call-seq:
appsync_updates=(x) -> uint64_t
Set new value for attribute.
25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25717
SWIGINTERN VALUE
_wrap_Ncstats_appsync_updates_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","appsync_updates", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","appsync_updates", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->appsync_updates = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#bgelisions(*args) ⇒ Object
call-seq:
bgelisions -> uint64_t
Get value of attribute.
24931 24932 24933 24934 24935 24936 24937 24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 24968 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24931
SWIGINTERN VALUE
_wrap_Ncstats_bgelisions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","bgelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->bgelisions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#bgelisions=(*args) ⇒ Object
call-seq:
bgelisions=(x) -> uint64_t
Set new value for attribute.
24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 24908 24909 24910 24911 24912 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 24928 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24885
SWIGINTERN VALUE
_wrap_Ncstats_bgelisions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","bgelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","bgelisions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->bgelisions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#bgemissions(*args) ⇒ Object
call-seq:
bgemissions -> uint64_t
Get value of attribute.
25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 25070 25071 25072 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25035
SWIGINTERN VALUE
_wrap_Ncstats_bgemissions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","bgemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->bgemissions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#bgemissions=(*args) ⇒ Object
call-seq:
bgemissions=(x) -> uint64_t
Set new value for attribute.
24989 24990 24991 24992 24993 24994 24995 24996 24997 24998 24999 25000 25001 25002 25003 25004 25005 25006 25007 25008 25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 25030 25031 25032 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24989
SWIGINTERN VALUE
_wrap_Ncstats_bgemissions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","bgemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","bgemissions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->bgemissions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cell_geo_changes(*args) ⇒ Object
call-seq:
cell_geo_changes -> uint64_t
Get value of attribute.
26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 26205 26206 26207 26208 26209 26210 26211 26212 26213 26214 26215 26216 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26179
SWIGINTERN VALUE
_wrap_Ncstats_cell_geo_changes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cell_geo_changes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->cell_geo_changes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cell_geo_changes=(*args) ⇒ Object
call-seq:
cell_geo_changes=(x) -> uint64_t
Set new value for attribute.
26133 26134 26135 26136 26137 26138 26139 26140 26141 26142 26143 26144 26145 26146 26147 26148 26149 26150 26151 26152 26153 26154 26155 26156 26157 26158 26159 26160 26161 26162 26163 26164 26165 26166 26167 26168 26169 26170 26171 26172 26173 26174 26175 26176 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26133
SWIGINTERN VALUE
_wrap_Ncstats_cell_geo_changes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cell_geo_changes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","cell_geo_changes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->cell_geo_changes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cellelisions(*args) ⇒ Object
call-seq:
cellelisions -> uint64_t
Get value of attribute.
24515 24516 24517 24518 24519 24520 24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24515
SWIGINTERN VALUE
_wrap_Ncstats_cellelisions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cellelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->cellelisions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cellelisions=(*args) ⇒ Object
call-seq:
cellelisions=(x) -> uint64_t
Set new value for attribute.
24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 24508 24509 24510 24511 24512 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24469
SWIGINTERN VALUE
_wrap_Ncstats_cellelisions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cellelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","cellelisions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->cellelisions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cellemissions(*args) ⇒ Object
call-seq:
cellemissions -> uint64_t
Get value of attribute.
24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 24638 24639 24640 24641 24642 24643 24644 24645 24646 24647 24648 24649 24650 24651 24652 24653 24654 24655 24656 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24619
SWIGINTERN VALUE
_wrap_Ncstats_cellemissions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cellemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->cellemissions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#cellemissions=(*args) ⇒ Object
call-seq:
cellemissions=(x) -> uint64_t
Set new value for attribute.
24573 24574 24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24573
SWIGINTERN VALUE
_wrap_Ncstats_cellemissions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","cellemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","cellemissions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->cellemissions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#defaultelisions(*args) ⇒ Object
call-seq:
defaultelisions -> uint64_t
Get value of attribute.
25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25139
SWIGINTERN VALUE
_wrap_Ncstats_defaultelisions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","defaultelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->defaultelisions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#defaultelisions=(*args) ⇒ Object
call-seq:
defaultelisions=(x) -> uint64_t
Set new value for attribute.
25093 25094 25095 25096 25097 25098 25099 25100 25101 25102 25103 25104 25105 25106 25107 25108 25109 25110 25111 25112 25113 25114 25115 25116 25117 25118 25119 25120 25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25093
SWIGINTERN VALUE
_wrap_Ncstats_defaultelisions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","defaultelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","defaultelisions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->defaultelisions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#defaultemissions(*args) ⇒ Object
call-seq:
defaultemissions -> uint64_t
Get value of attribute.
25243 25244 25245 25246 25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25243
SWIGINTERN VALUE
_wrap_Ncstats_defaultemissions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","defaultemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->defaultemissions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#defaultemissions=(*args) ⇒ Object
call-seq:
defaultemissions=(x) -> uint64_t
Set new value for attribute.
25197 25198 25199 25200 25201 25202 25203 25204 25205 25206 25207 25208 25209 25210 25211 25212 25213 25214 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25197
SWIGINTERN VALUE
_wrap_Ncstats_defaultemissions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","defaultemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","defaultemissions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->defaultemissions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#failed_renders(*args) ⇒ Object
call-seq:
failed_renders -> uint64_t
Get value of attribute.
23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23059
SWIGINTERN VALUE
_wrap_Ncstats_failed_renders_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","failed_renders", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->failed_renders);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#failed_renders=(*args) ⇒ Object
call-seq:
failed_renders=(x) -> uint64_t
Set new value for attribute.
23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23013
SWIGINTERN VALUE
_wrap_Ncstats_failed_renders_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","failed_renders", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","failed_renders", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->failed_renders = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#failed_writeouts(*args) ⇒ Object
call-seq:
failed_writeouts -> uint64_t
Get value of attribute.
23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23163
SWIGINTERN VALUE
_wrap_Ncstats_failed_writeouts_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","failed_writeouts", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->failed_writeouts);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#failed_writeouts=(*args) ⇒ Object
call-seq:
failed_writeouts=(x) -> uint64_t
Set new value for attribute.
23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23117
SWIGINTERN VALUE
_wrap_Ncstats_failed_writeouts_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","failed_writeouts", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","failed_writeouts", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->failed_writeouts = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fbbytes(*args) ⇒ Object
call-seq:
fbbytes -> uint64_t
Get value of attribute.
26387 26388 26389 26390 26391 26392 26393 26394 26395 26396 26397 26398 26399 26400 26401 26402 26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 26414 26415 26416 26417 26418 26419 26420 26421 26422 26423 26424 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26387
SWIGINTERN VALUE
_wrap_Ncstats_fbbytes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fbbytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->fbbytes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fbbytes=(*args) ⇒ Object
call-seq:
fbbytes=(x) -> uint64_t
Set new value for attribute.
26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 26351 26352 26353 26354 26355 26356 26357 26358 26359 26360 26361 26362 26363 26364 26365 26366 26367 26368 26369 26370 26371 26372 26373 26374 26375 26376 26377 26378 26379 26380 26381 26382 26383 26384 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26341
SWIGINTERN VALUE
_wrap_Ncstats_fbbytes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fbbytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","fbbytes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->fbbytes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fgelisions(*args) ⇒ Object
call-seq:
fgelisions -> uint64_t
Get value of attribute.
24723 24724 24725 24726 24727 24728 24729 24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 24751 24752 24753 24754 24755 24756 24757 24758 24759 24760 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24723
SWIGINTERN VALUE
_wrap_Ncstats_fgelisions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fgelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->fgelisions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fgelisions=(*args) ⇒ Object
call-seq:
fgelisions=(x) -> uint64_t
Set new value for attribute.
24677 24678 24679 24680 24681 24682 24683 24684 24685 24686 24687 24688 24689 24690 24691 24692 24693 24694 24695 24696 24697 24698 24699 24700 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 24715 24716 24717 24718 24719 24720 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24677
SWIGINTERN VALUE
_wrap_Ncstats_fgelisions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fgelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","fgelisions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->fgelisions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fgemissions(*args) ⇒ Object
call-seq:
fgemissions -> uint64_t
Get value of attribute.
24827 24828 24829 24830 24831 24832 24833 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24827
SWIGINTERN VALUE
_wrap_Ncstats_fgemissions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fgemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->fgemissions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#fgemissions=(*args) ⇒ Object
call-seq:
fgemissions=(x) -> uint64_t
Set new value for attribute.
24781 24782 24783 24784 24785 24786 24787 24788 24789 24790 24791 24792 24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24781
SWIGINTERN VALUE
_wrap_Ncstats_fgemissions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","fgemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","fgemissions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->fgemissions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#hpa_gratuitous(*args) ⇒ Object
call-seq:
hpa_gratuitous -> uint64_t
Get value of attribute.
26075 26076 26077 26078 26079 26080 26081 26082 26083 26084 26085 26086 26087 26088 26089 26090 26091 26092 26093 26094 26095 26096 26097 26098 26099 26100 26101 26102 26103 26104 26105 26106 26107 26108 26109 26110 26111 26112 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26075
SWIGINTERN VALUE
_wrap_Ncstats_hpa_gratuitous_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","hpa_gratuitous", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->hpa_gratuitous);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#hpa_gratuitous=(*args) ⇒ Object
call-seq:
hpa_gratuitous=(x) -> uint64_t
Set new value for attribute.
26029 26030 26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 26050 26051 26052 26053 26054 26055 26056 26057 26058 26059 26060 26061 26062 26063 26064 26065 26066 26067 26068 26069 26070 26071 26072 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26029
SWIGINTERN VALUE
_wrap_Ncstats_hpa_gratuitous_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","hpa_gratuitous", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","hpa_gratuitous", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->hpa_gratuitous = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#input_errors(*args) ⇒ Object
call-seq:
input_errors -> uint64_t
Get value of attribute.
25867 25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 25881 25882 25883 25884 25885 25886 25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 25904 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25867
SWIGINTERN VALUE
_wrap_Ncstats_input_errors_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","input_errors", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->input_errors);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#input_errors=(*args) ⇒ Object
call-seq:
input_errors=(x) -> uint64_t
Set new value for attribute.
25821 25822 25823 25824 25825 25826 25827 25828 25829 25830 25831 25832 25833 25834 25835 25836 25837 25838 25839 25840 25841 25842 25843 25844 25845 25846 25847 25848 25849 25850 25851 25852 25853 25854 25855 25856 25857 25858 25859 25860 25861 25862 25863 25864 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25821
SWIGINTERN VALUE
_wrap_Ncstats_input_errors_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","input_errors", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","input_errors", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->input_errors = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#input_events(*args) ⇒ Object
call-seq:
input_events -> uint64_t
Get value of attribute.
25971 25972 25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 26008 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25971
SWIGINTERN VALUE
_wrap_Ncstats_input_events_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","input_events", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->input_events);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#input_events=(*args) ⇒ Object
call-seq:
input_events=(x) -> uint64_t
Set new value for attribute.
25925 25926 25927 25928 25929 25930 25931 25932 25933 25934 25935 25936 25937 25938 25939 25940 25941 25942 25943 25944 25945 25946 25947 25948 25949 25950 25951 25952 25953 25954 25955 25956 25957 25958 25959 25960 25961 25962 25963 25964 25965 25966 25967 25968 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25925
SWIGINTERN VALUE
_wrap_Ncstats_input_events_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","input_events", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","input_events", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->input_events = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#pixel_geo_changes(*args) ⇒ Object
call-seq:
pixel_geo_changes -> uint64_t
Get value of attribute.
26283 26284 26285 26286 26287 26288 26289 26290 26291 26292 26293 26294 26295 26296 26297 26298 26299 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26283
SWIGINTERN VALUE
_wrap_Ncstats_pixel_geo_changes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","pixel_geo_changes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->pixel_geo_changes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#pixel_geo_changes=(*args) ⇒ Object
call-seq:
pixel_geo_changes=(x) -> uint64_t
Set new value for attribute.
26237 26238 26239 26240 26241 26242 26243 26244 26245 26246 26247 26248 26249 26250 26251 26252 26253 26254 26255 26256 26257 26258 26259 26260 26261 26262 26263 26264 26265 26266 26267 26268 26269 26270 26271 26272 26273 26274 26275 26276 26277 26278 26279 26280 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26237
SWIGINTERN VALUE
_wrap_Ncstats_pixel_geo_changes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","pixel_geo_changes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pixel_geo_changes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->pixel_geo_changes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#planes(*args) ⇒ Object
call-seq:
planes -> unsigned int
Get value of attribute.
26491 26492 26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26491
SWIGINTERN VALUE
_wrap_Ncstats_planes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","planes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (unsigned int) ((arg1)->planes);
vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#planes=(*args) ⇒ Object
call-seq:
planes=(x) -> unsigned int
Set new value for attribute.
26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 26482 26483 26484 26485 26486 26487 26488 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 26445
SWIGINTERN VALUE
_wrap_Ncstats_planes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","planes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","planes", 2, argv[0] ));
}
arg2 = (unsigned int)(val2);
if (arg1) (arg1)->planes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_bytes(*args) ⇒ Object
call-seq:
raster_bytes -> uint64_t
Get value of attribute.
23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 23304 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23267
SWIGINTERN VALUE
_wrap_Ncstats_raster_bytes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->raster_bytes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_bytes=(*args) ⇒ Object
call-seq:
raster_bytes=(x) -> uint64_t
Set new value for attribute.
23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23221
SWIGINTERN VALUE
_wrap_Ncstats_raster_bytes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","raster_bytes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->raster_bytes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_max_bytes(*args) ⇒ Object
call-seq:
raster_max_bytes -> int64_t
Get value of attribute.
23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23371
SWIGINTERN VALUE
_wrap_Ncstats_raster_max_bytes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_max_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->raster_max_bytes);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_max_bytes=(*args) ⇒ Object
call-seq:
raster_max_bytes=(x) -> int64_t
Set new value for attribute.
23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23325
SWIGINTERN VALUE
_wrap_Ncstats_raster_max_bytes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_max_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","raster_max_bytes", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->raster_max_bytes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_max_ns(*args) ⇒ Object
call-seq:
raster_max_ns -> int64_t
Get value of attribute.
23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23995
SWIGINTERN VALUE
_wrap_Ncstats_raster_max_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->raster_max_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_max_ns=(*args) ⇒ Object
call-seq:
raster_max_ns=(x) -> int64_t
Set new value for attribute.
23949 23950 23951 23952 23953 23954 23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23949
SWIGINTERN VALUE
_wrap_Ncstats_raster_max_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","raster_max_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->raster_max_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_min_bytes(*args) ⇒ Object
call-seq:
raster_min_bytes -> int64_t
Get value of attribute.
23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23475
SWIGINTERN VALUE
_wrap_Ncstats_raster_min_bytes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_min_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->raster_min_bytes);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_min_bytes=(*args) ⇒ Object
call-seq:
raster_min_bytes=(x) -> int64_t
Set new value for attribute.
23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23429
SWIGINTERN VALUE
_wrap_Ncstats_raster_min_bytes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_min_bytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","raster_min_bytes", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->raster_min_bytes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_min_ns(*args) ⇒ Object
call-seq:
raster_min_ns -> int64_t
Get value of attribute.
24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24099
SWIGINTERN VALUE
_wrap_Ncstats_raster_min_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->raster_min_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_min_ns=(*args) ⇒ Object
call-seq:
raster_min_ns=(x) -> int64_t
Set new value for attribute.
24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24053
SWIGINTERN VALUE
_wrap_Ncstats_raster_min_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","raster_min_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->raster_min_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_ns(*args) ⇒ Object
call-seq:
raster_ns -> uint64_t
Get value of attribute.
23891 23892 23893 23894 23895 23896 23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 23908 23909 23910 23911 23912 23913 23914 23915 23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23891
SWIGINTERN VALUE
_wrap_Ncstats_raster_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->raster_ns);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#raster_ns=(*args) ⇒ Object
call-seq:
raster_ns=(x) -> uint64_t
Set new value for attribute.
23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 23887 23888 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23845
SWIGINTERN VALUE
_wrap_Ncstats_raster_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","raster_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","raster_ns", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->raster_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#refreshes(*args) ⇒ Object
call-seq:
refreshes -> uint64_t
Get value of attribute.
25347 25348 25349 25350 25351 25352 25353 25354 25355 25356 25357 25358 25359 25360 25361 25362 25363 25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 25383 25384 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25347
SWIGINTERN VALUE
_wrap_Ncstats_refreshes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","refreshes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->refreshes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#refreshes=(*args) ⇒ Object
call-seq:
refreshes=(x) -> uint64_t
Set new value for attribute.
25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25301
SWIGINTERN VALUE
_wrap_Ncstats_refreshes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","refreshes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","refreshes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->refreshes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_max_ns(*args) ⇒ Object
call-seq:
render_max_ns -> int64_t
Get value of attribute.
23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23683
SWIGINTERN VALUE
_wrap_Ncstats_render_max_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->render_max_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_max_ns=(*args) ⇒ Object
call-seq:
render_max_ns=(x) -> int64_t
Set new value for attribute.
23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23637
SWIGINTERN VALUE
_wrap_Ncstats_render_max_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","render_max_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->render_max_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_min_ns(*args) ⇒ Object
call-seq:
render_min_ns -> int64_t
Get value of attribute.
23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23787
SWIGINTERN VALUE
_wrap_Ncstats_render_min_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->render_min_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_min_ns=(*args) ⇒ Object
call-seq:
render_min_ns=(x) -> int64_t
Set new value for attribute.
23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 23782 23783 23784 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23741
SWIGINTERN VALUE
_wrap_Ncstats_render_min_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","render_min_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->render_min_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_ns(*args) ⇒ Object
call-seq:
render_ns -> uint64_t
Get value of attribute.
23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 23614 23615 23616 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23579
SWIGINTERN VALUE
_wrap_Ncstats_render_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->render_ns);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#render_ns=(*args) ⇒ Object
call-seq:
render_ns=(x) -> uint64_t
Set new value for attribute.
23533 23534 23535 23536 23537 23538 23539 23540 23541 23542 23543 23544 23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 23533
SWIGINTERN VALUE
_wrap_Ncstats_render_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","render_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","render_ns", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->render_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#renders(*args) ⇒ Object
call-seq:
renders -> uint64_t
Get value of attribute.
22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 22851
SWIGINTERN VALUE
_wrap_Ncstats_renders_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","renders", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->renders);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#renders=(*args) ⇒ Object
call-seq:
renders=(x) -> uint64_t
Set new value for attribute.
22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 22805
SWIGINTERN VALUE
_wrap_Ncstats_renders_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","renders", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","renders", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->renders = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelbytes(*args) ⇒ Object
call-seq:
sprixelbytes -> uint64_t
Get value of attribute.
25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 25671 25672 25673 25674 25675 25676 25677 25678 25679 25680 25681 25682 25683 25684 25685 25686 25687 25688 25689 25690 25691 25692 25693 25694 25695 25696 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25659
SWIGINTERN VALUE
_wrap_Ncstats_sprixelbytes_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelbytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->sprixelbytes);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelbytes=(*args) ⇒ Object
call-seq:
sprixelbytes=(x) -> uint64_t
Set new value for attribute.
25613 25614 25615 25616 25617 25618 25619 25620 25621 25622 25623 25624 25625 25626 25627 25628 25629 25630 25631 25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25613
SWIGINTERN VALUE
_wrap_Ncstats_sprixelbytes_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelbytes", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","sprixelbytes", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->sprixelbytes = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelelisions(*args) ⇒ Object
call-seq:
sprixelelisions -> uint64_t
Get value of attribute.
25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 25568 25569 25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 25592 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25555
SWIGINTERN VALUE
_wrap_Ncstats_sprixelelisions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->sprixelelisions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelelisions=(*args) ⇒ Object
call-seq:
sprixelelisions=(x) -> uint64_t
Set new value for attribute.
25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 25538 25539 25540 25541 25542 25543 25544 25545 25546 25547 25548 25549 25550 25551 25552 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25509
SWIGINTERN VALUE
_wrap_Ncstats_sprixelelisions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelelisions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","sprixelelisions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->sprixelelisions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelemissions(*args) ⇒ Object
call-seq:
sprixelemissions -> uint64_t
Get value of attribute.
25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 25488 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25451
SWIGINTERN VALUE
_wrap_Ncstats_sprixelemissions_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->sprixelemissions);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#sprixelemissions=(*args) ⇒ Object
call-seq:
sprixelemissions=(x) -> uint64_t
Set new value for attribute.
25405 25406 25407 25408 25409 25410 25411 25412 25413 25414 25415 25416 25417 25418 25419 25420 25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 25431 25432 25433 25434 25435 25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 25448 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 25405
SWIGINTERN VALUE
_wrap_Ncstats_sprixelemissions_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","sprixelemissions", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","sprixelemissions", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->sprixelemissions = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_max_ns(*args) ⇒ Object
call-seq:
writeout_max_ns -> int64_t
Get value of attribute.
24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24307
SWIGINTERN VALUE
_wrap_Ncstats_writeout_max_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->writeout_max_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_max_ns=(*args) ⇒ Object
call-seq:
writeout_max_ns=(x) -> int64_t
Set new value for attribute.
24261 24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24261
SWIGINTERN VALUE
_wrap_Ncstats_writeout_max_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_max_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","writeout_max_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->writeout_max_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_min_ns(*args) ⇒ Object
call-seq:
writeout_min_ns -> int64_t
Get value of attribute.
24411 24412 24413 24414 24415 24416 24417 24418 24419 24420 24421 24422 24423 24424 24425 24426 24427 24428 24429 24430 24431 24432 24433 24434 24435 24436 24437 24438 24439 24440 24441 24442 24443 24444 24445 24446 24447 24448 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24411
SWIGINTERN VALUE
_wrap_Ncstats_writeout_min_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (int64_t) ((arg1)->writeout_min_ns);
vresult = SWIG_From_long((long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_min_ns=(*args) ⇒ Object
call-seq:
writeout_min_ns=(x) -> int64_t
Set new value for attribute.
24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24365
SWIGINTERN VALUE
_wrap_Ncstats_writeout_min_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_min_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","writeout_min_ns", 2, argv[0] ));
}
arg2 = (int64_t)(val2);
if (arg1) (arg1)->writeout_min_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_ns(*args) ⇒ Object
call-seq:
writeout_ns -> uint64_t
Get value of attribute.
24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24203
SWIGINTERN VALUE
_wrap_Ncstats_writeout_ns_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->writeout_ns);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeout_ns=(*args) ⇒ Object
call-seq:
writeout_ns=(x) -> uint64_t
Set new value for attribute.
24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 24196 24197 24198 24199 24200 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 24157
SWIGINTERN VALUE
_wrap_Ncstats_writeout_ns_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeout_ns", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","writeout_ns", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->writeout_ns = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeouts(*args) ⇒ Object
call-seq:
writeouts -> uint64_t
Get value of attribute.
22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 22955
SWIGINTERN VALUE
_wrap_Ncstats_writeouts_get(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
uint64_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeouts", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
result = (uint64_t) ((arg1)->writeouts);
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|
#writeouts=(*args) ⇒ Object
call-seq:
writeouts=(x) -> uint64_t
Set new value for attribute.
22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 |
# File 'ext/notcurses/src/notcurses_wrap.c', line 22909
SWIGINTERN VALUE
_wrap_Ncstats_writeouts_set(int argc, VALUE *argv, VALUE self) {
struct ncstats *arg1 = (struct ncstats *) 0 ;
uint64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ncstats, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ncstats *","writeouts", 1, self ));
}
arg1 = (struct ncstats *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","writeouts", 2, argv[0] ));
}
arg2 = (uint64_t)(val2);
if (arg1) (arg1)->writeouts = arg2;
{
if (vresult == Qnil) {
vresult = rb_hash_new();
}
if (!RB_TYPE_P(vresult, T_HASH)) {
VALUE temp = rb_hash_new();
rb_hash_aset(temp, ID2SYM(rb_intern("return")), vresult);
vresult = temp;
}
swig_type_info *ty = SWIG_TypeQuery("struct ncstats *");
if (!ty) ty = SWIGTYPE_p_ncstats;
VALUE obj = SWIG_NewPointerObj((void *)arg1, ty, 0);
rb_hash_aset(vresult, ID2SYM(rb_intern("self")), obj);
}
return vresult;
fail:
return Qnil;
}
|