[Up] [Contents] [Index] [Summary]
The predicates below are considered obsolete. They are briefly
described here for compatibility purposes. New code should use the
predicates from the library(shlib)
.
- load_foreign(+File,
+Entry)
-
Load a foreign file or list of files specified by File. The
files are searched for similar to consult/1.
Except that the `
.o
' extension is used rather than `.pl
'.
Entry defines the entry point of the resulting executable.
The entry point will be called by Prolog to install the foreign
predicates.
- load_foreign(+File,
+Entry, +Options, +Libraries, +Size)
-
The first two arguments are identical to those of load_foreign/2. Options
is (a list of) additional option to be given to the loader. The options
are inserted just before the files. Libraries is (a list of)
libraries to be passed to the loader. They are inserted just after the
files. If Size is specified Prolog first assumes that the
resulting executable will fit in Size bytes and do the
loading in one pass.
- foreign_file(?File)
-
Is true if File is the absolute path name of a file loaded as
foreign file.