home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / libg++-2.7.1-bin.lha / lib / g++-include / Incremental.h < prev    next >
C/C++ Source or Header  |  1996-10-12  |  372b  |  13 lines

  1. #ifndef Incremental_h
  2. #ifdef __GNUG__
  3. #pragma interface
  4. #endif
  5. #define Incremental_h
  6. #define DECLARE_INIT_FUNCTION(USER_INIT_FUNCTION) \
  7. static void USER_INIT_FUNCTION (); extern void (*_initfn)(); \
  8. static struct xyzzy { xyzzy () {_initfn = USER_INIT_FUNCTION;}; \
  9. ~xyzzy () {};} __2xyzzy;
  10. #else
  11. #error Incremental.h was not the first file included in this module
  12. #endif
  13.