.
[clean-tests.git] / gengen / Data / GenType / CType.dcl
index b79c58e..6efad22 100644 (file)
@@ -7,3 +7,9 @@ from Data.GenType import :: Type
  * generate typedefs for the types grouped by strongly connected components
  */
 typedefs :: [[Type]] -> Either String [String]
+
+/**
+ * Generate a single typedef for a type.
+ * This does not terminate for recursive types
+ */
+flatTypedef :: Type -> Either String [String]