]> git.sur5r.net Git - cc65/blobdiff - src/cc65/datatype.h
Working on the new backend
[cc65] / src / cc65 / datatype.h
index 7aa012f1305f5aa9f0bc533f3992cf5938ba17bd..b561da26f0bd60fc615934d5ffd13bf960551ea4 100644 (file)
@@ -200,6 +200,9 @@ void PrintType (FILE* F, const type* Type);
 void PrintRawType (FILE* F, const type* Type);
 /* Print a type string in raw format (for debugging) */
 
+void PrintFuncSig (FILE* F, const char* Name, type* Type);
+/* Print a function signature. */
+
 void Encode (type* Type, unsigned long Val);
 /* Encode an unsigned long into a type array */
 
@@ -310,6 +313,9 @@ type GetQualifier (const type* T) attribute ((const));
 FuncDesc* GetFuncDesc (const type* T) attribute ((const));
 /* Get the FuncDesc pointer from a function or pointer-to-function type */
 
+type* GetFuncReturn (type* T) attribute ((const));
+/* Return a pointer to the return type of a function or pointer-to-function type */
+
 
 
 /* End of datatype.h */