
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

Hi,
I just commited that on CVS.
Thanks, -Luis
Roberto Bagnara bagnara@cs.unipr.it writes:
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@cs.unipr.it
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xsb-development mailing list Xsb-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xsb-development
participants (2)
-
Luis Fernando Pias de Castro
-
Roberto Bagnara