Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kazoo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
kazoo
Commits
083cbd1f
Commit
083cbd1f
authored
Jun 03, 2018
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work on the blackbox templates
parent
4231eded
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
20 deletions
+19
-20
templates/skeletons/blackbox-c-body/interface.tmplt
templates/skeletons/blackbox-c-body/interface.tmplt
+0
-9
templates/skeletons/blackbox-c-header/interface.tmplt
templates/skeletons/blackbox-c-header/interface.tmplt
+19
-11
No files found.
templates/skeletons/blackbox-c-body/interface.tmplt
View file @
083cbd1f
...
...
@@ -19,15 +19,6 @@ void @_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@INLINE( /*\n * )(\n * )(\n */\n)@@
@@TABLE@@
@@IF@@ @_Param_Directions_@ = "PARAM_IN"
IN_@_LOWER:Param_Names_@ type: @_Param_Types_@ ; encoding: @_Param_Encodings_@
@@ELSE@@
OUT_@_LOWER:Param_Names_@ type: @_Param_Types_@ ; encoding: @_Param_Encodings_@
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@ELSE@@
void @_LOWER:Parent_Function_@_@_LOWER:Name_@()
@@END_IF@@
...
...
templates/skeletons/blackbox-c-header/interface.tmplt
View file @
083cbd1f
...
...
@@ -9,17 +9,25 @@
@@-- @_Param_Directions_@ : |_ Corresponding direction
@@-- @_Param_Encodings_@ : |_ Corresponding encoding (Default, Native, UPER, ACN)
@@IF@@ @_Direction_@ = "PI"
extern void @_LOWER:Parent_Function_@_@_LOWER:Name_@
(
extern void @_LOWER:Parent_Function_@_@_LOWER:Name_@
@@ELSE@@
extern void
@_LOWER:Parent_Function_@_RI_@_LOWER:Name_@(
extern void
vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
@@INLINE(, )@@
@@TABLE@@
@@IF@@ @_Param_Directions_@ = "PARAM_IN"
const char *IN_@_Param_Names_@, size_t IN_@_Param_Names_@_len
@@ELSE@@
char *OUT_@_Param_Names_@, size_t *OUT_@_Param_Names_@_len
@@END_IF@@
@@END_TABLE@@
@@INLINE( \()(,\n )(\);\n)@@
@@TABLE@@
@@IF@@ @_Param_Directions_@ = "PARAM_IN"
const char *IN_@_Param_Names_@, size_t IN_@_Param_Names_@_len
@@ELSE@@
char *OUT_@_Param_Names_@, size_t *OUT_@_Param_Names_@_len
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@INLINE( /* ASN.1 Type and encoding of the parameters:\n * )(\n * )(\n */\n)@@
@@TABLE@@
@@IF@@ @_Param_Directions_@ = "PARAM_IN"
IN_@_LOWER:Param_Names_@ type: @_Param_Types_@ ; encoding: @_Param_Encodings_@
@@ELSE@@
OUT_@_LOWER:Param_Names_@ type: @_Param_Types_@ ; encoding: @_Param_Encodings_@
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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