public static Module? EntryPoint (EntryPointParams* params)

SPIT API entry point.

Host application passes in the minimum and maximum version of the SPIT interface it supports (values are inclusive) in the EntryPointParams struct. The module returns the version it wishes to use and a pointer to a Spit.Module (which will remain ref'ed by the host as long as the module is loaded in memory). The module should return UNSUPPORTED_INTERFACE if the min/max are out of its range and null for its Spit.Module. ( negotiate_interfaces is good for dealing with this.)


A Spit.Module if the interface negotiation is acceptable, null otherwise.

Namespace: Spit
Package: shotwell-plugin-dev