home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / g__inc / xincreme.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-23  |  385 b   |  14 lines

  1. #ifndef Incremental_h
  2. #ifdef __GNUG__
  3. #pragma once
  4. #pragma interface
  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.