Mercurial > hg > vampy
comparison pyvamp-main.cpp @ 26:ba3686eb697c
examples now pass all tests
author | fazekasgy |
---|---|
date | Wed, 19 Aug 2009 15:21:17 +0000 |
parents | 7648f3f2fa14 |
children | e80caada79a8 |
comparison
equal
deleted
inserted
replaced
25:7648f3f2fa14 | 26:ba3686eb697c |
---|---|
178 cerr << "Warning: Could not preload Python. Dynamic loading in scripts will fail." << endl; | 178 cerr << "Warning: Could not preload Python. Dynamic loading in scripts will fail." << endl; |
179 Py_Initialize(); | 179 Py_Initialize(); |
180 cerr << "# isPythonInitialized after initialize: " << Py_IsInitialized() << endl; | 180 cerr << "# isPythonInitialized after initialize: " << Py_IsInitialized() << endl; |
181 // PyEval_InitThreads(); //not sure why this was needed | 181 // PyEval_InitThreads(); //not sure why this was needed |
182 } | 182 } |
183 | |
184 | 183 |
185 vector<string> pyPlugs; | 184 vector<string> pyPlugs; |
186 vector<string> pyPath; | 185 vector<string> pyPath; |
187 vector<PyObject *> pyClasses; | 186 vector<PyObject *> pyClasses; |
188 static PyPlugScanner *scanner; | 187 static PyPlugScanner *scanner; |