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

add function pointer support #14

Closed
7 tasks done
andrewrk opened this issue Dec 11, 2015 · 0 comments
Closed
7 tasks done

add function pointer support #14

andrewrk opened this issue Dec 11, 2015 · 0 comments
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Milestone

Comments

@andrewrk
Copy link
Member

  • put a bunch of fn pointers in an array and call one
  • fix var args fns
  • store member fn in variable
  • call member fn directly
  • member fns in an array
  • as the result of an if-else
  • add parsing support for fn types
@andrewrk andrewrk added the enhancement Solving this issue will likely involve adding new logic or components to the codebase. label Dec 11, 2015
andrewrk added a commit that referenced this issue Jan 18, 2016
@andrewrk andrewrk added this to the debut milestone Jan 18, 2016
andrewrk added a commit that referenced this issue Jan 18, 2016
andrewrk added a commit that referenced this issue Jan 28, 2016
andrewrk added a commit that referenced this issue Jan 28, 2016
andrewrk added a commit that referenced this issue Jan 29, 2016
andrewrk added a commit that referenced this issue Jan 29, 2016
now these problems are caught in analyzer

this is for purpose of function type, see #14
rootbeer added a commit to rootbeer/zig that referenced this issue Sep 21, 2023
Thanks to @rohlem for spotting this typo.
Vexu pushed a commit that referenced this issue Sep 21, 2023
Simplify wording and add some formatting in several locations.

Expand sentinel array tests to highlight (non-)handling of internal
sentinels.

Fix format of symbol names in function pointers example.

Clarify wording a bit on the builin atomic* documentation.

Remove the (second) builtin compileLog example that demonstrated a lack of
compileLog entries.

* langref: address comments from rohlem

Use "0-terminated" instead of "null-terminated".

Undo some changes that were not as clear an improvement as I though.

* langref: remove stray ""

Thanks to rohlem for spotting this typo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Projects
None yet
Development

No branches or pull requests

1 participant