11.3.242 unload_foreign_resource/1 [hookable]

Synopsis

unload_foreign_resource(:Resource)

Unload the foreign resource Resource from Prolog. Relies on the hook predicates foreign_resource/2 and foreign/[2,3].

Arguments

:Resource
file_spec, must be ground

The foreign resource to be unloaded. The file extension can be omitted.

Exceptions

Errors in the specification of foreign/[2,3] and foreign_resource/2.

See Also

load_foreign_resource/1, foreign_resource/2, foreign/[2,3], Foreign Resources, Calling C from Prolog.


Send feedback on this subject.