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

Don't Use Function Pointers to Index Lua Singletons. #262

Open
github-actions bot opened this issue Nov 22, 2023 · 0 comments
Open

Don't Use Function Pointers to Index Lua Singletons. #262

github-actions bot opened this issue Nov 22, 2023 · 0 comments
Labels
code:todo A TODO/FIXME comment in code.

Comments

@github-actions
Copy link

Unfortunately, function pointers with different signatures may be unified by LLVM when activating, for intance, LTO, and that can cause unexpected behavior when using them as indexes into a HashMap for singletons.


}
// TODO: Don't Use Function Pointers to Index Lua Singletons.
// Unfortunately, function pointers with different signatures may be unified by
// LLVM when activating, for intance, LTO, and that can cause unexpected behavior
// when using them as indexes into a HashMap for singletons.
/// Struct for accessing and initializing lua singletons.
///


This issue was generated by todo-issue based on a TODO comment in b865f8f.
@github-actions github-actions bot added the code:todo A TODO/FIXME comment in code. label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code:todo A TODO/FIXME comment in code.
Projects
None yet
Development

No branches or pull requests

0 participants