Making abv usable by C++ ...
This commit is contained in:
parent
97ee5be7f5
commit
44565a6d70
|
@ -41,6 +41,14 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#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_TRACE_MASK 0x00000001 /* print messages when parsing */
|
||||||
#define ABV_KEEP_AUX_MASK 0x00000002 /* keep internal signals */
|
#define ABV_KEEP_AUX_MASK 0x00000002 /* keep internal signals */
|
||||||
#define ABV_SYNTH_MASK 0x00000004 /* special mode for synthesis */
|
#define ABV_SYNTH_MASK 0x00000004 /* special mode for synthesis */
|
||||||
|
@ -49,8 +57,8 @@ extern "C" {
|
||||||
/* functions */
|
/* functions */
|
||||||
/* ###------------------------------------------------------### */
|
/* ###------------------------------------------------------### */
|
||||||
|
|
||||||
extern struct befig *vhdlloadbefig ();
|
extern struct befig *vhdlloadbefig __P((struct befig *pt_befig, char *figname, int trace_mode));
|
||||||
extern void vhdlsavebefig ();
|
extern void vhdlsavebefig __P((struct befig *pthedbefig, int trace_mode));
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue