On Thu, 7 May 2009, Torbjorn Granlund wrote: > Thanks for clarifying this. > > The example is a little backwards. We declare the type in C++ and refer > it from C. I suppose that's not what extern "C" really is intended for, > Or s it? Sure, it's a perfectly valid thing to provide a non-mangled C interface from C++ source. Richard.