[info-performer] pyper & pfChannel.setTravFunc()

Date view Thread view Subject view Author view

From: Gordon Wetzstein (gordons_lists++at++gmx.net)
Date: 07/11/2003 16:20:16


Hello everyone,

I try to set the CULL traversal function in pyper like this:

  self.__chan.setTravFunc(PFTRAV_CULL, self.cullFunc)

  def cullFunc(self, chan, data):
    ...

but the problem is that i get a

TypeError: Type error. Expected _p_pfChanFuncType

the parameters of a traversal func are CullFunc(pfChannel * chan, void
*data), aren't they?
do i have to cast them in opython anyhow?

thanks gordon

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jul 11 2003 - 16:22:38 PDT