]> git.sur5r.net Git - cc65/blobdiff - src/cc65/function.h
Remember more function infos in the Function struct.
[cc65] / src / cc65 / function.h
index d827cba6af9104d9e40318de3f3e323c1c20f4d9..de9fdc123edba387b6362a824ee147a27819f01f 100644 (file)
@@ -73,9 +73,12 @@ Type* F_GetReturnType (Function* F);
 int F_HasVoidReturn (const Function* F);
 /* Return true if the function does not have a return value */
 
-void F_HasReturn (Function* F);
+void F_ReturnFound (Function* F);
 /* Mark the function as having a return statement */
 
+int F_HasReturn (const Function* F);
+/* Return true if the function contains a return statement*/
+
 int F_IsVariadic (const Function* F);
 /* Return true if this is a variadic function */