Engine.getDefault

Return the existing instance of peas.Engine or a subclass of it. If no peas.Engine subclass has been instantiated yet, the first call of this function will return a new instance of peas.Engine

Note: this function should never be used when multiple threads are using libpeas API as it is not thread-safe.

class Engine
static
getDefault
()

Return Value

Type: Engine

the existing instance of peas.Engine