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:
Gonzalo Garramuno 2007-06-02 10:41:38 +00:00
commit 8a0eba9469

View file

@ -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);