mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 21:00:28 +02:00
* removed the usage of unixtypes from imagemagick headers. Type size_t was used. csize_t is now available for all platforms over ctypes.
git-svn-id: trunk@12603 -
This commit is contained in:
parent
38bf32dddf
commit
5f880668ae
@ -380,10 +380,10 @@ function MagickGetImageRenderingIntent(wand: PMagickWand): RenderingIntent; cdec
|
|||||||
|
|
||||||
function MagickGetImageUnits(wand: PMagickWand): ResolutionType; cdecl; external WandExport;
|
function MagickGetImageUnits(wand: PMagickWand): ResolutionType; cdecl; external WandExport;
|
||||||
|
|
||||||
function MagickGetImageBlob(wand: PMagickWand; length: Psize_t): PByte; cdecl; external WandExport;
|
function MagickGetImageBlob(wand: PMagickWand; length: Pcsize_t): PByte; cdecl; external WandExport;
|
||||||
function MagickGetImagesBlob(wand: PMagickWand; length: Psize_t): PByte; cdecl; external WandExport;
|
function MagickGetImagesBlob(wand: PMagickWand; length: Pcsize_t): PByte; cdecl; external WandExport;
|
||||||
function MagickGetImageProfile(wand: PMagickWand; name: PChar; length: Psize_t): PByte; cdecl; external WandExport;
|
function MagickGetImageProfile(wand: PMagickWand; name: PChar; length: Pcsize_t): PByte; cdecl; external WandExport;
|
||||||
function MagickRemoveImageProfile(wand: PMagickWand; name: PChar; length: Psize_t): PByte; cdecl; external WandExport;
|
function MagickRemoveImageProfile(wand: PMagickWand; name: PChar; length: Pcsize_t): PByte; cdecl; external WandExport;
|
||||||
|
|
||||||
function MagickGetImageColors(wand: PMagickWand): culong; cdecl; external WandExport;
|
function MagickGetImageColors(wand: PMagickWand): culong; cdecl; external WandExport;
|
||||||
function MagickGetImageCompressionQuality(wand: PMagickWand): culong; cdecl; external WandExport;
|
function MagickGetImageCompressionQuality(wand: PMagickWand): culong; cdecl; external WandExport;
|
||||||
|
@ -32,7 +32,7 @@ unit magick_wand;
|
|||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses ImageMagick, ctypes, unixtype;
|
uses ImageMagick, ctypes;
|
||||||
|
|
||||||
{ Various types }
|
{ Various types }
|
||||||
type
|
type
|
||||||
@ -49,10 +49,6 @@ type
|
|||||||
|
|
||||||
PMagickWand = ^MagickWand;
|
PMagickWand = ^MagickWand;
|
||||||
|
|
||||||
// size_t = Integer;
|
|
||||||
|
|
||||||
Psize_t = ^size_t;
|
|
||||||
|
|
||||||
{$include pixel_wand.inc}
|
{$include pixel_wand.inc}
|
||||||
{$include drawing_wand.inc}
|
{$include drawing_wand.inc}
|
||||||
{$include magick_attribute.inc}
|
{$include magick_attribute.inc}
|
||||||
|
Loading…
Reference in New Issue
Block a user