enum renamed enums due to enum keyword in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ef1250b67d
commit
b0307fb2c4
6 changed files with 15 additions and 15 deletions
|
|
@ -243,7 +243,7 @@ C_TEST_CASES += \
|
||||||
cpp_macro_noarg \
|
cpp_macro_noarg \
|
||||||
defineop \
|
defineop \
|
||||||
defines \
|
defines \
|
||||||
enum \
|
enums \
|
||||||
function_typedef \
|
function_typedef \
|
||||||
lib_carrays \
|
lib_carrays \
|
||||||
lib_cdata \
|
lib_cdata \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* Test whether anonymous enums are supported well. */
|
/* Test whether anonymous enums are supported well. */
|
||||||
|
|
||||||
%module "enum"
|
%module "enums"
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
|
|
||||||
import _enum
|
|
||||||
|
|
||||||
_enum.bar2(1)
|
|
||||||
_enum.bar3(1)
|
|
||||||
_enum.bar1(1)
|
|
||||||
|
|
||||||
7
SWIG/Examples/test-suite/python/enums_runme.py
Normal file
7
SWIG/Examples/test-suite/python/enums_runme.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
import _enums
|
||||||
|
|
||||||
|
_enums.bar2(1)
|
||||||
|
_enums.bar3(1)
|
||||||
|
_enums.bar1(1)
|
||||||
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
require 'enum'
|
|
||||||
|
|
||||||
Enum.bar2(1)
|
|
||||||
Enum.bar3(1)
|
|
||||||
Enum.bar1(1)
|
|
||||||
|
|
||||||
6
SWIG/Examples/test-suite/ruby/enums_runme.rb
Normal file
6
SWIG/Examples/test-suite/ruby/enums_runme.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
require 'enums'
|
||||||
|
|
||||||
|
Enums.bar2(1)
|
||||||
|
Enums.bar3(1)
|
||||||
|
Enums.bar1(1)
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue