Changed "extern Init_stack" to "RUBY_EXTERN" to make it compatible
with ruby on windows (dllexport issues). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
801fda2b00
commit
8a0eba9469
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
|||
|
||||
// For ruby1.8.4 and earlier.
|
||||
#ifndef RUBY_INIT_STACK
|
||||
extern void Init_stack(VALUE* addr);
|
||||
RUBY_EXTERN void Init_stack(VALUE* addr);
|
||||
# define RUBY_INIT_STACK \
|
||||
VALUE variable_in_this_stack_frame; \
|
||||
Init_stack(&variable_in_this_stack_frame);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue