The quintus.h Include File

The quintus.h include file contains definitions and declarations that are useful when using the Quintus Prolog Foreign Interface, embedding Prolog in another language, managing interrupts, etc.

The sys component postinstall script attempts to install quintus/quintus.h (creating that directory if necessary) in the directory given by the environment variable QPINCDIR, or /usr/include if not set. That is, /usr/include/quintus/quintus.h is created by default.

Once this is done, users writing C code to be used with Quintus Prolog can simply include the file in their C source using:

     #include <quintus/quintus.h>
     

If you do not install the sys component on your system then users who need to #include <quintus/quintus.h> can use the C compiler option:

     -IQuintusDir/generic/qplib3.5/include (UNIX), or
     -IQuintusDir\include (Windows)