Skip to content
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

Consistent function naming #7

Open
Y-Less opened this issue Apr 2, 2019 · 1 comment
Open

Consistent function naming #7

Y-Less opened this issue Apr 2, 2019 · 1 comment

Comments

@Y-Less
Copy link
Member

Y-Less commented Apr 2, 2019

While these includes originally used lowercase naming, most of the rest of the SA:MP community - including the official includes and major includes and plugins use UpperCase. The naming here is somewhat legacy and should be brought up to date:

#pragma deprecated Use `FuncIDX`.
native funcidx(const name[]);
native FuncIDX(const name[]) = funcidx;
@Shiska
Copy link
Contributor

Shiska commented Jul 28, 2019

I see no problem with this but it should be done in a separate branch because we can't know if someone uses one of the uppercase variants as a function name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants