update swig on windows
This commit is contained in:
13
winx64/bin/swigwin-4.0.0/Examples/php/enum/example.h
Normal file
13
winx64/bin/swigwin-4.0.0/Examples/php/enum/example.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/* File : example.h */
|
||||
|
||||
enum color { RED, BLUE, GREEN };
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
Foo() { }
|
||||
enum speed { IMPULSE, WARP, LUDICROUS };
|
||||
void enum_test(speed s);
|
||||
};
|
||||
|
||||
void enum_test(color c, Foo::speed s);
|
||||
|
||||
Reference in New Issue
Block a user