diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-25 03:11:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-25 03:11:27 +0000 |
commit | e314b134ed907bac18a9d10f43e4d48580ab1c19 (patch) | |
tree | fa4764f3cea04d215a9de7316101186ec87cb279 /ruby.h | |
parent | d406c142589bd0630b615ee74d03c29dc58bf899 (diff) | |
download | ruby-e314b134ed907bac18a9d10f43e4d48580ab1c19.tar.gz ruby-e314b134ed907bac18a9d10f43e4d48580ab1c19.tar.xz ruby-e314b134ed907bac18a9d10f43e4d48580ab1c19.zip |
* io.c (rb_io_initialize): should check rb_secure(4).
* dir.c (dir_s_getwd): should check rb_secure(4).
* object.c (rb_obj_infect): function version of OBJ_INFECT().
* eval.c (rb_secure_update): new function to check object update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -230,6 +230,7 @@ void rb_secure _((int)); RUBY_EXTERN int ruby_safe_level; #define rb_safe_level() (ruby_safe_level) void rb_set_safe_level _((int)); +void rb_secure_update _((VALUE)); long rb_num2long _((VALUE)); unsigned long rb_num2ulong _((VALUE)); @@ -457,6 +458,8 @@ struct RBignum { #define MEMMOVE(p1,p2,type,n) memmove((p1), (p2), sizeof(type)*(n)) #define MEMCMP(p1,p2,type,n) memcmp((p1), (p2), sizeof(type)*(n)) +void rb_obj_infect _((VALUE,VALUE)); + void rb_glob _((char*,void(*)(const char*,VALUE),VALUE)); void rb_globi _((char*,void(*)(const char*,VALUE),VALUE)); |