Commit b8d9f2cd authored by Maxime Perrotin's avatar Maxime Perrotin

Minor refactoring of blackbox device templates

parent a79ac13c
......@@ -73,15 +73,19 @@ void init_@_LOWER:Name_@();
extern void adainit();
@@END_IF@@
@@IF@@ @_EXIST:Provided_Interfaces_@ and @_Language_@ /= "Blackbox_C"
/* Provided interfaces */
@@TABLE@@
@_Provided_Interfaces_@
@@END_TABLE@@
@@END_IF@@
@@IF@@ @_EXIST:Required_Interfaces_@
/* Required interfaces */
@@TABLE@@
@_Required_Interfaces_@
@@END_TABLE@@
@@END_IF@@
#ifdef __cplusplus
}
......
......@@ -9,7 +9,7 @@
@@-- @_Param_Directions_@ : |_ Corresponding direction
@@-- @_Param_Encodings_@ : |_ Corresponding encoding (Default, Native, UPER, ACN)
@@IF@@ @_Direction_@ = "PI"
extern void @_LOWER:Parent_Function_@_@_LOWER:Name_@
void @_LOWER:Parent_Function_@_@_LOWER:Name_@
@@ELSE@@
extern void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
......
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