Please, someone tell me what's going wrong here. ;>
Siggy Brentrup
bsb at winnegan.de
Tue Jan 11 16:15:19 EST 2000
Hi Jason,
your code looks like Borland C++ on WinXX to me, you'd better tell us which
environment you're using :)
"Jason Maskell" <backov at nospam.csolve.net> writes:
> I posted a while back on embedding, and after scouring deja and reading the
> demos, I can't even get this simple example to work. It's essentially a C++
> Builder'ized version of the simple embedding demo.. PyRun_SimpleString
> returns -1 and foo is never executed.
>
[...]
extern "C" {
> void initxyzzy(); /* Forward */
[...]
> void initxyzzy()
> {
> PyImport_AddModule("xyzzy");
> Py_InitModule("xyzzy", xyzzy_methods);
> }
}
[...]
HIH
Siggy
--
Siggy Brentrup - bsb at winnegan.de - http://www.winnegan.de/
bsb at north.de - http://www.north.de/~bsb/
****** ceterum censeo javascriptum esse restrictam *******
More information about the Python-list
mailing list