Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:908 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42616 invoked from network); 14 Apr 2003 16:32:59 -0000 Received: from unknown (HELO salem) (212.209.116.169) by pb1.pair.com with SMTP; 14 Apr 2003 16:32:59 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by salem with local; Mon, 14 Apr 2003 18:33:00 +0200 To: jay@php.net Cc: internals@lists.php.net In-Reply-To: <20030414162635.38228.qmail@pb1.pair.com> References: <20030412125758.GA5060@mail.host.sk> <20030414142344.28249.qmail@pb1.pair.com> <1050336627.1114.129.camel@salem.intra.nobolt.net> <20030414162635.38228.qmail@pb1.pair.com> Organization: Capio ApS Message-ID: <1050337980.1093.133.camel@salem.intra.nobolt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_salem-20147-1050337980-0001-2" X-Mailer: Ximian Evolution 1.2.2 Date: 14 Apr 2003 18:33:00 +0200 Subject: Re: [PHP-DEV] Re: Linking problem with extension written in C++ From: per@nobolt.com (Per Lundberg) --=_salem-20147-1050337980-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-04-14 at 18:26, Jay Smith wrote: > It kind of seems messy to wrap everything in extern "C". Well, I think it's kind of standard procedure when writing C APIs. Do a grep on __cplusplus in your /usr/include for example. But do it any way you like, as long as it works... -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com --=_salem-20147-1050337980-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+muK8TN4aRo9LnpERAgD5AKCZDrz9c5q5Rq/0PUzTVYlUCvXIyACeM/jd LDt/zFfmt5wGiO2hyII0epU= =1HCG -----END PGP SIGNATURE----- --=_salem-20147-1050337980-0001-2--