D bindings to the GraphicsMagick library.
修订版 | c108e1249b9d0fbe0801e6a1f0cca42b2b4efc1a (tree) |
---|---|
时间 | 2023-06-25 13:50:59 |
作者 | Mio <stigma@disr...> |
Commiter | Mio |
[graphicsmagick] magic in -> const scope
@@ -23,8 +23,8 @@ version (GMagick_Static) | ||
23 | 23 | { |
24 | 24 | @system @nogc nothrow extern (C): |
25 | 25 | |
26 | - MagickPassFail GetMagickFileFormat(in ubyte *header, in size_t header_length, | |
27 | - char *format, in size_t format_length, ExceptionInfo* exception); | |
26 | + MagickPassFail GetMagickFileFormat(const scope ubyte *header, const scope size_t header_length, | |
27 | + char *format, const scope size_t format_length, ExceptionInfo* exception); | |
28 | 28 | MagickPassFail InitializeMagicInfo(ExceptionInfo *exception); |
29 | 29 | MagickPassFail ListMagicInfo(FILE *file, ExceptionInfo *exception); |
30 | 30 |
@@ -34,7 +34,7 @@ else | ||
34 | 34 | { |
35 | 35 | @system @nogc nothrow extern (C) |
36 | 36 | { |
37 | - alias mGetMagickFileFormat = MagickPassFail function(in ubyte*, in size_t, char*, in size_t, | |
37 | + alias mGetMagickFileFormat = MagickPassFail function(const scope ubyte*, const scope size_t, char*, const scope size_t, | |
38 | 38 | ExceptionInfo*); |
39 | 39 | alias mInitializeMagicInfo = MagickPassFail function(ExceptionInfo*); |
40 | 40 | alias mListMagicInfo = MagickPassFail function(FILE*, ExceptionInfo*); |