inter_module_get

Name

inter_module_get --  return arbitrary userdata from another module.

Synopsis

const void * inter_module_get (const char * im_name);

Arguments

im_name

an arbitrary string to identify the data, must be unique

Description

If the im_name has not been registered, return NULL. Try to increment the use count on the owning module, if that fails then return NULL. Otherwise return the userdata.