doxygendefine Directive Example

Working Example

This should work:

.. doxygendefine:: WRITE_TREE_MISSING_OK
   :project: c_file

It produces this output:

WRITE_TREE_MISSING_OK

bitmasks to write_cache_as_tree flags

Failing Example

This intentionally fails:

.. doxygendefine:: MADEUPDEFINE
   :project: define

It produces the following warning message:

Warning

doxygendefine: Cannot find define “MADEUPDEFINE” in doxygen xml output for project “define” in directory: ../../examples/specific/define/xml