next up previous contents index
Next: Loading module functions Up: Modules Previous: Loading shared object files   Contents   Index


Setting module attributes

Some module packages allow you to set their attributes. You can do this using this function:

int gocr_moduleSetAttribute ( int id, void *a, void *b );
id
is the module package id
a, b
fields are passed directly to the module package, refer to its documentation to know how to use them.
The function returns -1 in case of some internal error, or the value returned by the module package.



root 2002-02-17