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
82b449c5
Commit
82b449c5
authored
May 21, 2021
by
Maxime Perrotin
Browse files
Support GUIs with a single PI and no RI
parent
087202ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/skeletons/gui-enum-defs/function.tmplt
View file @
82b449c5
...
...
@@ -32,7 +32,11 @@
*/
#pragma once
@@IF@@ @_List_Of_ASync_PIs'Length_@ > 1 @@-- include "Poll"
@@-- the list of PIs may include "Poll" if there are RIs
@@-- so we must create the type either if there is more than one element in
@@-- the list, or of there is only one but it is not "poll"
// @_List_Of_ASync_PIs'Length_@ @_LOWER:List_Of_ASync_PIs_@
@@IF@@ @_List_Of_ASync_PIs'Length_@ > 1 or (@_List_Of_ASync_PIs'Length_@ = 1 and @_LOWER:List_Of_ASync_PIs_@ /= poll)
typedef enum {
@@INLINE( )(,\n )()@@
@@TABLE@@
...
...
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