External Language Interface with C

B-Prolog has a bi-directional interface with C through which Prolog programs can call functions written in C and C programs can call Prolog as well. C programs that use this interface must include the file "bprolog.h" in the directory $BPDIR/Emulator.

The functions are renamed in Version 6.0 such that all function names start with ``bp_''. Old functions except for build_LIST and build_STRUCTURE are still supported but they are not documented here. You are encouraged to use the new functions.



Subsections

Neng-Fa Zhou 2012-01-03