summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 14:33:12 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-18 14:33:12 (GMT)
commita9b06707d99ea09d34823ae68aa3b874f5a661f8 (patch)
treeaa5cb4f6cd288c613d43cf4b4c6c957396f0e83a /vm_core.h
parent65ab26604bab94a49546512785aae788ddb76141 (diff)
$SAFE=2 is now obsolete
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): fix safe_level limit. * vm_core.h (rb_proc_t): update comment for safe_level. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 313e34f..c0e63cd 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -796,7 +796,7 @@ typedef struct {
VALUE envval; /* for GC mark */
VALUE blockprocval;
- int8_t safe_level; /* 0..3 */
+ int8_t safe_level; /* 0..1 */
int8_t is_from_method; /* bool */
int8_t is_lambda; /* bool */
} rb_proc_t;