// // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // // GAME.O.N.E - LOWLEVELLIB V1.0 // #ifndef _LLMEM_H #define _LLMEM_H /*! * memory functions */ void * llmem_alloc( int size ); void llmem_free( void * ptr ); inline void * operator new( unsigned int sz ) { void *res = llmem_alloc( sz ); return res; } inline void operator delete( void * ptr ) { llmem_free( ptr ); } extern int llmem_current_allocated_memory; extern int llmem_maxpeak_allocated_memory; #endif