Function clingo_sys::clingo_symbolic_atoms_signatures
[−]
[src]
pub unsafe extern "C" fn clingo_symbolic_atoms_signatures(
atoms: *const clingo_symbolic_atoms_t,
signatures: *mut clingo_signature_t,
size: usize
) -> bool
Get the predicate signatures occurring in a logic program.
Parameters:
atoms
- the targetsignatures
- the resulting signaturessize
- the number of signatures
Returns whether the call was successful; might set one of the following error codes:
- ::clingo_error_bad_alloc
- ::clingo_error_runtime if the size is too small
@see clingo_symbolic_atoms_signatures_size()