summaryrefslogtreecommitdiff
path: root/tools/dfagen/dfagen/output/c/template_cb_impl.c
diff options
context:
space:
mode:
authorNicolas Schodet2009-05-08 23:07:25 +0200
committerNicolas Schodet2009-05-08 23:07:25 +0200
commitb566e4bcd0c7cb3c90ad941b37db223134090ded (patch)
tree7d3f24a25860e17e7fa9cd017ad2d8bd8c0bd227 /tools/dfagen/dfagen/output/c/template_cb_impl.c
parent6b3d5061623a35c96e66e25fc14af6a9323f81b0 (diff)
* tools/dfagen:
- added state attributes. - added support for more than one initial state. - added table of transitions with only one default branch. - added state and event template parameter. - added --output-dir. - make template directory relative to config file. - more options checking. - added transition attributes and callback definition. - conserve input file order in output. - added --dump and more option checking. - fixed missing newline.
Diffstat (limited to 'tools/dfagen/dfagen/output/c/template_cb_impl.c')
-rw-r--r--tools/dfagen/dfagen/output/c/template_cb_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dfagen/dfagen/output/c/template_cb_impl.c b/tools/dfagen/dfagen/output/c/template_cb_impl.c
index ffd9720f..e5a4d789 100644
--- a/tools/dfagen/dfagen/output/c/template_cb_impl.c
+++ b/tools/dfagen/dfagen/output/c/template_cb_impl.c
@@ -2,7 +2,7 @@
* %(state)s =%(event)s=>
%(*branches_to)s */
%(prefix)s_branch_t
-%(prefix)s__%(state)s__%(event)s (%(user.type)s *user)
+%(callback)s (%(user.type)s *user)
{
%(returns)s
}