diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-17 13:21:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-17 13:21:29 +0000 |
commit | 3be8a6a9f24a9c83e62d56df9b5d3f39061cab61 (patch) | |
tree | 0e50d0f3c3db527469ab95206addd3cfc23a5c5b /vm.c | |
parent | f6316e230ca52921c565385e039fb33d2db496f4 (diff) |
* vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a
workaround for ruby-debug19 for the time being.
[ruby-core:38972] [Bug #5193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -50,6 +50,15 @@ void vm_analysis_operand(int insn, int n, VALUE op); void vm_analysis_register(int reg, int isset); void vm_analysis_insn(int insn); +/* + * TODO: replace with better interface at the next release. + * + * these functions are exported just as a workaround for ruby-debug + * for the time being. + */ +RUBY_FUNC_EXPORTED VALUE rb_vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp); +RUBY_FUNC_EXPORTED int rb_vm_get_sourceline(const rb_control_frame_t *cfp); + void rb_vm_change_state(void) { |