php keyword fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
79d343470c
commit
3d786499d0
8 changed files with 16 additions and 17 deletions
|
|
@ -1,9 +1,5 @@
|
|||
%module template_ns_enum2
|
||||
|
||||
#ifdef SWIGPERL
|
||||
%rename(_eval) eval;
|
||||
#endif
|
||||
|
||||
%inline %{
|
||||
|
||||
namespace hi
|
||||
|
|
@ -30,11 +26,11 @@
|
|||
struct B
|
||||
{
|
||||
const traits<Hola>::value_type&
|
||||
eval(const traits<Hola>::value_type& e) const;
|
||||
evaluate(const traits<Hola>::value_type& e) const;
|
||||
|
||||
};
|
||||
const traits<Hola>::value_type&
|
||||
B::eval(const traits<Hola>::value_type& e) const {
|
||||
B::evaluate(const traits<Hola>::value_type& e) const {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue