Function swipl::init::reactivate_swipl

source ·
pub fn reactivate_swipl() -> EngineActivation<'static>
Expand description

Reactivate the main engine.

This is only available if the rust library was originally responsible for initializing the SWI-Prolog environment, and the main engine has since been deactivated. If initialization happened external to the library, there is no safe way to get hold of the main engine. This will result in a panic.