Mercurial > hg > vampy
comparison pyvamp-main.cpp @ 8:3af6b5990ad8
more examples and some bug fixes
author | fazekasgy |
---|---|
date | Fri, 13 Jun 2008 16:50:00 +0000 |
parents | a4c955e9a70b |
children | acaa8ff2c606 |
comparison
equal
deleted
inserted
replaced
7:a4c955e9a70b | 8:3af6b5990ad8 |
---|---|
112 int isPythonInitialized = Py_IsInitialized(); | 112 int isPythonInitialized = Py_IsInitialized(); |
113 //cerr << "# isPythonInitialized: " << isPythonInitialized << endl; | 113 //cerr << "# isPythonInitialized: " << isPythonInitialized << endl; |
114 //cerr << "# haveScannedPlugins: " << haveScannedPlugins << endl; | 114 //cerr << "# haveScannedPlugins: " << haveScannedPlugins << endl; |
115 | 115 |
116 if (!haveScannedPlugins) { | 116 if (!haveScannedPlugins) { |
117 | 117 |
118 if (!isPythonInitialized) { | 118 if (!isPythonInitialized) { |
119 | 119 |
120 string pythonPath = | 120 string pythonPath = |
121 (string) Py_GetExecPrefix() + pathsep + | 121 (string) Py_GetExecPrefix() + pathsep + |
122 (string) Py_GetProgramName(); | 122 (string) Py_GetProgramName(); |