Re: weeding out c++ keywords from sys/sys

From: Michael Butler <imb_at_protected-networks.net>
Date: Sun, 15 Feb 2009 12:59:35 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I know that using a "wrapper", something like:

#ifdef __cplusplus
namespace __whatever
{
  extern "C"
  {
#endif

	[ .. bunch of C prototypes .. ]

#ifdef __cplusplus
}
#endif

 .. stops C++ from mangling the prototyped functions so they'll link
correctly but does it temporarily disable the "reserved word" tests?
Should it? ;-)

	Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkmYWAcACgkQQv9rrgRC1JKnnQCeNJSMhFvG0666r4e+HLXIle1q
0GgAoMqep9fprWjFUB4z0bV0CLuJEV5+
=vRe+
-----END PGP SIGNATURE-----
Received on Sun Feb 15 2009 - 16:59:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC