[Pyrex] Pythonic wrapping of libxml2
Lenard Lindstrom
len-l at telus.net
Wed Sep 29 04:33:43 CEST 2004
On Tue, 28 Sep 2004 14:52:03 +0200 Martijn Faassen <faassen at infrae.com> wrote:
> vng1 at mac.com wrote:
> >
> > but I'm left pretty confused - most likely because i can't remember what
> > to actually _use_ function pointers for anymore.
>
> I'd need to figure it out too. Come and join me if you like. :)
>
> In python it's so simple that the C level way to do it looks
> spectacularly strange. Basically it allows you to parameterize code with
> logic, not just data. In OO languages you'd often use polymorphism for
> this effect.
>
Function pointers are also used for callbacks and calling functions
in a dynamically loaded library.
Lenard Lindstrom
<len-l at telus.net>
More information about the Pyrex
mailing list