Sign in
android
/
platform
/
external
/
swig
/
ac47e4b76a4aa347121d628f887214d75457bbea
/
.
/
Examples
/
test-suite
/
template_qualifier.i
blob: 1c3b46fbc7fd0c0baf1949d0613623d8bfe6d2c9 [
file
] [
log
] [
blame
]
%
module
template_qualifier
/* Stroustruo, 3rd Ed, C.13.6 */
%
inline
%{
class
X
{
public
:
template
<int>
X
*
xalloc
()
{
return
new
X
();
}
};
%}
%
extend X
{
%
template
(
xalloc_int
)
xalloc
<
200
>;
};