Skip to content

Commit

Permalink
bump API revision level and note the cause (in a comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Oct 8, 2011
1 parent fdbad1c commit a0392ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Imager release history. Older releases can be found in Changes.old

- eliminate the final remnants of io_glue_commit_types().

- bump IMAGER_API_VERSION, since the above may break assumptions.

- removed the long unused i_gen_reader() and i_gen_writer() utility
functions.

Expand Down
7 changes: 6 additions & 1 deletion imexttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@
Version 2 changed the types of some parameters and pointers. A
simple recompile should be enough in most cases.
Version 3 changed the behaviour of some of the I/O layer functions,
and in some cases the initial seek position when calling file
readers. Switching away from calling readcb etc to i_io_read() etc
should fix your code.
*/
#define IMAGER_API_VERSION 2
#define IMAGER_API_VERSION 3

/*
IMAGER_API_LEVEL is the level of the structure. New function pointers
Expand Down

0 comments on commit a0392ff

Please sign in to comment.