Fix code generated for Ruby global variables
This commit fixes swig#1653 by creating a Ruby virtual variable for a C/c++ global variable when SWIG is invoked with the -globalmodule option.
This commit is contained in:
parent
e4c38f0f67
commit
18a3ef3911
12 changed files with 342 additions and 10 deletions
|
|
@ -250,6 +250,7 @@ CPP_TEST_CASES += \
|
|||
funcptr_cpp \
|
||||
functors \
|
||||
fvirtual \
|
||||
global_immutable_vars_cpp \
|
||||
global_namespace \
|
||||
global_ns_arg \
|
||||
global_scope_types \
|
||||
|
|
@ -689,6 +690,7 @@ C_TEST_CASES += \
|
|||
funcptr \
|
||||
function_typedef \
|
||||
global_functions \
|
||||
global_immutable_vars \
|
||||
immutable_values \
|
||||
inctest \
|
||||
infinity \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue