[Issue 22959] Documentation for C/D main is incomplete

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 4 09:29:45 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22959

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3266 "Fix 22959 - Extend documentation for C/D
main functions." was merged into master:

- d2c21e2cf77da571ea21697a78e0dc3b3c68cf8d by MoonlightSentinel:
  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