cae4ae2c71
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657 |
||
---|---|---|
.. | ||
PDa | ||
math.h | ||
pdbox-func.c | ||
pdbox-gui.c | ||
pdbox-net.c | ||
pdbox.c | ||
pdbox.h | ||
pdbox.make | ||
README.rockbox | ||
SOURCES |
Library: PDa (Pure Data Anywhere) Imported: 2009-05-22 by Wincent Balin (GSoC), commit by Peter D'Hoye This directory structure contains the Pure Data Anywhere implementation LICENSING INFORMATION PDa is licensed under the Standard Improved BSD License and is copyrighted by Miller Puckette and others IMPORT DETAILS PDbox is based on PDa 0.6 which is based on pd-0.37-4 (around the end of 2004). Additionally a minor patch was applied to the file s_loader.c to prevent loading of shared libraries, which would not work in Rockbox anyway. The changes applied fall into three categories: networking, file operations and others. As Rockbox does not have a networking, a lightweight messaging system was implemented for communication. File operations differ under Rockbox from those under desktop operating systems a little. Most, if not all changes are recognizable by their using of the ROCKBOX preprocessor variable (i.e. #ifdef ROCKBOX, #endif /* ROCKBOX */).