On 17-dec-03, at 17:42, Thomas Heller wrote: > Jack Jansen <Jack.Jansen at cwi.nl> writes: > >> On 17-dec-03, at 12:32, Thomas Heller wrote: >>> I would rather like a function like Py_InitializeEx(struct _init*), >>> where struct _init would have components like PYTHONPATH, optimize, >>> and >>> so on. >> >> You'd have to be very careful to design the struct in such a way that >> you'd have good compatibility. > > Sure, but it can be done. > The alternative would be a Py_InitializeN() call with many parameters. > Would that be preferrable? I'm unsure. I'm almost tempted to say I'd like to pass in a char ** and use environ-style (we're not really worried about performance here). -- Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4