]> andersk Git - splint.git/blobdiff - src/Headers/functionConstraint.h
Cleaned up code problems reported by make splintme.
[splint.git] / src / Headers / functionConstraint.h
index 83035c631e23a0759e7d15211cbc15cc77eb60b3..546e102a06256bc52502ae0fbd93a2380d76fd17 100644 (file)
@@ -29,6 +29,12 @@ struct s_functionConstraint {
 extern /*@falsewhennull@*/ bool functionConstraint_isDefined (functionConstraint) /*@*/ ;
 # define functionConstraint_isDefined(p_info) ((p_info) != NULL)
 
+extern /*@falsewhennull@*/ bool functionConstraint_isBufferConstraint (/*@sef@*/ functionConstraint) /*@*/ ;
+# define functionConstraint_isBufferConstraint(p_con) (((p_con) != NULL) && ((p_con)->kind == FCT_BUFFER))
+
+extern void functionConstraint_addBufferConstraints (functionConstraint p_fc, /*@only@*/ constraintList) 
+  /*@modifies p_fc@*/ ;
+
 extern /*@nullwhentrue@*/ bool functionConstraint_isUndefined (functionConstraint) /*@*/ ;
 # define functionConstraint_isUndefined(p_info) ((p_info) == NULL)
 
This page took 0.040858 seconds and 4 git commands to generate.