mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
* gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
01f468d138
commit
b2dde8243b
3 changed files with 9 additions and 64 deletions
|
@ -823,15 +823,13 @@ VALUE rb_require(const char*);
|
|||
|
||||
#ifdef __ia64
|
||||
void ruby_init_stack(VALUE*, void*);
|
||||
#define RUBY_INIT_STACK \
|
||||
VALUE variable_in_this_stack_frame; \
|
||||
ruby_init_stack(&variable_in_this_stack_frame, rb_ia64_bsp());
|
||||
#define ruby_init_stack(addr) ruby_init_stack(addr, rb_ia64_bsp())
|
||||
#else
|
||||
void ruby_init_stack(VALUE*);
|
||||
#endif
|
||||
#define RUBY_INIT_STACK \
|
||||
VALUE variable_in_this_stack_frame; \
|
||||
ruby_init_stack(&variable_in_this_stack_frame);
|
||||
#endif
|
||||
void ruby_init(void);
|
||||
void *ruby_options(int, char**);
|
||||
int ruby_run_node(void *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue