PageRenderTime 36ms CodeModel.GetById 26ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/dmagick/c/list.d

http://github.com/MikeWey/DMagick
D | 52 lines | 42 code | 10 blank | 0 comment | 2 complexity | 81521719b812a586797bbb18861785d9 MD5 | raw file
 1module dmagick.c.list;
 2
 3import dmagick.c.exception;
 4import dmagick.c.image;
 5import dmagick.c.magickVersion;
 6
 7alias ptrdiff_t ssize_t;
 8
 9extern(C)
10{
11	Image*  CloneImageList(const(Image)*, ExceptionInfo*);
12	Image*  CloneImages(const(Image)*, const(char)*, ExceptionInfo*);
13	Image*  DestroyImageList(Image*);
14
15	static if ( MagickLibVersion >= 0x669 )
16	{
17		Image*  DuplicateImages(Image*, const size_t, const char*, ExceptionInfo*);
18	}
19
20	Image*  GetFirstImageInList(const(Image)*);
21	Image*  GetImageFromList(const(Image)*, const ssize_t);
22	Image*  GetLastImageInList(const(Image)*);
23	Image*  GetNextImageInList(const(Image)*);
24	Image*  GetPreviousImageInList(const(Image)*);
25	Image** ImageListToArray(const(Image)*, ExceptionInfo*);
26	Image*  NewImageList();
27	Image*  RemoveImageFromList(Image**);
28	Image*  RemoveLastImageFromList(Image**);
29	Image*  RemoveFirstImageFromList(Image**);
30	Image*  SpliceImageIntoList(Image**, const size_t, const(Image)*);
31	Image*  SplitImageList(Image*);
32	Image*  SyncNextImageInList(const(Image)*);
33
34	size_t GetImageListLength(const(Image)*);
35
36	ssize_t GetImageIndexInList(const(Image)*);
37
38	void AppendImageToList(Image**, const(Image)*);
39	void DeleteImageFromList(Image**);
40	void DeleteImages(Image**, const(char)*, ExceptionInfo*);
41	void InsertImageInList(Image**, Image*);
42	void PrependImageToList(Image**, Image*);
43	void ReplaceImageInList(Image**, Image*);
44
45	static if ( MagickLibVersion >= 0x669 )
46	{
47		void ReplaceImageInListReturnLast(Image**, Image*);
48	}
49
50	void ReverseImageList(Image**);
51	void SyncImageList(Image*);
52}