tract_fact_parse

Function tract_fact_parse 

Source
pub unsafe extern "C" fn tract_fact_parse(
    model: *mut TractModel,
    spec: *const c_char,
    fact: *mut *mut TractFact,
) -> TRACT_RESULT
Expand description

Parse a fact specification string into an Fact.

The returned fact must be free with tract_fact_destroy.