[][src]Function clingo_sys::clingo_symbol_to_string_size

pub unsafe extern "C" fn clingo_symbol_to_string_size(
    symbol: clingo_symbol_t,
    size: *mut usize
) -> bool

Get the size of the string representation of a symbol (including the terminating 0).

@param[in] symbol the target symbol @param[out] size the resulting size @return whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc