diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-23 15:02:35 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-23 15:02:35 +0000 |
commit | 06072b5d39f9feb2dfe242d931072783f615dce9 (patch) | |
tree | 8b050be84abc2ddc898e34db5841c368657dfbf3 /src/include/cctk_Main.h | |
parent | ef385356696f10c71dc0e6b27edc90f0b3ac9491 (diff) |
Prototypes for overloadable main functions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1489 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Main.h')
-rw-r--r-- | src/include/cctk_Main.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/include/cctk_Main.h b/src/include/cctk_Main.h new file mode 100644 index 00000000..d0dcc37d --- /dev/null +++ b/src/include/cctk_Main.h @@ -0,0 +1,41 @@ + /*@@ + @header cctk_Main.h + @date Tue Mar 21 19:42:29 2000 + @author Tom Goodale + @desc + Header defining the variables holding the overloaded main functions + @enddesc + @version $Header$ + @@*/ + +#ifndef _CCTK_MAIN_H_ +#define _CCTK_MAIN_H_ + +#include "OverloadMacros.h" + +#ifdef __cplusplus +extern "C" { +#endif +/* Define the prototypes for the functions. */ +#define OVERLOADABLE(name) OVERLOADABLE_PROTOTYPE(name) + +#include "MainOverloadables.h" + +#undef OVERLOADABLE + +/* Define the prototypes for the overloading functions. */ +#define OVERLOADABLE(name) OVERLOADABLE_OVERLOADPROTO(name) + +#include "MainOverloadables.h" + +#undef OVERLOADABLE + +#ifdef __cplusplus +} +#endif + +#endif + + + + |