r2 - 07 Jan 2003 - 16:34:00 - JanWielemakerYou are here: TWiki >  FAQ Web  > CppBinding
The SWI-Prolog C++ Binding

Actually, there are two. One is the original, written by me (Jan Wielemaker), which is part of the standard SWI-Prolog 4.x package. It consists of the file SWI-cpp.h and is documented in:

Now, I'm not much of a C++ programmer, so Volker Wysk has created another one with my help explaining the viewpoint from Prolog. It is here:

These interfaces can happily live next to one another, so there isn't much conflict. In due time, if it turns out that Volkers one is working properly and better it is likely to replace my version.

Both interfaces can be freely mixed with calls to the plain C API documented in the SWI-Prolog reference manual. Have a look here if you are missing something as the C-interface provides more than the two C++ layers on top of it.

For new code, I'd suggest to have a look at Volker's one first.

-- JanWielemaker - 22 Jan 2002

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback