Author(s): Jose Morales, Manuel Carro.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.11#218 (2004/4/13, 18:31:33 CEST)
Low-level utilities for building foreign interfaces. End-users should not need to use them, as the Ciao Prolog Compiler reads the user assertions and calls appropriately the predicates in this module.
build_foreign_interface
):- use_module(library(build_foreign_interface)).
build_foreign_interface
)
Usage: build_foreign_interface(File)
File
, generates the gluecode for the Ciao Prolog interface, compiles the foreign files and the gluecode file, and links everything in a shared object. Checks modification times to determine automatically which files must be generated/compiled/linked.
File
is a source name.
(streams_basic:sourcename/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: rebuild_foreign_interface(File)
build_foreign_interface/1
, but it does not check the modification time of any file.
File
is a source name.
(streams_basic:sourcename/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: build_foreign_interface_explicit_decls(File, Decls)
build_foreign_interface/1
, but use declarations in Decls
instead of reading the declarations from File
.
File
is a source name.
(streams_basic:sourcename/1
)
Decls
is a list of term
s.
(basic_props:list/2
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: rebuild_foreign_interface_explicit_decls(File, Decls)
build_foreign_interface_explicit_decls/1
, but it does not check the modification time of any file.
File
is a source name.
(streams_basic:sourcename/1
)
Decls
is a list of term
s.
(basic_props:list/2
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: build_foreign_interface_object(File)
File
is a source name.
(streams_basic:sourcename/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: rebuild_foreign_interface_object(File)
File
is a source name.
(streams_basic:sourcename/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
File
is currently ground (it contains no variables).
(term_typing:ground/1
)
Usage: do_interface(Decls)
Decls
, this predicate succeeds if these declarations involve the creation of the foreign interface
Decls
is a list of term
s.
(basic_props:list/2
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
Decls
is currently ground (it contains no variables).
(term_typing:ground/1
)
Go to the first, previous, next, last section, table of contents.