Making abv usable by C++ ...

This commit is contained in:
Christophe Alexandre 2002-10-01 19:26:43 +00:00
parent 97ee5be7f5
commit 44565a6d70
1 changed files with 10 additions and 2 deletions

View File

@ -41,6 +41,14 @@
extern "C" {
#endif /* __cplusplus */
#ifndef __P
# if defined(__STDC__) || defined(__GNUC__) || defined(__cplusplus)
# define __P(x) x
# else
# define __P(x) ()
# endif
#endif
#define ABV_TRACE_MASK 0x00000001 /* print messages when parsing */
#define ABV_KEEP_AUX_MASK 0x00000002 /* keep internal signals */
#define ABV_SYNTH_MASK 0x00000004 /* special mode for synthesis */
@ -49,8 +57,8 @@ extern "C" {
/* functions */
/* ###------------------------------------------------------### */
extern struct befig *vhdlloadbefig ();
extern void vhdlsavebefig ();
extern struct befig *vhdlloadbefig __P((struct befig *pt_befig, char *figname, int trace_mode));
extern void vhdlsavebefig __P((struct befig *pthedbefig, int trace_mode));
#ifdef __cplusplus
}