diff --git a/implot/core.pxd b/implot/core.pxd deleted file mode 100644 index 3d1d4c8..0000000 --- a/implot/core.pxd +++ /dev/null @@ -1,19 +0,0 @@ -""" -This file provides all C/C++ definitions that need to be shared between all -extension modules. This is mostly for the `extra` submodule that provides -some additional utilities that do not belong to `core`. -""" -cimport cimgui - -# cdef class _Font(object): -# cdef cimgui.ImFont* _ptr -# -# @staticmethod -# cdef from_ptr(cimgui.ImFont* ptr) - -# allows using _ImGuiContext in plot.pyx -cdef class _ImGuiContext(object): - cdef cimgui.ImGuiContext* _ptr - - @staticmethod - cdef from_ptr(cimgui.ImGuiContext* ptr) diff --git a/implot/plot.pyx b/implot/plot.pyx index a3175aa..1151f37 100644 --- a/implot/plot.pyx +++ b/implot/plot.pyx @@ -13,7 +13,7 @@ from libc.stdlib cimport malloc, free cimport cimplot cimport cimgui -cimport core +cimport imgui.core as core cimport enums from imgui import core diff --git a/setup.py b/setup.py index e082150..9d14959 100644 --- a/setup.py +++ b/setup.py @@ -149,7 +149,7 @@ def backend_extras(*requirements): # include_dirs=['imgui', 'implot-cpp'], # include_dirs=['implot', 'config-cpp', 'imgui-cpp', 'ansifeed-cpp', 'implot-cpp'], # include_dirs=['implot', 'config-cpp', 'imgui-cpp', 'implot-cpp'], - include_dirs=['implot', 'imgui-cpp', 'implot-cpp'], + include_dirs=['implot', 'config-cpp', 'imgui-cpp', 'implot-cpp'], ), ]