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

Initialize function pointers to something which aborts with a message #42

Closed
expipiplus1 opened this issue Apr 29, 2019 · 1 comment · Fixed by #74
Closed

Initialize function pointers to something which aborts with a message #42

expipiplus1 opened this issue Apr 29, 2019 · 1 comment · Fixed by #74

Comments

@expipiplus1
Copy link
Owner

Instead of initializing them to nullptr and causing a segfault.

This means that comparing function pointers to nullptr won't work though

@expipiplus1
Copy link
Owner Author

Better would be to check for nullptr where they're called and keep them as pointers in the function pointer records.

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

Successfully merging a pull request may close this issue.

1 participant