summaryrefslogtreecommitdiffstats
path: root/examples/restypedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/restypedef.cpp')
-rw-r--r--examples/restypedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/restypedef.cpp b/examples/restypedef.cpp
index 2cd3f8f..923cf70 100644
--- a/examples/restypedef.cpp
+++ b/examples/restypedef.cpp
@@ -14,7 +14,7 @@ struct CoordStruct
};
/*! Creates a type name for CoordStruct */
-typedef struct CoordStruct Coord;
+typedef CoordStruct Coord;
/*!
* This function returns the addition of \a c1 and \a c2, i.e: