variable name changes to remove php keywords
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
09638387dd
commit
f8ae12fe4d
12 changed files with 19 additions and 19 deletions
|
|
@ -10,7 +10,7 @@
|
|||
static const Polarization polarization = UnaryPolarization;
|
||||
};
|
||||
template <Polarization P>
|
||||
struct Interface
|
||||
struct Interface_
|
||||
{
|
||||
};
|
||||
|
||||
|
|
@ -26,16 +26,16 @@
|
|||
};
|
||||
%}
|
||||
|
||||
%template(Interface_UP) Interface<UnaryPolarization>;
|
||||
%template(Interface_UP) Interface_<UnaryPolarization>;
|
||||
%template(Module_1) Module<1>;
|
||||
|
||||
%inline %{
|
||||
struct ExtInterface1 :
|
||||
Interface<UnaryPolarization> // works
|
||||
Interface_<UnaryPolarization> // works
|
||||
{
|
||||
};
|
||||
struct ExtInterface2 :
|
||||
Interface<interface_traits::polarization> // doesn't work
|
||||
Interface_<interface_traits::polarization> // doesn't work
|
||||
{
|
||||
};
|
||||
struct ExtModule1 :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue