• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

D bindings to the GraphicsMagick library.


Commit MetaInfo

Revisionc108e1249b9d0fbe0801e6a1f0cca42b2b4efc1a (tree)
Time2023-06-25 13:50:59
AuthorMio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] magic in -> const scope

Change Summary

Incremental Difference

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/magic.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/magic.d
@@ -23,8 +23,8 @@ version (GMagick_Static)
2323 {
2424 @system @nogc nothrow extern (C):
2525
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);
2828 MagickPassFail InitializeMagicInfo(ExceptionInfo *exception);
2929 MagickPassFail ListMagicInfo(FILE *file, ExceptionInfo *exception);
3030
@@ -34,7 +34,7 @@ else
3434 {
3535 @system @nogc nothrow extern (C)
3636 {
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,
3838 ExceptionInfo*);
3939 alias mInitializeMagicInfo = MagickPassFail function(ExceptionInfo*);
4040 alias mListMagicInfo = MagickPassFail function(FILE*, ExceptionInfo*);