Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ads.com!killer!usenet From: anders@verity.com (Anders Wallgren) Newsgroups: comp.sys.mac.programmer Subject: Re: external C fcns from MPW C++ Keywords: C++ Message-ID: <1991Feb24.013131.10809@verity.com> Date: 24 Feb 91 01:31:31 GMT References: <1991Feb21.202709.16319@bwdls61.bnr.ca> <49509@apple.Apple.COM> <49510@apple.Apple.COM> Sender: usenet@verity.com (USENET News) Reply-To: anders@verity.com (Anders Wallgren) Organization: Verity, Inc., Mountain View, CA Lines: 18 In-Reply-To: marc@Apple.COM (Mark Dawson) Well, if it doesn't matter to you where you declare the function (I don't see why it should), then you could do: extern "C" { Boolean IsItThere(); // my external C fcn } void x() { if (IsItThere()) DoIt(); } "IsItThere__Fv" is the C++-type-safe-linkage-munged version of "IsItThere" anders