diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-27 05:29:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-27 05:29:49 +0000 |
commit | d226ce8decef356c7447efb6b6b325bc8fc53dba (patch) | |
tree | fc6ee90568444f58aeea654c4f2326cb5b1f73ae /vm.c | |
parent | f8fe5349802f2d73a70b0b7a190a3c7071efa0f4 (diff) | |
download | ruby-d226ce8decef356c7447efb6b6b325bc8fc53dba.tar.gz |
internal.h: ONLY_FOR_INTERNAL_USE
* error.c (ruby_only_for_internal_use): raise fatal error when
deprecated function only for internal use is called, not just a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -459,8 +459,7 @@ rb_vm_rewind_cfp(rb_thread_t *th, rb_control_frame_t *cfp) void rb_frame_pop(void) { - rb_thread_t *th = GET_THREAD(); - vm_pop_frame(th); + ONLY_FOR_INTERNAL_USE("rb_frame_pop()"); } /* at exit */ |