hi,
something i have been wondering for a long time:
if i want to create, for example, a class that derives from CoordSyst
and i want to use pyrex for speed when running my own open gl calls. the
module wants to be seperate from soya as id want it game specific.
i read about the pyrex declarations but im still a bit confused :)
i can, for example again, create a file called test.pyx and put in it:
cimport _soya.pxd
cdef class MyTest(_soya.CoordSyst):
pass
then i run
$ pyrex -I /path/to/my/soya test.pyx
at this point everything seems fine
the resulting test.c file however seems to contain a lot of soya stuff.
gcc -c -fPIC -I/usr/include/python2.3 test.c
is about as far as ive got with compiling!
i kind of imagine it as a seperate module linked to soya.so but things
get a bit fuzzy in my brain around here :)
cheers
dunk