-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some functions take non-const char* #16
Comments
Fixed in #21 right? |
Doh sorry, this is talking about function arguments not local declarations. |
Correct. I think I fixed most in #17 but only in tft.c/.h and there are other files. Also it would be good if you could double-check that I didn't miss any, as I was mostly concerned with the ones I was actively using (so I could be sure it still built/worked properly after changing). |
Closing all open issues as I'm no longer maintaining this library, I've updated the README to reflect it. |
In tft.c, some functions take non-const char* as argument, when they should take const char*.
This makes it fairly annoying to call from C++, where without a const_cast, it will produce compiler warnings.
Some of the functions do take const char*, so they just all need to do so appropriately (which I'm guessing is all of them, as they shouldn't really be altering the input string).
The text was updated successfully, but these errors were encountered: