81#define CPPYY_INITIALIZE_STRING(var, str) \
82 if (!(PyStrings::var = CPyCppyy_PyText_InternFromString((char*)#str))) \
92#if PY_VERSION_HEX < 0x03000000
172 Py_DECREF(PyStrings::gBases); PyStrings::gBases =
nullptr;
173 Py_DECREF(PyStrings::gBase); PyStrings::gBase =
nullptr;
174 Py_DECREF(PyStrings::gCopy); PyStrings::gCopy =
nullptr;
175 Py_DECREF(PyStrings::gCppBool); PyStrings::gCppBool =
nullptr;
176 Py_DECREF(PyStrings::gCppName); PyStrings::gCppName =
nullptr;
177 Py_DECREF(PyStrings::gAnnotations); PyStrings::gAnnotations =
nullptr;
178 Py_DECREF(PyStrings::gCType); PyStrings::gCType =
nullptr;
179 Py_DECREF(PyStrings::gDeref); PyStrings::gDeref =
nullptr;
180 Py_DECREF(PyStrings::gPreInc); PyStrings::gPreInc =
nullptr;
181 Py_DECREF(PyStrings::gPostInc); PyStrings::gPostInc =
nullptr;
182 Py_DECREF(PyStrings::gDict); PyStrings::gDict =
nullptr;
183 Py_DECREF(PyStrings::gEmptyString); PyStrings::gEmptyString =
nullptr;
184 Py_DECREF(PyStrings::gEq); PyStrings::gEq =
nullptr;
185 Py_DECREF(PyStrings::gFollow); PyStrings::gFollow =
nullptr;
186 Py_DECREF(PyStrings::gGetItem); PyStrings::gGetItem =
nullptr;
187 Py_DECREF(PyStrings::gGetNoCheck); PyStrings::gGetNoCheck =
nullptr;
188 Py_DECREF(PyStrings::gSetItem); PyStrings::gSetItem =
nullptr;
189 Py_DECREF(PyStrings::gInit); PyStrings::gInit =
nullptr;
190 Py_DECREF(PyStrings::gIter); PyStrings::gIter =
nullptr;
191 Py_DECREF(PyStrings::gLen); PyStrings::gLen =
nullptr;
192 Py_DECREF(PyStrings::gLifeLine); PyStrings::gLifeLine =
nullptr;
193 Py_DECREF(PyStrings::gModule); PyStrings::gModule =
nullptr;
194 Py_DECREF(PyStrings::gMRO); PyStrings::gMRO =
nullptr;
195 Py_DECREF(PyStrings::gName); PyStrings::gName =
nullptr;
196 Py_DECREF(PyStrings::gNe); PyStrings::gNe =
nullptr;
197 Py_DECREF(PyStrings::gTypeCode); PyStrings::gTypeCode =
nullptr;
198 Py_DECREF(PyStrings::gCTypesType); PyStrings::gCTypesType =
nullptr;
200 Py_DECREF(PyStrings::gUnderlying); PyStrings::gUnderlying =
nullptr;
201 Py_DECREF(PyStrings::gRealInit); PyStrings::gRealInit =
nullptr;
203 Py_DECREF(PyStrings::gAdd); PyStrings::gAdd =
nullptr;
204 Py_DECREF(PyStrings::gSub); PyStrings::gSub =
nullptr;
205 Py_DECREF(PyStrings::gMul); PyStrings::gMul =
nullptr;
206 Py_DECREF(PyStrings::gDiv); PyStrings::gDiv =
nullptr;
208 Py_DECREF(PyStrings::gLShift); PyStrings::gLShift =
nullptr;
209 Py_DECREF(PyStrings::gLShiftC); PyStrings::gLShiftC =
nullptr;
211 Py_DECREF(PyStrings::gAt); PyStrings::gAt =
nullptr;
212 Py_DECREF(PyStrings::gBegin); PyStrings::gBegin =
nullptr;
213 Py_DECREF(PyStrings::gEnd); PyStrings::gEnd =
nullptr;
214 Py_DECREF(PyStrings::gFirst); PyStrings::gFirst =
nullptr;
215 Py_DECREF(PyStrings::gSecond); PyStrings::gSecond =
nullptr;
216 Py_DECREF(PyStrings::gSize); PyStrings::gSize =
nullptr;
217 Py_DECREF(PyStrings::gTemplate); PyStrings::gTemplate =
nullptr;
218 Py_DECREF(PyStrings::gVectorAt); PyStrings::gVectorAt =
nullptr;
219 Py_DECREF(PyStrings::gInsert); PyStrings::gInsert =
nullptr;
220 Py_DECREF(PyStrings::gValueType); PyStrings::gValueType =
nullptr;
221 Py_DECREF(PyStrings::gValueSize); PyStrings::gValueSize =
nullptr;
223 Py_DECREF(PyStrings::gCppReal); PyStrings::gCppReal =
nullptr;
224 Py_DECREF(PyStrings::gCppImag); PyStrings::gCppImag =
nullptr;
226 Py_DECREF(PyStrings::gThisModule); PyStrings::gThisModule =
nullptr;
228 Py_DECREF(PyStrings::gDispInit); PyStrings::gDispInit =
nullptr;
229 Py_DECREF(PyStrings::gDispGet); PyStrings::gDispGet =
nullptr;
231 Py_DECREF(PyStrings::gExPythonize); PyStrings::gExPythonize =
nullptr;
232 Py_DECREF(PyStrings::gPythonize); PyStrings::gPythonize =
nullptr;
234 Py_DECREF(PyStrings::gArray); PyStrings::gArray =
nullptr;
235 Py_DECREF(PyStrings::gDType); PyStrings::gDType =
nullptr;
236 Py_DECREF(PyStrings::gFromBuffer); PyStrings::gFromBuffer =
nullptr;
#define CPyCppyy_PyText_FromString
#define CPPYY_INITIALIZE_STRING(var, str)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
PyObject * DestroyPyStrings()