Sign in
fuchsia
/
third_party
/
swig
/
5cc90e6f5b321cae8e7290dc055d3e13543a2155
/
.
/
Examples
/
test-suite
/
template_ns_enum.i
blob: 4c73e5067c37d0731f8fc27e7611e5373f33bb4a [
file
] [
log
] [
blame
]
%
module
template_ns_enum
%
inline
%{
namespace
hello
{
enum
Hello
{
Hi
,
Hola
};
template
<
Hello
H
>
struct
traits
{
typedef
double
value_type
;
};
traits
<
Hi
>::
value_type say_hi
()
{
return
traits
<
Hi
>::
value_type
(
1
);
}
}
%}