44 lines
887 B
Plaintext
44 lines
887 B
Plaintext
<!--(include)-->doc_macros.include<!--(end)-->#!
|
|
~~Title: ${enum.name}$~~
|
|
====== ${enum.name}$ (enum) ======
|
|
|
|
<!--(if enum.is_beta)-->
|
|
''beta'' This enumeration is still in beta, api will probably change
|
|
<!--(end)-->
|
|
|
|
${BEST_SUMMARY(obj=enum)}$
|
|
|
|
${BEST_DESCRIPTION(obj=enum)}$
|
|
|
|
${BEST_SINCE(obj=enum)}$
|
|
|
|
${OBJECT_STATIC_CONTENT(obj=enum, section='description')}$
|
|
|
|
===== Fields =====
|
|
|
|
${OBJECT_STATIC_CONTENT(obj=enum, section='fields')}$
|
|
|
|
<!--(for field in enum.enum_fields)-->
|
|
* **${field.name}$** - ${BEST_SUMMARY(obj=field)}$
|
|
<!--(end)-->
|
|
|
|
===== Signature =====
|
|
|
|
<code>
|
|
enum {
|
|
<!--(for field in enum.enum_fields)-->
|
|
${field.name}$: ${field.value.serialize}$
|
|
<!--(end)-->
|
|
}
|
|
</code>
|
|
|
|
===== C Signature =====
|
|
|
|
<code>
|
|
typedef enum {
|
|
<!--(for field in enum.enum_fields)-->
|
|
${field.c_constant}$ = ${field.value.serialize}$,
|
|
<!--(end)-->
|
|
} ${enum.name.replace('.', '_')}$;
|
|
</code>
|