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 through which C programs can call Prolog. 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. Users are encouraged to use the new functions.



Subsections

Neng-Fa Zhou 2013-01-25