D bindings to the GraphicsMagick library.
修訂 | 2c5b3e4e1aae3f61ed34e8116e8ab6476f3a528d (tree) |
---|---|
時間 | 2023-06-25 13:50:26 |
作者 | Mio <stigma@disr...> |
Commiter | Mio |
[graphicsmagick] list in -> const scope
@@ -21,22 +21,22 @@ version(GMagick_Static) | ||
21 | 21 | { |
22 | 22 | @system @nogc nothrow extern(C): |
23 | 23 | |
24 | - Image* CloneImageList(in Image*, ExceptionInfo*); | |
25 | - Image* GetFirstImageInList(in Image*); | |
26 | - Image* GetImageFromList(in Image*, in c_long); | |
27 | - Image* GetLastImageInList(in Image*); | |
28 | - Image* GetNextImageInList(in Image*); | |
29 | - Image* GetPreviousImageInList(in Image*); | |
30 | - Image** ImageListToArray(in Image*, ExceptionInfo*); | |
24 | + Image* CloneImageList(const scope Image*, ExceptionInfo*); | |
25 | + Image* GetFirstImageInList(const scope Image*); | |
26 | + Image* GetImageFromList(const scope Image*, const scope c_long); | |
27 | + Image* GetLastImageInList(const scope Image*); | |
28 | + Image* GetNextImageInList(const scope Image*); | |
29 | + Image* GetPreviousImageInList(const scope Image*); | |
30 | + Image** ImageListToArray(const scope Image*, ExceptionInfo*); | |
31 | 31 | Image* NewImageList(); |
32 | 32 | Image* RemoveLastImageFromList(Image**); |
33 | 33 | Image* RemoveFirstImageFromList(Image**); |
34 | 34 | Image* SplitImageList(Image*); |
35 | - Image* SyncNextImageInList(in Image*); | |
35 | + Image* SyncNextImageInList(const scope Image*); | |
36 | 36 | |
37 | - c_long GetImageIndexInList(in Image*); | |
37 | + c_long GetImageIndexInList(const scope Image*); | |
38 | 38 | |
39 | - c_ulong GetImageListLength(in Image*); | |
39 | + c_ulong GetImageListLength(const scope Image*); | |
40 | 40 | |
41 | 41 | void AppendImageToList(Image**, Image*); |
42 | 42 | void DeleteImageFromList(Image**); |
@@ -45,28 +45,28 @@ version(GMagick_Static) | ||
45 | 45 | void PrependImageToList(Image**, Image*); |
46 | 46 | void ReplaceImageInList(Image** images, Image* image); |
47 | 47 | void ReverseImageList(Image**); |
48 | - void SpliceImageIntoList(Image**, in c_ulong, Image*); | |
48 | + void SpliceImageIntoList(Image**, const scope c_ulong, Image*); | |
49 | 49 | } // version(GMagick_Static) |
50 | 50 | else |
51 | 51 | { |
52 | 52 | @system @nogc nothrow extern(C) |
53 | 53 | { |
54 | - alias mCloneImageList = Image* function(in Image*, ExceptionInfo*); | |
55 | - alias mGetFirstImageInList = Image* function(in Image*); | |
56 | - alias mGetImageFromList = Image* function(in Image*, in c_long); | |
57 | - alias mGetLastImageInList = Image* function(in Image*); | |
58 | - alias mGetNextImageInList = Image* function(in Image*); | |
59 | - alias mGetPreviousImageInList = Image* function(in Image*); | |
60 | - alias mImageListToArray = Image** function(in Image*, ExceptionInfo*); | |
54 | + alias mCloneImageList = Image* function(const scope Image*, ExceptionInfo*); | |
55 | + alias mGetFirstImageInList = Image* function(const scope Image*); | |
56 | + alias mGetImageFromList = Image* function(const scope Image*, const scope c_long); | |
57 | + alias mGetLastImageInList = Image* function(const scope Image*); | |
58 | + alias mGetNextImageInList = Image* function(const scope Image*); | |
59 | + alias mGetPreviousImageInList = Image* function(const scope Image*); | |
60 | + alias mImageListToArray = Image** function(const scope Image*, ExceptionInfo*); | |
61 | 61 | alias mNewImageList = Image* function(); |
62 | 62 | alias mRemoveLastImageFromList = Image* function(Image**); |
63 | 63 | alias mRemoveFirstImageFromList = Image* function(Image**); |
64 | 64 | alias mSplitImageList = Image* function(Image*); |
65 | 65 | alias mSyncNextImageInList = Image* function(Image*); |
66 | 66 | |
67 | - alias mGetImageIndexInList = c_long function(in Image*); | |
67 | + alias mGetImageIndexInList = c_long function(const scope Image*); | |
68 | 68 | |
69 | - alias mGetImageListLength = c_ulong function(in Image*); | |
69 | + alias mGetImageListLength = c_ulong function(const scope Image*); | |
70 | 70 | |
71 | 71 | alias mAppendImageToList = void function(Image**, Image*); |
72 | 72 | alias mDeleteImageFromList = void function(Image**); |
@@ -75,7 +75,7 @@ else | ||
75 | 75 | alias mPrependImageToList = void function(Image**, Image*); |
76 | 76 | alias mReplaceImageInList = void function(Image**, Image*); |
77 | 77 | alias mReverseImageList = void function(Image**); |
78 | - alias mSpliceImageIntoList = void function(Image**, in c_ulong, Image*); | |
78 | + alias mSpliceImageIntoList = void function(Image**, const scope c_ulong, Image*); | |
79 | 79 | } |
80 | 80 | |
81 | 81 | __gshared |