Scribit Jonathon Jongsma dies 24/01/2006 hora 18:35: > On 1/24/06, Pierre THIERRY <nowhere man levallois eu org> wrote: > > Isn't it possible for Xlib to use: > > > > #ifdef __cplusplus > > namespace X11 { > > #endif > > > > ... > > > > #ifdef __cplusplus > > } // namespace X11 > > #endif > > It's an intriguing idea, but I doubt that would be possible, because > code compiled in a c++ compiler is subject to name mangling. My mistake, I think it should be: #ifdef __cplusplus namespace X11 { extern "C" { #endif ... #ifdef __cplusplus } // extern "C" } // namespace X11 #endif Correctively, Nowhere man -- nowhere man levallois eu org OpenPGP 0xD9D50D8A
Attachment:
signature.asc
Description: Digital signature