Next:
Calling C from Prolog
Up:
manual
Previous:
all_distinct(L)
 
Contents
 
Index
External Language Interface with C
B-Prolog has a bi-directional interface with C through which Prolog can call functions written in C and vice versa.
Subsections
Calling C from Prolog
Term representation
Fetching arguments of Prolog calls
Testing Prolog terms
Converting Prolog terms into C data
Manipulating Prolog terms
Building Prolog terms
Defining Prolog predicates in C
Example
Calling Prolog from C
Neng-Fa Zhou
1999-11-24