Re: [GLIB] Simple Question!



On Wed, 31 Dec 2003, Ryan McDougall wrote:

What does G_BEGIN_DECLS do exactly?

When compiling with a C++ compiler, it tells compiler that the
following declarations are C functions, not C++.  So the compiler
would turn off mangling that is needed for function overloading
that is not used in C objects.

behdad

Cheers,
Ryan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]