docs: yaml: put static/dynamic array FT obj. C types example in partial
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 17:33:51 +0000 (13:33 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 21:46:31 +0000 (17:46 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
docs/modules/yaml/pages/dyn-array-ft-obj.adoc
docs/modules/yaml/pages/static-array-ft-obj.adoc
docs/modules/yaml/partials/array-ft-obj-gen-c-types-example.adoc [new file with mode: 0644]

index 3d02ac3f39b7f3e8856e00cf575027ff75e6dc1b..6bd60790d3600ae12e5ba5bb4fd510ebdb8851e3 100644 (file)
@@ -49,37 +49,7 @@ Dynamic array's data::
     for the field type object of the
     <<element-ft-prop,`element-field-type` property>>.
 +
-.Generated C{nbsp}types for various element field types.
-====
-[%autowidth.stretch]
-|===
-|Element field type |Generated C{nbsp}type
-
-|8-bit unsigned xref:int-ft-obj.adoc[integer]
-|`const uint8_t *`
-
-|32-bit signed integer
-|`const int32_t *`
-
-|Single-precision xref:real-ft-obj.adoc[real]
-|`const float *`
-
-|xref:str-ft-obj.adoc[String]
-|`const char * const *`
-
-|Static array of 16-bit signed integers
-|`const int16_t * const *`
-
-|Static array of double-precision reals
-|`const double * const *`
-
-|Static array of strings
-|`const char * const * const *`
-
-|Static array of static arrays of 32-bit unsigned integers
-|`const uint32_t * const * const *`
-|===
-====
+include::partial$array-ft-obj-gen-c-types-example.adoc[]
 
 == Examples
 
index 733f95115986f1819d48910d3deb11f4c735c273..29edab52d258f4ea072b8e35fe76e1c34b6eba33 100644 (file)
@@ -47,37 +47,7 @@ Pointer to `const __T__`, where `__T__` is the generated C{nbsp}type for
 the field type object of the <<element-ft-prop,`element-field-type`
 property>>.
 
-.Generated C{nbsp}types for various element field types.
-====
-[%autowidth.stretch]
-|===
-|Element field type |Generated C{nbsp}type
-
-|8-bit unsigned xref:int-ft-obj.adoc[integer]
-|`const uint8_t *`
-
-|32-bit signed integer
-|`const int32_t *`
-
-|Single-precision xref:real-ft-obj.adoc[real]
-|`const float *`
-
-|xref:str-ft-obj.adoc[String]
-|`const char * const *`
-
-|Static array of 16-bit signed integers
-|`const int16_t * const *`
-
-|Static array of double-precision reals
-|`const double * const *`
-
-|Static array of strings
-|`const char * const * const *`
-
-|Static array of static arrays of 32-bit unsigned integers
-|`const uint32_t * const * const *`
-|===
-====
+include::partial$array-ft-obj-gen-c-types-example.adoc[]
 
 == Examples
 
diff --git a/docs/modules/yaml/partials/array-ft-obj-gen-c-types-example.adoc b/docs/modules/yaml/partials/array-ft-obj-gen-c-types-example.adoc
new file mode 100644 (file)
index 0000000..2c3fc92
--- /dev/null
@@ -0,0 +1,31 @@
+.Generated C{nbsp}types for various element field types.
+====
+[%autowidth.stretch]
+|===
+|Element field type |Generated C{nbsp}type
+
+|8-bit unsigned xref:int-ft-obj.adoc[integer]
+|`const uint8_t *`
+
+|32-bit signed integer
+|`const int32_t *`
+
+|Single-precision xref:real-ft-obj.adoc[real]
+|`const float *`
+
+|xref:str-ft-obj.adoc[String]
+|`const char * const *`
+
+|xref:static-array-ft-obj.adoc[Static array] of 16-bit signed integers
+|`const int16_t * const *`
+
+|Static array of double-precision reals
+|`const double * const *`
+
+|Static array of strings
+|`const char * const * const *`
+
+|Static array of static arrays of 32-bit unsigned integers
+|`const uint32_t * const * const *`
+|===
+====
This page took 0.025627 seconds and 4 git commands to generate.