Next: mpg-ref-update_mutable, Previous: mpg-ref-unknown_predicate_handler, Up: mpg-bpr [Contents][Index]
unload_foreign_resource/1
hookableunload_foreign_resource(:Resource)
Unload the foreign resource Resource from Prolog. Relies on the
hook predicates foreign_resource/2
and foreign/[2,3]
.
file_spec, must be ground
The foreign resource to be unloaded. The file extension can be omitted.
instantiation_error
Resource not ground.
type_error
Resource not an atom.
existence_error
Resource does not exist as a foreign resource.
load_foreign_resource/1
,
foreign_resource/2
,
foreign/[2,3]
,
Foreign Resources,
Calling C from Prolog.