summaryrefslogtreecommitdiff
path: root/src/include/Main.h
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-01 15:10:05 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-01 15:10:05 +0000
commit686e23ae66cffcaa023c9203bb8c6b73106e7ee2 (patch)
treec98050d8077e08bb54548f69269b83eb384ce2dc /src/include/Main.h
parent76ccd6359644a2530bdc416c09e3f7d8687e0c87 (diff)
New file for overloadable functions from main.
Added production of prototypes for CCTK_Overload* using new macro from Overload.h. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@539 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/Main.h')
-rw-r--r--src/include/Main.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/include/Main.h b/src/include/Main.h
new file mode 100644
index 00000000..cc8e9913
--- /dev/null
+++ b/src/include/Main.h
@@ -0,0 +1,42 @@
+ /*@@
+ @header Main.h
+ @date Tue Jun 1 13:24:32 1999
+ @author Tom Goodale
+ @desc
+ Header defining the variables holding the overloaded main functions
+ @enddesc
+ @version $Header$
+ @@*/
+
+
+#ifndef _MAIN_H_
+#define _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
+
+
+
+