1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

pack/unpack unsigned

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1998-05-08 09:38:16 +00:00
parent 71ad3aa4ff
commit dde6b7dd06
11 changed files with 74 additions and 25 deletions

2
ruby.h
View file

@ -172,6 +172,8 @@ void rb_secure _((int));
INT num2int _((VALUE));
#define NUM2INT(x) (FIXNUM_P(x)?FIX2INT(x):num2int((VALUE)x))
UINT num2uint _((VALUE));
#define NUM2UINT(x) num2uint((VALUE)x)
double num2dbl _((VALUE));
#define NUM2DBL(x) num2dbl((VALUE)(x))