Displaying 1 result from an estimated 1 matches for "removelibraryfunction".
2007 Mar 07
4
Plugin Library Interface
...hared library functions in a CompLibraryFunction struct:
struct _CompLibraryFunction {
CompLibraryFunction *prev;
CompLibraryFunction *next;
char *name;
void *function;
};
Core also gets a number of utility functions:
void addLibraryFunction (CompDisplay *d, char *name, void *function);
void removeLibraryFunction (CompDisplay *d, char *name);
void* getLibraryFunction (CompDisplay *d, char* name);
void updateLibraryFunction(CompDisplay *d, CompLibraryFunction *func);
You can register a function through addLibraryFunction and remove it
with removeLibraryFunction.
Whenever a function gets added or removed upd...