Subject: initialising SWI-Prolog from foreign code

From: Paul Singleton <[email-masked]>
Date: Wed, 09 Feb 2000 22:59:56 +0000

Is there a safe, portable way to discover, from foreign code,
whether Prolog has already been successfully initialised?

Is there a way to "clean up the Prolog environment" without
exiting from the host process?

If PL_initialise() is called when Prolog is already initialised,
does it put Prolog into its normal freshly initialised state?

Paul Singleton