Use references instead of pointers. Eliminates having to type all those ampersands.
Add support for the F-macro.
Nice. I like it.
I saw that F-macro code but that's what you mean, isn't it? Implement a macro based on it?
[font=Courier New] addDebugVar("My string variable", &someString);[/font]
[font=Courier New] addDebugVar( F( "My string variable" ), &someString);[/font]
What you have shown is using the F-macro, not adding support for it.
The user can do that when they use the library...
size_t print(const __FlashStringHelper *); size_t print(const String &); size_t print(const char); // etc
Would you set it up to force them to reference the F macro, or provide F-macro enabled and non-F-macro enabled versions?
Or do an auto implementation like I want to do?
No download? Bummer.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16