-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
MLS: correct typo in principle
by using principal
instead
#4505
MLS: correct typo in principle
by using principal
instead
#4505
Conversation
It is problematic to just change the API. You could add a function with the old name that calls the function with the new, correct name, and add a deprecation notice. |
Another question, the constant |
Hm, the constant was added in this commit, but later removed in the same pull request, and only the mention in the documentation remained. I kinda agree with the review comments on the addition, so I would tend to just change the documentation. |
@mvieth I've updated the doc. |
principle
by using principal
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move the deprecated function to the declaration site? That would make it easier to remove in future
@kunaltyagi Sorry but what do you mean by "move to the declaration site"? |
The simple definition of the deprecated function could be moved to the header (the function declaration) so removing it post deprecation is easier. |
Hm, now macOS fails because of the undefined inline function. Is there any other solution than to revert the last commit? |
According to mpx/lua-cjson#28, one way is removing |
You mean removing |
An attempt to fix undefined inline function on MacOS
@mvieth It works. |
No description provided.