Re: ImageMagick Version Number
Ali Bendriss <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: >> I would like to know more about the numbering you use for the magic >> > core > API. > > We use the standard major.minor.revision-patch. If any structure > changes are made they are added to the end of the structure to maintain > backwards compatibility. If any members are deprecated they are simply > not used but remain in the structure. A structure may change in ordering > during a major upgrade and some deprecated members may be removed. > We've been getting away from allowing API uses access to the structure > members by publishing methods that can get/set structure members. > > I'm maintaining G2F an Ada binding to ImageMagick Core. I try as well in G2F to hide the structure access by using the private package facility of the Ada language. But at a low level I still need to interface the different structure correctly. I would like to give the user the possibility to compile G2F with any version of ImageMagick supported and otherwise generate an error at the run time if the version mismatch. So interfacing the version 6.2 6.3... should be fine for any revision number. > The MagickCore method signatures will not change if they are published > here: http://www.imagemagick.org/script/magick-core.php. > > Thanks, I've added the link to my bookmarks. Ali