From fadc31c6391a8956c49a7ddbf56567c1e9dbe156 Mon Sep 17 00:00:00 2001 From: Ben Campbell Date: Tue, 13 Dec 2022 08:53:20 +1300 Subject: [PATCH] Add some version #defines to impy.h --- README.md | 2 +- impy.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dd8583a..ac57a2b 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/impy.h b/impy.h index 1e9fc9d..ce1ffa3 100644 --- a/impy.h +++ b/impy.h @@ -15,6 +15,11 @@ extern "C" { #include #include + +#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