source: trunk/src/emx/include/Attic/cpp/Incremen.h@ 18

Last change on this file since 18 was 18, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 372 bytes
Line 
1#ifndef Incremental_h
2#ifdef __GNUG__
3#pragma interface
4#endif
5#define Incremental_h
6#define DECLARE_INIT_FUNCTION(USER_INIT_FUNCTION) \
7static void USER_INIT_FUNCTION (); extern void (*_initfn)(); \
8static 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
Note: See TracBrowser for help on using the repository browser.