• R/O
  • HTTP
  • SSH
  • HTTPS

提交

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

修订版c108e1249b9d0fbe0801e6a1f0cca42b2b4efc1a (tree)
时间2023-06-25 13:50:59
作者Mio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] magic in -> const scope

更改概述

差异

--- 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*);