xPL Framework for Linux using C bindings (any language can link to the shared or static libraries, so not C only). Includes examples and a robust Linux based xPL Hub
FS#33 - Const correctnes of API
Attached to Project:
xPL4Linux (xpllib)
Opened by Chris M. (chris m.) - Saturday, 26 December 2009, 08:19 GMT-5
Opened by Chris M. (chris m.) - Saturday, 26 December 2009, 08:19 GMT-5
|
DetailsThe API isn't const correct, i.e. the functions in the xPL.h define all Strings as char* instead of const char* where possible and only char* where necessary.
This causes troubles when using that library from an const correct application. Current worarounds are: - define String as const char* (although the library was compiled with char*) - possible but is a timebomb - copy all strings to be able to pass a non const char* - this wastes ressources! |
This task depends upon
