Commit b5a42129 authored by Daniel Tuulik's avatar Daniel Tuulik
Browse files

Fix templates for QGenC

parent 8cd7d79d
......@@ -54,10 +54,13 @@ void init_@_LOWER:Name_@(void)
{
if (0 == @_LOWER:Name_@_initialized) {
@_LOWER:Name_@_initialized = 1;
@@IF@@ @_Language_@ /= "Ada" and @_Language_@ /= "QGenAda" and @_Language_@ /= "QGenC" and @_Language_@ /= "SDL"
@@IF@@ @_Language_@ /= "Ada" and @_Language_@ /= "SDL"
// Call user code startup function
@@IF@@ @_Language_@ = "QGenAda" or @_Language_@ = "QGenC"
@_LOWER:Name_@_PI_@_List_Of_PIs_@_startup();
@@ELSE@@
extern void @_LOWER:Name_@_startup(void);
@_LOWER:Name_@_startup();
@@END_IF@@
@@ELSIF@@ @_Language_@ = Ada or @_Language_@ = SDL
@@IF@@ @_SDL_Target_Language_@ = "Ada"
// Initialize Ada runtime to call elaboration functions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment