Refinement to commit #4993.

This commit is contained in:
Maciej Suminski 2014-07-14 16:43:21 +02:00
parent ef9b0678c6
commit 3aef4252ab
2 changed files with 5 additions and 3 deletions

View File

@ -143,8 +143,6 @@ class DLIST : public DHEAD
{
public:
// Without the following ifdef, SWIG appends methods from the templated class
#ifndef SWIG
/**
* operator 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*
*/
T* operator -> () const { return GetFirst(); }
#endif /* SWIG */
/**
* Function GetFirst

View File

@ -47,6 +47,11 @@
%rename(AddNative) *::Add;
// fix method names conflicts
%rename(AddChild) MODULE::Add;
%rename(RemoveChild) MODULE::Remove;
%rename(DeleteChild) MODULE::Delete;
%exception {
try{
$action