Displaying 1 result from an estimated 1 matches for "complibraryfunction".
2007 Mar 07
4
Plugin Library Interface
...sion on
the Beryl ML about an interface which provides sharing functions and
allows us to do library plugins. One example for this kind of plugins
is text, which was recently ported to that system. I now want to
explain here how it works in general.
Core does save the shared 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 *nam...