I have a class that defines the methods<br><br>  int size() const;<br>  const char* operator[int pos] const;<br>  operator bool() const;<br><br>I want to rename these methods<br><br>  __len__<br>  __getitem__<br>  __nonzero__<br>
<br>when I  export them.<br><br>With SWIG I can do that with the %rename directive.<br>How do I do that with SIP?<br><br>