Commit 3aef4252 authored by Maciej Suminski's avatar Maciej Suminski

Refinement to commit #4993.

parent ef9b0678
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment