add note about preloading

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1375 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent d29973deef
commit 1935d6d2c8

@ -84,7 +84,6 @@ int SCPyModule::preload() {
PyEval_ReleaseLock();
return 0;
// _thr_state = PyEval_SaveThread();
}
DSMAction* SCPyModule::getAction(const string& from_str) {

@ -23,6 +23,10 @@ Indentation is a little ugly with multi-line py() actions.
But this is Python's fault (in 21st century, who creates a
programming language with fixed indentation?).
mod_py MUST be preloaded, to initialize the python interpreter.
add preload=mod_py to dsm.conf.
locals
======
type - event type (dsm.Timer, dsm.Key, ...)

Loading…
Cancel
Save