diff options
Diffstat (limited to 'libdimension-python/dimension.c')
-rw-r--r-- | libdimension-python/dimension.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdimension-python/dimension.c b/libdimension-python/dimension.c index f47dfbc..03e2aaa 100644 --- a/libdimension-python/dimension.c +++ b/libdimension-python/dimension.c @@ -22,6 +22,7 @@ #include "Vector.h" #include "Matrix.h" #include "Color.h" +#include "Canvas.h" #include "Scene.h" static PyObject * @@ -73,6 +74,7 @@ PyInit_dimension(void) if (!dmnsn_py_init_VectorType() || !dmnsn_py_init_MatrixType() || !dmnsn_py_init_ColorType() + || !dmnsn_py_init_CanvasType() || !dmnsn_py_init_SceneType()) return NULL; @@ -104,6 +106,8 @@ PyInit_dimension(void) PyModule_AddObject(module, "Yellow", (PyObject *)&dmnsn_py_Yellow); PyModule_AddObject(module, "Cyan", (PyObject *)&dmnsn_py_Cyan); + PyModule_AddObject(module, "Canvas", (PyObject *)&dmnsn_py_CanvasType); + PyModule_AddObject(module, "Scene", (PyObject *)&dmnsn_py_SceneType); return module; |