home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / g++ / Incremental.h < prev    next >
C/C++ Source or Header  |  1993-06-29  |  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.