Re: C++ object interfaces to C

"Karl M. Syring" <>
26 Nov 2002 22:13:47 -0500

          From comp.compilers

Related articles
C++ object interfaces to C (Gabor DEAK JAHN) (2002-11-24)
Re: C++ object interfaces to C (Roberto Waltman) (2002-11-26)
Re: C++ object interfaces to C (Karl M. Syring) (2002-11-26)
| List of all articles for this month |

From: "Karl M. Syring" <>
Newsgroups: comp.compilers
Date: 26 Nov 2002 22:13:47 -0500
Organization: Compilers Central
References: 02-11-145
Keywords: C++
Posted-Date: 26 Nov 2002 22:13:47 EST

Gabor DEAK JAHN wrote:
> Do you know of any conversion tool that could translate C++ object
> interfaces into C (OLE or similar)? I don't need the conversion of the
> actual method source codes, just something to help turn a class
> definition of a few private fields and public methods into the
> old-fashioned, macro-intensive C-style vtbl and method declarations ...

I do not know of a perfect solution, but Swig
( may be an useful tool. Then there are gcc
backends like gcc_xml ( or source code
translation tools like OpenC++
( that may give you a head

Karl M. Syring

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.