[Issue 22959] Documentation for C/D main is incomplete
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 29 21:05:32 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22959
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dlang.org pull request #3266 "Fix 22959 -
Extend documentation for C/D main functions." fixing this issue:
- Fix 22959 - Extend documentation for C/D main functions.
For D mains, document that parameter / return types may be qualified and
also can be replaced by enums with appropriate base types.
For C mains, document that it may be used without -betterC and how it
interacts with runtime initialization. Replaced the list of allowed
signatures with a proper grammar and also added a workaround for exotic
main signatures.
https://github.com/dlang/dlang.org/pull/3266
--
More information about the Digitalmars-d-bugs
mailing list