scripting: remove char* hacks
The Python C API has been using const char * arguments for the APIs we use, so there is (hopefully) no more need to use temporary strings. Also, docs and examples show that static strings are fine. Hence, remove the hacks used when calling PyImport_AppendInittab, PyRun_SimpleString, and PyImport_AddModule, and directly pass static C strings.
parent
67eaa48a
Please register or sign in to comment