summaryrefslogtreecommitdiff
path: root/src/scripts/gendoc/doc_struct.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/gendoc/doc_struct.template')
-rw-r--r--src/scripts/gendoc/doc_struct.template10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/scripts/gendoc/doc_struct.template b/src/scripts/gendoc/doc_struct.template
index 370e9be6e9..306dcfd961 100644
--- a/src/scripts/gendoc/doc_struct.template
+++ b/src/scripts/gendoc/doc_struct.template
@@ -1,6 +1,6 @@
<!--(include)-->doc_macros.include<!--(end)-->#!
-~~Title: ${struct.full_name}$~~
-====== ${struct.full_name}$ (struct) ======
+~~Title: ${struct.name}$~~
+====== ${struct.name}$ (struct) ======
${BEST_SUMMARY(obj=struct)}$
@@ -21,7 +21,7 @@ ${OBJECT_STATIC_CONTENT(obj=struct, section='fields')}$
===== Signature =====
<code>
-struct ${struct.full_name}$ {
+struct ${struct.name}$ {
<!--(for field in struct.struct_fields)-->
${field.name}$: ${field.type.name}$,
<!--(end)-->
@@ -31,9 +31,9 @@ struct ${struct.full_name}$ {
===== C Signature =====
<code>
-typedef struct _${struct.full_name.replace('.', '_')}$ {
+typedef struct _${struct.name.replace('.', '_')}$ {
<!--(for field in struct.struct_fields)-->
${field.name}$: **TODO (issue with Typedecl.c_type need Unit)**,
<!--(end)-->
-} ${struct.full_name.replace('.', '_')}$;
+} ${struct.name.replace('.', '_')}$;
</code>