Function swipl::init::initialize_swipl_with_state
source · pub fn initialize_swipl_with_state(
state: &'static [u8]
) -> Option<EngineActivation<'static>>
Expand description
Initialize SWI-Prolog with a given saved state.
After initializing, the default ‘main’ engine is active on the
calling thread. If SWI-Prolog was already initialized, this will
do nothing, and None will be returned. Otherwise, An
EngineActivation
will be returned containing the main prolog
engine.