Refinement to commit #4993.
This commit is contained in:
parent
ef9b0678c6
commit
3aef4252ab
|
@ -143,8 +143,6 @@ class DLIST : public DHEAD
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Without the following ifdef, SWIG appends methods from the templated class
|
|
||||||
#ifndef SWIG
|
|
||||||
/**
|
/**
|
||||||
* operator T*
|
* operator T*
|
||||||
* is a casting operator that returns \a GetFirst(), a T*
|
* is a casting operator that returns \a GetFirst(), a T*
|
||||||
|
@ -156,7 +154,6 @@ public:
|
||||||
* is a dereferencing operator that returns \a GetFirst(), a T*
|
* is a dereferencing operator that returns \a GetFirst(), a T*
|
||||||
*/
|
*/
|
||||||
T* operator -> () const { return GetFirst(); }
|
T* operator -> () const { return GetFirst(); }
|
||||||
#endif /* SWIG */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function GetFirst
|
* Function GetFirst
|
||||||
|
|
|
@ -47,6 +47,11 @@
|
||||||
|
|
||||||
%rename(AddNative) *::Add;
|
%rename(AddNative) *::Add;
|
||||||
|
|
||||||
|
// fix method names conflicts
|
||||||
|
%rename(AddChild) MODULE::Add;
|
||||||
|
%rename(RemoveChild) MODULE::Remove;
|
||||||
|
%rename(DeleteChild) MODULE::Delete;
|
||||||
|
|
||||||
%exception {
|
%exception {
|
||||||
try{
|
try{
|
||||||
$action
|
$action
|
||||||
|
|
Loading…
Reference in New Issue