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
8ebaf405
Commit
8ebaf405
authored
Nov 19, 2019
by
Maxime Perrotin
Browse files
Set unique name for the c++ context variable
don't suffix with ctxt, this is already done by the context parameters
parent
62f1db01
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/skeletons/cpp-body/function.tmplt
View file @
8ebaf405
...
...
@@ -38,7 +38,7 @@
// Define and use function state inside this context structure
// avoid defining global/static variable elsewhere
@_LOWER:Name_@_state ctxt;
@_LOWER:Name_@_state ctxt
_@_LOWER:Name_@
;
@@IF@@ @_Has_Context_@
/* Include Context Parameters (constants defined in the Interface View) */
...
...
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