Skip to content

Commit

Permalink
Add some version #defines to impy.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bcampbell committed Dec 12, 2022
1 parent b5862da commit fadc31c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ To specify a release build in the meson setup step:

## API

Not yet. `impy.h` is the public interface, but it's subject to massive change.
See `impy.h`.

5 changes: 5 additions & 0 deletions impy.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ extern "C" {
#include <stdint.h>
#include <stdbool.h>


#define IMPY_VERSION_STRING "0.2"
// Increment this any time API changes.
#define IMPY_API_VERSION 2

// The pixelformats we support.
// X = pad byte
// A = alpha byte
Expand Down

0 comments on commit fadc31c

Please sign in to comment.