McRogueFace/src/PyDrawable.h

15 lines
340 B
C
Raw Normal View History

#pragma once
#include "Common.h"
#include "Python.h"
#include "UIDrawable.h"
// Python object structure for UIDrawable base class
typedef struct {
PyObject_HEAD
std::shared_ptr<UIDrawable> data;
} PyDrawableObject;
// Declare the Python type for _Drawable base class
namespace mcrfpydef {
extern PyTypeObject PyDrawableType;
}