We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Say we have a class call AppConfigMgr has a private constructor only, ulua will export some unnecessary code
public class AppConfigMgr { private AppConfigMgr() { }
new LuaMethod("New", _CreateConfigs_AppConfigMgr),
static int _CreateConfigs_AppConfigMgr(IntPtr L) { LuaDLL.luaL_error(L, "Configs.AppConfigMgr class does not have a constructor function"); return 0; }
Don't generate New when the constructor is inaccessible, Let lua handle the error when miss use.
Thank you
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Say we have a class call AppConfigMgr has a private constructor only, ulua will export some unnecessary code
Don't generate New when the constructor is inaccessible, Let lua handle the error when miss use.
Thank you
The text was updated successfully, but these errors were encountered: