home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Headers / g++ / Incremental.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-06  |  390 b   |  14 lines

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