next up previous
Next: Linking Foreign Modules Up: Foreign Language Interface Previous: Foreign Language Interface

Overview of the Interface

A special include file called ``SWI-Prolog.h'' should be included with each C-source file that is to be loaded via the foreign interface. The installation process installs this file in the directory include

in the SWI-Prolog home directory (?- feature(home, Home).). This C-header file defines various data types, macros and functions that can be used to communicate with SWI-Prolog. Functions and macros can be divided into the following categories:



Passani Luca
Tue Nov 14 08:58:33 MET 1995