svn commit: samba r18030 -
in branches/SAMBA_3_0/source/tdb/common: .
Stefan (metze) Metzmacher
metze at samba.org
Mon Sep 4 13:07:31 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tridge at samba.org schrieb:
> Metze,
>
> > yes, the goal should be to let c++ applications make use of our libraries.
>
> oh, that's a diifferent goal to what I've heard discussed
> previously. I thought Volker was just focussed on the useful warnings?
>
> Is it really practical to make our libraries usable in real C++
> programs, without adding a lot of C++ specific code?
I think adding
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
in the header files would be all we need.
That's what I see in a lot of files under /usr/include/
e.g. all apr*.h files
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFE/CUTm70gjA5TCD8RAvvvAJ94FOrAbhFXjkApPpildJnLQ39EugCgserq
uPsxHvWkCyLIRHTUJ3uCEgc=
=cfzu
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list