Subject Re: Rock>Java>Threads>Hardplace
Author Mark O'Donohue
> something like:
> #COMPILE "C" {
> <old code>
> } // End of C code

The way to do it is:

#extern "C" {


But there is/was also an option to generate prototypes somewhere in
gcc or some attached bit, As with yourself, I haven't used it in the
last 5 years, but remember using such a tool somewhere.

I think the macros will be fun though, particularly those that are
pointers to functions, - not impossible - but interesting and it may
be that something like this will need to be used there.

> However, even doing just this allowed us to intermix C and C++ code, and
> that was well worth the hassle.

I'd agree.