cex: minor style changes

* src/counterexample.h, src/derivation.h, src/derivation.c:
More comments.
Use `out` for FILE*, as elsewhere.
This commit is contained in:
Akim Demaille
2020-07-12 13:13:22 +02:00
parent d8c2af56c1
commit 1e12219775
3 changed files with 34 additions and 25 deletions

View File

@@ -20,11 +20,17 @@
#ifndef COUNTEREXAMPLE_H
# define COUNTEREXAMPLE_H
# include "state-item.h"
# include "state.h"
// Init/deinit this module.
void counterexample_init (void);
void counterexample_free (void);
void counterexample_report_state (const state *s, FILE *out, const char *prefix);
// Print the counterexamples for the conflicts of state S.
//
// Used both for the warnings on the terminal (OUT = stderr, PREFIX =
// ""), and for the reports (OUT != stderr, PREFIX != "").
void
counterexample_report_state (const state *s, FILE *out, const char *prefix);
#endif /* COUNTEREXAMPLE_H */