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: namespace

It produces this output:

typedef int foo::ns::MyInt

Failing Example

This intentionally fails:

.. doxygentypedef:: made_up_typedef
   :project: restypedef

It produces the following warning message:

警告

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