pub unsafe fn register_foreign_in_module(
    module: Option<&str>,
    name: &str,
    arity: u16,
    deterministic: bool,
    meta: Option<&str>,
    function_ptr: unsafe extern "C" fn(terms: term_t, arity: c_int, control: control_t) -> isize
) -> bool
Expand description

Register a foreign predicate.

This function is used by the predicates! macro to implement predicate registration.

Safety

This is only safe to call for functions which implement a foreign predicate.