On Mon, 30 Jun 2008 09:13:42 -0700 (PDT), gianluca <geonomica@gmai l.comwrote:
POINTER takes a class and returns a new class which represents a pointer
to input class.
pointer takes an instance and returns a new object which represents a
pointer to that instance.
Jean-Paul
>I've a problem with dll function colled with python/ctypes. My
>functions (C) requred a typedef int "value_type " in tree different
>way:
>same as value_type; - mydll.foo1(valu e_type)
>same as *value_type; - mydll.foo2(*val ue_type)
>same as **value_type; - mydll.foo3(**va lue_type)
>
>How can pass it in python. If i do that:
>rules=POINTER( value_type)
>opr=rsl.Streng thOfRules(rules ,10)
>R=POINTER(rule s)
>functions (C) requred a typedef int "value_type " in tree different
>way:
>same as value_type; - mydll.foo1(valu e_type)
>same as *value_type; - mydll.foo2(*val ue_type)
>same as **value_type; - mydll.foo3(**va lue_type)
>
>How can pass it in python. If i do that:
>rules=POINTER( value_type)
>opr=rsl.Streng thOfRules(rules ,10)
>R=POINTER(rule s)
to input class.
pointer takes an instance and returns a new object which represents a
pointer to that instance.
Jean-Paul
Comment