cutter/src/common/QtResImporter.h
Florian Märkl 23115d7b1c Generate Bindings for CutterCore in CMake
Refactor CMakeLists.txt for bindings

Fix for CUTTER_ENABLE_JUPYTER=OFF
2019-02-21 22:57:26 +01:00

15 lines
278 B
C

#ifndef QTRESIMPORTER_H
#define QTRESIMPORTER_H
#ifdef CUTTER_ENABLE_PYTHON
PyObject *PyInit_qtres();
PyObject *QtResImport(const char *name);
#define RegQtResImporter() Py_DecRef(QtResImport("reg_qtres_importer"))
#endif // CUTTER_ENABLE_PYTHON
#endif // QTRESIMPORTER_H