State.save

int save(LV2_URID_Map * map, LV2_URID_Unmap * unmap, string uri, string dir, string filename)

Save this state to a bundle directory / file on disk.

Parameters

mapURID map
unmapURID unmap
uriAbsolute state URI, or null to use a file URI based on dir/filename
dirDirectory to save into (created if needed)
filenameState file name within dir (e.g. "state.ttl"), or null

Returns

0 on success