[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] extern "C"
From: |
Blake Matheny |
Subject: |
Re: [GNUnet-developers] extern "C" |
Date: |
Sun, 16 Jun 2002 16:56:02 -0500 |
User-agent: |
Mutt/1.3.99i |
Since this is trivial to do, but time consuming, care to submit a patch? For
those of you who havn't had the pleasure of doing much C++ programming, the
cpp defs below allows C++ programs to use the functions defined in the header
files by telling the compiler that they will use C naming conventions and not
C++ naming conventions. At least if memory serves that's what they do :-)
-Blake
Whatchu talkin' 'bout, Willis?
> Hi,
>
> can you use
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> ....
>
> #ifdef __cplusplus
> }
> #endif
>
> guards in your header files for c++ programmer.
>
>
> Regards
> André
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers
--
Blake Matheny
address@hidden
PGP-Key http://www.dbaseiv.net/purdue.key