mirror of
https://github.com/H-uru/korman.git
synced 2025-07-13 18:17:38 -04:00
C Korlib code de-duplication
Moves all PyHSPlasma struct definitions into a private header file. Also adds move constructor and assignment support to PyObjectRef.
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include "texture.h"
|
||||
#include "PyHSPlasma_private.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
@ -205,12 +206,6 @@ typedef struct {
|
||||
bool m_imageInverted;
|
||||
} pyGLTexture;
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
plMipmap* fThis;
|
||||
bool fPyOwned;
|
||||
} pyMipmap;
|
||||
|
||||
// ===============================================================================================
|
||||
|
||||
static void pyGLTexture_dealloc(pyGLTexture* self) {
|
||||
|
Reference in New Issue
Block a user