Re: gnome-defs
- From: tcst <tcst081 fmailbox com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gnome-defs
- Date: Wed, 13 Oct 2004 13:19:25 +0200
Hello,
I understand it like this:
Including these macros the C++ compiler adds 'extern C' to the function
headers. If we run a C compiler it does nothing. This way C++ functions
can be accessed from C code. If they are already C functions, then it
does nothing.
Allows access to C++ functions from C.
Pieter Engelen wrote:
Hi,
I'm porting a tool from linux to windows.
This tool uses gnome-defs. I have looked at
http://developer.gnome.org/doc/API/libgnome/gnome-gnome-defs.html
But I don't understand what they mean with:
"This module only defines two macros for wrapping public function
interface declarations in a C-accesible way. They are usually used in
header files. They are empty macros for C compilation and they map to
extern "C" for C++ compilation."
Could some one explain this to me please.
How do I port a header file Whit this in?
Greetz
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]