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

void is a type #9

Open
jeffythedragonslayer opened this issue Aug 16, 2023 · 3 comments
Open

void is a type #9

jeffythedragonslayer opened this issue Aug 16, 2023 · 3 comments

Comments

@jeffythedragonslayer
Copy link

In http://coranac.com/tonc/text/interrupts.htm we have:

This is just a typeless function (void func(void)); a C-function like many others.

In ISO/IEC 9899:2017 § 6.2.5 we have:

19 The void type comprises an empty set of values; it is an incomplete object type that cannot be completed

@pinobatch
Copy link
Contributor

Would "a function not returning a value" be adequate here?

@jeffythedragonslayer
Copy link
Author

Yeah, sure. Constructors and destructors also do not return a value, so we should keep the signature in the sentence.

@jeffythedragonslayer
Copy link
Author

Also, thanks guys. I really appreciate all the support.

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

No branches or pull requests

2 participants