Breathe v2.0.0 documentation

doxygentypedef Directive Example

«  doxygenenum Directive Example   ::   Contents   ::   doxygenunion Directive Example  »

doxygentypedef Directive Example

Working Example

This should work:

.. doxygentypedef:: UINT32
   :project: structcmd

It produces this output:

typedef unsigned int UINT32

A type definition for a .

Details.

Example with Namespace

This should work:

.. doxygentypedef:: foo::ns::MyInt
   :project: namespacefile

It produces this output:

typedef int MyInt

Failing Example

This intentionally fails:

.. doxygentypedef:: made_up_typedef
   :project: restypedef

It produces the following warning message:

Warning

doxygentypedef: Cannot find typedef “made_up_typedef” in doxygen xml output

«  doxygenenum Directive Example   ::   Contents   ::   doxygenunion Directive Example  »