Skip to main content

create_ctx

Function create_ctx 

Source
pub fn create_ctx() -> Option<Context>
Expand description

Creates the libsais context that allows reusing allocated memory with each libsais operation. In multi-threaded environments, use one context per thread for parallel executions.

ยงReturns

the libsais context, NULL otherwise.