Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
5eb6de10
Commit
5eb6de10
authored
Apr 29, 2021
by
Maxime Perrotin
Browse files
Merge branch 'qgen_fix_adacore' into 'feature_buster'
Qgen fix adacore See merge request
!62
parents
79b5aa7b
6fda3939
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/glue/language_wrappers/vm_if-body/function.tmplt
View file @
5eb6de10
...
...
@@ -54,10 +54,14 @@ void init_@_LOWER:Name_@(void)
{
if (0 == @_LOWER:Name_@_initialized) {
@_LOWER:Name_@_initialized = 1;
@@IF@@ @_Language_@ /= "Ada" and @_Language_@ /= "
QGenAda
" and @_Language_@ /= "QGen
C" and @_Language_@ /= "SDL
"
@@IF@@ @_Language_@ /= "Ada" and @_Language_@ /= "
SDL
" and @_Language_@ /= "QGen
Ada
"
// Call user code startup function
@@IF@@ @_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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment