[PPL-devel] A couple of problems with cinterf.h
Roberto Bagnara
bagnara at cs.unipr.it
Tue Aug 6 17:58:30 CEST 2002
Hi there,
C and C++ users will be grateful if we enclose cinterf.h
within a multiple inclusion guard and an extern "C" wrapper.
Just precede the current contents of cinterf.h with
-----------------------------------
#ifndef _XSB_cinterf_h
#define _XSB_cinterf_h 1
#ifdef __cplusplus
extern "C" {
#endif
-----------------------------------
and let it be followed by
-----------------------------------
#ifdef __cplusplus
}
#endif
#endif /* !defined(_XSB_cinterf_h) */
-----------------------------------
All the best
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it
More information about the PPL-devel
mailing list