Skip to content

feat: Function Pointers #1492

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

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

feat: Function Pointers #1492

wants to merge 9 commits into from

Conversation

volsa
Copy link
Member

@volsa volsa commented Jul 9, 2025

Open

  • Some more codegen & integration tests
  • Clean-up of some temporary fixes
  • (Maybe?) Prevent from being exposed in user-facing code. Not an official feature and should remain internal-only (likely needs more testing before it can be made available to users). Also if made available needs a better syntax, <return type>(<parameter types...>) for example rather than the current form

volsa added 9 commits July 5, 2025 15:08
A function call deref (e.g. `fooPtr^(...)`) will now correctly point at the variable `fooPtr` versus the previous behaviour where it would point directly at the function behind `fooPtr`. For dynamic dispatch sake the latter is incorrect
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 this pull request may close these issues.

1 participant