Rockbox mail archiveSubject: Re: Adding a global API pointer for plugins
Re: Adding a global API pointer for plugins
From: Andrew Mahone <andrew.mahone_at_gmail.com>
Date: Mon, 12 Jan 2009 10:00:03 -0500
To simplify plugin init, and especially to simplify pluginlib -
several pluginlib init functions are eliminated which only copied the
api pointer. It also allows for the _WRAPPERS macros to be removed, in
the long run. the MEM_FUNCTION_WRAPPERS functions can be put in
pluginlib, so that plugins don't need to worry about whether they'll
need them or not due to generated code. The other wrappers should
probably be fixed by making plugins use the API, since to my
knowledge, they're only for convenience right now.
andrew DOT mahone AT gmail DOT com
Q: How many voters does it take to change a lightbulb?
A: None - if voting could change anything they'd make it illegal
Received on 2009-01-12