1 /*! \file restypedef.cpp
2 * An example of resolving typedefs.
5 /*! \struct CoordStruct
10 /*! The x coordinate */
12 /*! The y coordinate */
16 /*! Creates a type name for CoordStruct */
17 typedef CoordStruct Coord;
20 * This function returns the addition of \a c1 and \a c2, i.e:
21 * (c1.x+c2.x,c1.y+c2.y)
23 Coord add(Coord c1,Coord c2)