This website requires JavaScript.
Explore
Help
Sign In
XS-MLVP
/
swig
mirror of
https://github.com/swig/swig.git
Watch
0
Star
0
Fork
You've already forked swig
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8a73e25fe2
swig
/
Examples
/
ocaml
/
scoped_enum
/
foo.h
6 lines
109 B
C++
Raw
Blame
History
namespace
foo
{
enum
Bar
{
Tag1
,
Tag2
}
;
static
void
f
(
Bar
b
)
{
printf
(
"
b = %d
\n
"
,
(
int
)
b
)
;
}
}
Reference in New Issue
View Git Blame
Copy Permalink