зеркало из https://github.com/github/ruby.git
Signature of rb_uint2inum and rb_int2inum
* include/ruby/ruby.h (rb_int2inum, rb_uint2inum): adjust declarations. [ruby-core:83424] [Bug #14036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1cd9c3ce62
Коммит
b2033b8b84
|
@ -238,10 +238,10 @@ typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP == sizeof(void*) ? 1 : -1];
|
|||
#define RB_LONG2FIX(i) RB_INT2FIX(i)
|
||||
#define LONG2FIX(i) RB_INT2FIX(i)
|
||||
#define rb_fix_new(v) RB_INT2FIX(v)
|
||||
VALUE rb_int2inum(SIGNED_VALUE);
|
||||
VALUE rb_int2inum(intptr_t);
|
||||
|
||||
#define rb_int_new(v) rb_int2inum(v)
|
||||
VALUE rb_uint2inum(VALUE);
|
||||
VALUE rb_uint2inum(uintptr_t);
|
||||
|
||||
#define rb_uint_new(v) rb_uint2inum(v)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче