00001 /* 00002 FALCON - The Falcon Programming Language. 00003 FILE: gcalloc.h 00004 00005 Base allocation declaration for engine classes 00006 ------------------------------------------------------------------- 00007 Author: Giancarlo Niccolai 00008 Begin: Sun, 01 Mar 2009 14:17:48 +0100 00009 00010 ------------------------------------------------------------------- 00011 (C) Copyright 2009: the FALCON developers (see list in AUTHORS file) 00012 00013 See LICENSE file for licensing details. 00014 */ 00015 00020 #ifndef flc_gcalloc_H 00021 #define flc_gcalloc_H 00022 00023 #include <falcon/setup.h> 00024 #include <stdlib.h> // for size_t declaration 00025 00026 namespace Falcon { 00027 00028 class FALCON_DYN_CLASS GCAlloc 00029 { 00030 public: 00031 void *operator new( size_t size ); 00032 void operator delete( void *mem, size_t size ); 00033 }; 00034 00035 } 00036 00037 #endif 00038 00039 /* end of gcalloc.h */