Fixed C++ comment in potential C file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
36a33af3f6
commit
a1ed3e094a
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
// For ruby1.8.4 and earlier.
|
/* For ruby1.8.4 and earlier. */
|
||||||
#ifndef RUBY_INIT_STACK
|
#ifndef RUBY_INIT_STACK
|
||||||
RUBY_EXTERN void Init_stack(VALUE* addr);
|
RUBY_EXTERN void Init_stack(VALUE* addr);
|
||||||
# define RUBY_INIT_STACK \
|
# define RUBY_INIT_STACK \
|
||||||
|
|
@ -29,6 +29,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
||||||
Init_stack(&variable_in_this_stack_frame);
|
Init_stack(&variable_in_this_stack_frame);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue