mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* pack.c (pack_pack): use NUM2INT() instead of num2i32().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66d0389895
commit
df84c64be9
10 changed files with 63 additions and 52 deletions
3
ruby.h
3
ruby.h
|
@ -232,6 +232,9 @@ void rb_check_safe_str _((VALUE));
|
|||
/* obsolete macro - use SafeStringValue(v) */
|
||||
#define Check_SafeStr(v) rb_check_safe_str((VALUE)(v))
|
||||
|
||||
VALUE rb_get_path _((VALUE));
|
||||
#define FilePathValue(v) ((v) = rb_get_path(v))
|
||||
|
||||
void rb_secure _((int));
|
||||
RUBY_EXTERN int ruby_safe_level;
|
||||
#define rb_safe_level() (ruby_safe_level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue