This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Russ McManus <mcmanr@eq.gs.com> writes: > I use guile with C++ all the time. This is how I include the guile > header files: > > #if defined(__cplusplus) > extern "C" { > #endif > > #include <libguile.h> > #include <guile/gh.h> > > #if defined(__cplusplus) > } > #endif This should be done inside libguile.h and guile/gh.h, though. Since the headers are intended to be used in a heterogeneous environment, I think it's worth make it easier for the end user of guile. Greg