summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index f5344815ae..ec3327f8cf 100644
--- a/eval.c
+++ b/eval.c
@@ -139,6 +139,13 @@ rb_secure(level)
}
void
+rb_secure_update(obj)
+ VALUE obj;
+{
+ if (!OBJ_TAINTED(obj)) rb_secure(4);
+}
+
+void
rb_check_safe_obj(x)
VALUE x;
{