[Stackless] Embedding Stackless on Windows
Rob Smith
robertadamsonsmith at gmail.com
Sun Jul 30 23:06:34 CEST 2006
Hi,
I'm new to both Python and Stackless, and have recently begun a
project in which I am embedding Python in a C++ project for the
Windows platform.
My simple question is: which header should I #include to make the
Stackless functions accessible from C++?
When I was using Python 2.4, I just had to include 'python.h', and I
was good to go. I just used the precompiled binaries and header files
that were neatly packaged.
For Stackless, I found that the precompiled binaries (for Windows)
didn't include header files, so I grabbed them via subversion, and
thought that if I included 'stackless.h', then I would be good to go -
but this didn't include the function declarations (such as
PyStackless_Call_Main).
I also tried including 'stackless_api.h', but it looks like this
shouldn't be included directly (many compile errors).
Apologies in advance for asking such a trivial question, but I don't
know who else to ask,
Rob Smith
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list