Refactored CStyle in Header and Source File
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- define "cpart" -}}
|
||||
{{- define "cpartHeader" -}}
|
||||
// AUTO GENERATED DO NOT EDIT!!!
|
||||
|
||||
#ifndef _PROTO_HEADER
|
||||
@@ -11,10 +11,5 @@
|
||||
|
||||
{{ block "union" .PayloadStructs }} {{ end }}
|
||||
|
||||
{{ block "handler" .MessagesPCtoESP}} {{ end }}
|
||||
|
||||
{{ block "dispatcher" .MessagesPCtoESP}} {{ end }}
|
||||
|
||||
{{ block "send_functions" .MessagesESPtoPC}} {{ end }}
|
||||
#endif
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{- define "cpartSource" -}}
|
||||
// AUTO GENERATED DO NOT EDIT!!!
|
||||
|
||||
{{ block "handler" .MessagesPCtoESP}} {{ end }}
|
||||
|
||||
{{ block "dispatcher" .MessagesPCtoESP}} {{ end }}
|
||||
|
||||
{{ block "send_functions" .MessagesESPtoPC}} {{ end }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user