00001 // $Id: LeaMacro.h,v 1.1 2000/08/04 05:53:50 west Exp $ 00002 00003 // Program Notes:- 00004 // ============= 00005 00006 // This header file must ONLY be used by Lea.h; user code must 00007 // use that header file. This second level of header is only 00008 // here so that rootcint won't see it (as LEAK_CHECKER switch is 00009 // not enable for rootcint) because it gets upset by __FILE__. 00010 00011 #ifndef LEAMACRO_H 00012 #define LEAMACRO_H 00013 00014 #define LEA_CTOR_NM(n,a) LeaLeakChecker::Instance()->Add(n,a); 00015 #define LEA_DTOR_NM(n,a) LeaLeakChecker::Instance()->Remove(n,a); 00016 #define LEA_CTOR LEA_CTOR_NM(__FILE__,this) 00017 #define LEA_DTOR LEA_DTOR_NM(__FILE__,this) 00018 00019 #endif // LEAMACRO_H
1.3.9.1