]> andersk Git - splint.git/blobdiff - src/Headers/context.h
Fixed problem with handleing oldsytle function declarations.
[splint.git] / src / Headers / context.h
index 1ea7c923748eb76f92ea025bcac929053b383897..c357e84ed31b51eb544df15b44c677832f644f96 100644 (file)
@@ -340,6 +340,30 @@ extern valueTable context_createGlobalMarkerValueTable (/*@only@*/ stateInfo p_s
 extern int context_getBugsLimit (void) /*@*/ ;
 # define context_getBugsLimit()  ((int)context_getValue(FLG_BUGSLIMIT))
 
+/*drl 12/30/2001 these are some ugly functions that were added to facilitate struct annotations */
+
+
+extern bool hasInvariants (ctype p_ct);
+
+/*drl 1/6/2001: I didn't think these functions were solid enough to include in the
+  stable  release of splint.  I commented them out so that they won't break anything
+  but didn't delete them because they will be fixed and included later
+*/
+
+/*extern void  setGlobalStructInfo(ctype p_ct, constraintList p_list); */
+
+/*extern constraintList getInvariants (ctype p_ct); */
+
+/* static int getSref (ctype ct, sRef s); */
+
+/* sRef fixSref (ctype p_ct, sRef p_base, sRef p_fix); */
+
+ctype context_setLastStruct (/*@returned@*/ ctype p_s) /*@modifies internalState@*/;
+ctype context_getLastStruct (/*@returned@*/ /*ctype p_s*/) /*@modifies internalState@*/;
+
+/*drl added 2/4/2002*/
+
+  bool context_inOldSytleScope(void);
 # else
 # error "Multiple include"
 # endif
This page took 0.300507 seconds and 4 git commands to generate.