• 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

Revisión596ad613732bf22ca5c296b1a2bcaabfeb3c86c3 (tree)
Tiempo2023-06-25 13:57:36
AutorMio <stigma@disr...>
CommiterMio

Log Message

[graphicsmagick] render in -> const scope

Cambiar Resumen

Diferencia incremental

--- a/graphicsmagick_c/src/graphicsmagick_c/magick/render.d
+++ b/graphicsmagick_c/src/graphicsmagick_c/magick/render.d
@@ -348,49 +348,49 @@ version (GMagick_Static)
348348 {
349349 @system @nogc nothrow extern (C):
350350
351- char** GetTypeList(in char*, c_ulong*);
351+ char** GetTypeList(const scope char*, c_ulong*);
352352
353- const(TypeInfo)* GetTypeInfo(in char*, ExceptionInfo*);
354- const(TypeInfo)* GetTypeInfoByFamily(in char*, in StyleType, in StretchType,
355- in c_ulong, ExceptionInfo*);
353+ const(TypeInfo)* GetTypeInfo(const scope char*, ExceptionInfo*);
354+ const(TypeInfo)* GetTypeInfoByFamily(const scope char*, const scope StyleType, const scope StretchType,
355+ const scope c_ulong, ExceptionInfo*);
356356
357- DrawInfo* CloneDrawInfo(in ImageInfo*, in DrawInfo*);
357+ DrawInfo* CloneDrawInfo(const scope ImageInfo*, const scope DrawInfo*);
358358
359- MagickPassFail AnnotateImage(Image*, in DrawInfo*);
360- MagickPassFail DrawAffineImage(Image*, in Image*, in AffineMatrix*);
361- MagickPassFail DrawClipPath(Image*, in DrawInfo*, in char*);
362- MagickPassFail DrawImage(Image*, in DrawInfo*);
363- MagickPassFail DrawPatternPath(Image*, in DrawInfo*, in char*, Image**);
364- MagickPassFail GetTypeMetrics(Image*, in DrawInfo*, TypeMetric*);
359+ MagickPassFail AnnotateImage(Image*, const scope DrawInfo*);
360+ MagickPassFail DrawAffineImage(Image*, const scope Image*, const scope AffineMatrix*);
361+ MagickPassFail DrawClipPath(Image*, const scope DrawInfo*, const scope char*);
362+ MagickPassFail DrawImage(Image*, const scope DrawInfo*);
363+ MagickPassFail DrawPatternPath(Image*, const scope DrawInfo*, const scope char*, Image**);
364+ MagickPassFail GetTypeMetrics(Image*, const scope DrawInfo*, TypeMetric*);
365365 MagickPassFail ListTypeInfo(FILE*, ExceptionInfo*);
366366
367367 void DestroyDrawInfo(DrawInfo*);
368368 void DestroyTypeInfo();
369- void GetDrawInfo(in ImageInfo*, DrawInfo*);
369+ void GetDrawInfo(const scope ImageInfo*, DrawInfo*);
370370 } // version (GMagick_Static)
371371 else
372372 {
373373 @system @nogc nothrow extern (C)
374374 {
375- alias mGetTypeList = char** function(in char*, c_ulong*);
375+ alias mGetTypeList = char** function(const scope char*, c_ulong*);
376376
377- alias mGetTypeInfo = const(TypeInfo)* function(in char*, ExceptionInfo*);
378- alias mGetTypeInfoByFamily = const(TypeInfo)* function(in char*, in StyleType, in StretchType,
379- in c_ulong, ExceptionInfo*);
377+ alias mGetTypeInfo = const(TypeInfo)* function(const scope char*, ExceptionInfo*);
378+ alias mGetTypeInfoByFamily = const(TypeInfo)* function(const scope char*, const scope StyleType, const scope StretchType,
379+ const scope c_ulong, ExceptionInfo*);
380380
381- alias mCloneDrawInfo = DrawInfo* function(in ImageInfo*, in DrawInfo*);
381+ alias mCloneDrawInfo = DrawInfo* function(const scope ImageInfo*, const scope DrawInfo*);
382382
383- alias mAnnotateImage = MagickPassFail function(Image*, in DrawInfo*);
384- alias mDrawAffineImage = MagickPassFail function(Image*, in Image*, in AffineMatrix*);
385- alias mDrawClipPath = MagickPassFail function(Image*, in DrawInfo*, in char*);
386- alias mDrawImage = MagickPassFail function(Image*, in DrawInfo*);
387- alias mDrawPatternPath = MagickPassFail function(Image*, in DrawInfo*, in char*, Image**);
388- alias mGetTypeMetrics = MagickPassFail function(Image*, in DrawInfo*, TypeMetric*);
383+ alias mAnnotateImage = MagickPassFail function(Image*, const scope DrawInfo*);
384+ alias mDrawAffineImage = MagickPassFail function(Image*, const scope Image*, const scope AffineMatrix*);
385+ alias mDrawClipPath = MagickPassFail function(Image*, const scope DrawInfo*, const scope char*);
386+ alias mDrawImage = MagickPassFail function(Image*, const scope DrawInfo*);
387+ alias mDrawPatternPath = MagickPassFail function(Image*, const scope DrawInfo*, const scope char*, Image**);
388+ alias mGetTypeMetrics = MagickPassFail function(Image*, const scope DrawInfo*, TypeMetric*);
389389 alias mListTypeInfo = MagickPassFail function(FILE*, ExceptionInfo*);
390390
391391 alias mDestroyDrawInfo = void function(DrawInfo*);
392392 alias mDestroyTypeInfo = void function();
393- alias mGetDrawInfo = void function(in ImageInfo*, DrawInfo*);
393+ alias mGetDrawInfo = void function(const scope ImageInfo*, DrawInfo*);
394394 }
395395
396396 __gshared