optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.
This commit is contained in:
@@ -86,13 +86,7 @@ public:
|
|||||||
virtual GHOST_TEventDataPtr getData() = 0;
|
virtual GHOST_TEventDataPtr getData() = 0;
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEvent")
|
||||||
void *operator new(size_t num_bytes) {
|
|
||||||
return MEM_mallocN(num_bytes, "GHOST:GHOST_IEvent");
|
|
||||||
}
|
|
||||||
void operator delete(void *mem) {
|
|
||||||
MEM_freeN(mem);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -64,9 +64,7 @@ public:
|
|||||||
virtual bool processEvent(GHOST_IEvent *event) = 0;
|
virtual bool processEvent(GHOST_IEvent *event) = 0;
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEventConsumer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GHOST:GHOST_IEventConsumer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -306,9 +306,7 @@ public:
|
|||||||
virtual GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_Rect *bounds) { return GHOST_kSuccess; }
|
virtual GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_Rect *bounds) { return GHOST_kSuccess; }
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IWindow")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GHOST:GHOST_IWindow"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -190,9 +190,7 @@ public:
|
|||||||
GHOST_TInt32 m_b;
|
GHOST_TInt32 m_b;
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_Rect")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GHOST:GHOST_Rect"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -162,9 +162,7 @@ protected:
|
|||||||
GHOST_IWindow *m_activeWindowBeforeFullScreen;
|
GHOST_IWindow *m_activeWindowBeforeFullScreen;
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_WindowManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GHOST:GHOST_WindowManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@@ -167,7 +167,27 @@ extern "C" {
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
const char *MEM_name_ptr(void *vmemh);
|
const char *MEM_name_ptr(void *vmemh);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
/* alloc funcs for C++ only */
|
||||||
|
#define MEM_CXX_CLASS_ALLOC_FUNCS(_id) \
|
||||||
|
public: \
|
||||||
|
void *operator new(size_t num_bytes) { \
|
||||||
|
return MEM_mallocN(num_bytes, _id); \
|
||||||
|
} \
|
||||||
|
void operator delete(void *mem) { \
|
||||||
|
MEM_freeN(mem); \
|
||||||
|
} \
|
||||||
|
void *operator new[](size_t num_bytes) { \
|
||||||
|
return MEM_mallocN(num_bytes, _id "[]"); \
|
||||||
|
} \
|
||||||
|
void operator delete[](void *mem) { \
|
||||||
|
MEM_freeN(mem); \
|
||||||
|
} \
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -204,9 +204,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("CXX:STR_String")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "CXX:STR_String"); }
|
|
||||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -66,5 +66,9 @@ public:
|
|||||||
* @see SocketConnection - a link between two sockets
|
* @see SocketConnection - a link between two sockets
|
||||||
*/
|
*/
|
||||||
static void convertResolution(SocketConnection *connection, ExecutionSystem *system);
|
static void convertResolution(SocketConnection *connection, ExecutionSystem *system);
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:Converter")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@@ -48,6 +48,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void execute(WorkPackage *work) = 0;
|
virtual void execute(WorkPackage *work) = 0;
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:Device")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -394,7 +394,10 @@ public:
|
|||||||
* @see ExecutionSystem.execute
|
* @see ExecutionSystem.execute
|
||||||
*/
|
*/
|
||||||
CompositorPriority getRenderPriotrity();
|
CompositorPriority getRenderPriotrity();
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:ExecutionGroup")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -232,5 +232,9 @@ private:
|
|||||||
|
|
||||||
void executeGroups(CompositorPriority priority);
|
void executeGroups(CompositorPriority priority);
|
||||||
|
|
||||||
};
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:ExecutionSystem")
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* _COM_ExecutionSystem_h */
|
||||||
|
@@ -123,5 +123,10 @@ public:
|
|||||||
* @param system the execution system to dump
|
* @param system the execution system to dump
|
||||||
*/
|
*/
|
||||||
static void debugDump(ExecutionSystem *system);
|
static void debugDump(ExecutionSystem *system);
|
||||||
};
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:ExecutionSystemHelper")
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* _COM_ExecutionSystemHelper_h */
|
||||||
|
@@ -166,6 +166,10 @@ public:
|
|||||||
float *convertToValueBuffer();
|
float *convertToValueBuffer();
|
||||||
private:
|
private:
|
||||||
unsigned int determineBufferSize();
|
unsigned int determineBufferSize();
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:MemoryBuffer")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -102,6 +102,10 @@ public:
|
|||||||
* @brief get the allocated memory
|
* @brief get the allocated memory
|
||||||
*/
|
*/
|
||||||
inline MemoryBuffer *getBuffer() { return this->buffer; }
|
inline MemoryBuffer *getBuffer() { return this->buffer; }
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:MemoryProxy")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -141,6 +141,11 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void addOutputSocket(DataType datatype);
|
void addOutputSocket(DataType datatype);
|
||||||
void addOutputSocket(DataType datatype, bNodeSocket *socket);
|
void addOutputSocket(DataType datatype, bNodeSocket *socket);
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:NodeBase")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -74,6 +74,9 @@ public:
|
|||||||
void setEditorSocket(bNodeSocket *editorSocket) { this->editorSocket = editorSocket; }
|
void setEditorSocket(bNodeSocket *editorSocket) { this->editorSocket = editorSocket; }
|
||||||
bNodeSocket *getbNodeSocket() const { return this->editorSocket; }
|
bNodeSocket *getbNodeSocket() const { return this->editorSocket; }
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:Socket")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -118,6 +118,10 @@ public:
|
|||||||
* @return needs conversion [true:false]
|
* @return needs conversion [true:false]
|
||||||
*/
|
*/
|
||||||
bool needsResolutionConversion() const;
|
bool needsResolutionConversion() const;
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:SocketConnection")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -106,6 +106,10 @@ public:
|
|||||||
|
|
||||||
inline const unsigned int getWidth() const { return this->width; }
|
inline const unsigned int getWidth() const { return this->width; }
|
||||||
inline const unsigned int getHeight() const { return this->height; }
|
inline const unsigned int getHeight() const { return this->height; }
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:SocketReader")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif /* _COM_SocketReader_h */
|
||||||
|
@@ -59,6 +59,10 @@ public:
|
|||||||
* @brief get the number of the chunk
|
* @brief get the number of the chunk
|
||||||
*/
|
*/
|
||||||
unsigned int getChunkNumber() const { return this->chunkNumber; }
|
unsigned int getChunkNumber() const { return this->chunkNumber; }
|
||||||
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:WorkPackage")
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -110,5 +110,10 @@ public:
|
|||||||
* @see CompositorContext.getHasActiveOpenCLDevices
|
* @see CompositorContext.getHasActiveOpenCLDevices
|
||||||
*/
|
*/
|
||||||
static bool hasGPUDevices();
|
static bool hasGPUDevices();
|
||||||
};
|
|
||||||
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
|
MEM_CXX_CLASS_ALLOC_FUNCS("COM:WorkScheduler")
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* _COM_WorkScheduler_h_ */
|
||||||
|
@@ -194,9 +194,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderCanvas")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderCanvas"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -72,9 +72,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_BlenderInputDevice")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_BlenderInputDevice"); }
|
|
||||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif //__KX_BLENDERINPUTDEVICE_H__
|
#endif //__KX_BLENDERINPUTDEVICE_H__
|
||||||
|
@@ -55,9 +55,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderKeyboardDevice")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderKeyboardDevice"); }
|
|
||||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -51,9 +51,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderMouseDevice")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderMouseDevice"); }
|
|
||||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -108,9 +108,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderRenderTools")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderRenderTools"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -49,9 +49,7 @@ public:
|
|||||||
virtual double GetTimeInSeconds();
|
virtual double GetTimeInSeconds();
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderSystem")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderSystem"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -100,9 +100,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_DeformableGameObject")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_DeformableGameObject"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -90,9 +90,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_MeshDeformer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_MeshDeformer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -107,9 +107,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ModifierDeformer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ModifierDeformer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -79,9 +79,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ShapeDeformer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ShapeDeformer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -116,9 +116,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_SkinDeformer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_SkinDeformer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -100,9 +100,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BlenderWorldInfo")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BlenderWorldInfo"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -55,9 +55,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ScalarInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ScalarInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -71,9 +69,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_InterpolatorList")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_InterpolatorList"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -191,9 +191,7 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BlenderSceneConverter")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BlenderSceneConverter"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -93,9 +93,7 @@ protected:
|
|||||||
//class RAS_MeshObject *m_pMesh;
|
//class RAS_MeshObject *m_pMesh;
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ShapeDeformer")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ShapeDeformer"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -56,11 +56,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
bool m_bool;
|
bool m_bool;
|
||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CBoolValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CBoolValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -47,9 +47,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CConstExpr")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CConstExpr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -41,9 +41,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CEmptyValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CEmptyValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -39,9 +39,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CErrorValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CErrorValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -74,9 +74,7 @@ class CBrokenLinkInfo
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CBrokenLinkInfo")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CBrokenLinkInfo"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -144,9 +142,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CExpression")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CExpression"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -50,9 +50,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CFloatValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CFloatValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -52,9 +52,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CIdentifierExpr")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CIdentifierExpr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -51,9 +51,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CIfExpr")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CIfExpr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -110,9 +110,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CParser")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CParser"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -65,9 +65,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CIntValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CIntValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -54,9 +54,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CHashedPtr")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CHashedPtr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -52,9 +52,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:COperator1Expr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -58,9 +58,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:COperator2Expr")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:COperator2Expr"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -534,21 +534,11 @@ typedef PyTypeObject *PyParentObject; /* Define the PyParent Object */
|
|||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
#define Py_Header \
|
#define Py_Header \
|
||||||
public: \
|
public: \
|
||||||
void *operator new(size_t num_bytes) { \
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:PyObjectPlus") \
|
||||||
return MEM_mallocN(num_bytes, "GE:PyObjectPlus"); \
|
|
||||||
} \
|
|
||||||
void operator delete( void *mem ) { \
|
|
||||||
MEM_freeN(mem); \
|
|
||||||
} \
|
|
||||||
|
|
||||||
#define Py_HeaderPtr \
|
#define Py_HeaderPtr \
|
||||||
public: \
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:PyObjectPlusPtr") \
|
||||||
void *operator new(size_t num_bytes) { \
|
|
||||||
return MEM_mallocN(num_bytes, "GE:PyObjectPlusPtr"); \
|
|
||||||
} \
|
|
||||||
void operator delete( void *mem ) { \
|
|
||||||
MEM_freeN(mem); \
|
|
||||||
} \
|
|
||||||
|
|
||||||
#else // WITH_CXX_GUARDEDALLOC
|
#else // WITH_CXX_GUARDEDALLOC
|
||||||
|
|
||||||
|
@@ -53,9 +53,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CStringValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CStringValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -164,9 +164,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CAction")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CAction"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -436,11 +434,8 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
STR_String m_strNewName; // Identification
|
STR_String m_strNewName; // Identification
|
||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CPropValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CPropValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -86,9 +86,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CVectorValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CVectorValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -66,9 +66,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:CVoidValue")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CVoidValue"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -49,9 +49,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_ActuatorEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_ActuatorEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -43,9 +43,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_AlwaysEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_AlwaysEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -50,9 +50,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_BasicEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_BasicEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -84,9 +84,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_EventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_EventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -59,9 +59,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_ExpressionController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_ExpressionController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -160,9 +160,7 @@ public:
|
|||||||
bool IsType(KX_ACTUATOR_TYPE type) { return m_type == type; }
|
bool IsType(KX_ACTUATOR_TYPE type) { return m_type == type; }
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_IActuator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_IActuator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -316,9 +316,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_InputEvent")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_InputEvent"); }
|
|
||||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -74,9 +74,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_IScene")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_IScene"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -51,9 +51,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_JoystickManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_JoystickManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -59,9 +59,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_KeyboardManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_KeyboardManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -147,9 +147,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_LogicManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_LogicManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -68,9 +68,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_MouseManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_MouseManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -48,9 +48,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_PropertyEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_PropertyEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -47,9 +47,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_RandomEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_RandomEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -77,9 +77,7 @@ class SCA_RandomNumberGenerator {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_RandomNumberGenerator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_RandomNumberGenerator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -55,9 +55,7 @@ public:
|
|||||||
vector<CValue*> GetTimeValues();
|
vector<CValue*> GetTimeValues();
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_TimeEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_TimeEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -132,9 +132,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_Action")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Action"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -94,9 +94,7 @@ public:
|
|||||||
void Update(float);
|
void Update(float);
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ActionManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ActionManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -97,9 +97,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_BlenderShader")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_BlenderShader"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -110,9 +110,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_Material")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Material"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -32,9 +32,7 @@ public:
|
|||||||
int mLoc; // Sampler location
|
int mLoc; // Sampler location
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_Sampler")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Sampler"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -79,9 +77,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_Uniform")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Uniform"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -104,9 +100,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_DefUniform")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_DefUniform"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -74,9 +74,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_Texture")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Texture"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -92,9 +92,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BulletPhysicsController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BulletPhysicsController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -90,9 +90,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_CameraIpoSGController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_CameraIpoSGController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -80,9 +80,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ClientObjectInfo")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ClientObjectInfo"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -191,9 +191,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_Dome")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_Dome"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -43,9 +43,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_EmptyObject")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_EmptyObject"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -69,12 +69,8 @@ protected:
|
|||||||
|
|
||||||
class RAS_IRenderTools* m_rendertools; //needed for drawing routine
|
class RAS_IRenderTools* m_rendertools; //needed for drawing routine
|
||||||
|
|
||||||
#if 0 // WHY COMMENTED? - campbell
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_FontObject")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_FontObject"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_PYTHON
|
#ifdef WITH_PYTHON
|
||||||
|
@@ -46,9 +46,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_IInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_IInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -119,11 +119,10 @@ public:
|
|||||||
m_ipotime = time;
|
m_ipotime = time;
|
||||||
m_modified = true;
|
m_modified = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_IpoSGController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_IpoSGController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -141,9 +141,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_IPhysicsController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_IPhysicsController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -44,9 +44,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_IScalarInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_IScalarInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -89,9 +89,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ISceneConverter")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ISceneConverter"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -55,9 +55,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ISystem")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ISystem"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -443,9 +443,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_KetsjiEngine")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_KetsjiEngine"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -98,9 +98,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_LightIpoSGController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_LightIpoSGController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -58,9 +58,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_MaterialIpoController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_MaterialIpoController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -58,8 +58,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_MotionState"); }
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_MotionState")
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -73,9 +73,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ObColorIpoSGController")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ObColorIpoSGController"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -56,9 +56,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
private:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_OrientationInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_OrientationInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -56,9 +56,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
private:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_PositionInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_PositionInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -96,9 +96,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_RayCast")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_RayCast"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -135,9 +133,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_RayCast::Callback")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_RayCast::Callback"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -46,9 +46,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_RayEventManager")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_RayEventManager"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -89,9 +89,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BoneParentRelation")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BoneParentRelation"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -88,9 +88,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_NormalParentRelation")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_NormalParentRelation"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -145,9 +143,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_VertexParentRelation")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_VertexParentRelation"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -228,9 +224,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_SlowParentRelation")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_SlowParentRelation"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -61,9 +61,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ScalarInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ScalarInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -56,9 +56,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WITH_CXX_GUARDEDALLOC
|
#ifdef WITH_CXX_GUARDEDALLOC
|
||||||
public:
|
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ScalingInterpolator")
|
||||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_ScalingInterpolator"); }
|
|
||||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user