|
|
However, what would we do with the FLTK code to be able to use either the system libs or the bundled libs?
I figure the bundled code's function names have to all be changed, and the wrapper code would be turned on or off based on the config settings. If turned off at config, any #include for the wrapper .h file would trigger a compile time #error or some such I imagine.
Would we just use the namespace by adding using ... or not, depending on the usage of the bundled lib or not, resp.?
If I understand correctly, I guess it depends how easily we'd want the user code that calls e.g. the png lib directly to be able to easily call our bundled PNG lib or the local system's PNG lib easily by just changing what the user #include's, and not have to change all their function calls.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |