[PPL-devel] Re: [Xsb-development] A couple of problems with cinterf.h
Luis Fernando Pias de Castro
luis at cs.sunysb.edu
Thu Aug 8 19:58:30 CEST 2002
Hi,
I just commited that on CVS.
Thanks,
-Luis
Roberto Bagnara <bagnara at 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 at 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xsb-development
More information about the PPL-devel
mailing list