-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #53: in X* -> const(X)* for DMD 2.104.0
The D keyword "in" for function parameters means "scope const ref" and DMD 2.104.0, released 2023-06-01, is beginning to warn about using "in" during extern(C). More information: https://dlang.org/changelog/2.104.0.html#dmd.in-externd DMD 2.104.0 Release Notes: Using in parameters with non-extern(D)/extern(C++) functions is deprecated https://dlang.org/changelog/2.101.0.html#dmd.previewInLink DMD 2.101.0 Release Notes: -preview=in disabled for non-D-non-C++ linkage: in "is D centric, as it is an enhanced version of "scope const ref". As non-extern(D) functions usually are expected to match a specific ABI, using in is hardly a good idea." This is an automatic conversion of all function parameters of form "in X* " or "in X *" without quotes to "const(X)* " without quotes. I've reviewed each change myself.
- Loading branch information
Showing
27 changed files
with
270 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.