summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-12-22 08:22:51 +0100
committerHenrik Rydberg <rydberg@bitmath.org>2010-12-22 08:22:51 +0100
commit85c5624eb983f38a5ebb98aa3f695590a940de75 (patch)
treeed485376657e139a74439745d0846e981fafbc81 /include
parent7e1f554c65575ca30591d8055c5eb099bf8427a5 (diff)
Use a single abi version variable
Simplify versioning by using a single coded variable.
Diffstat (limited to 'include')
-rw-r--r--include/evemu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/evemu.h b/include/evemu.h
index 2811ff9..4f1078f 100644
--- a/include/evemu.h
+++ b/include/evemu.h
@@ -33,14 +33,12 @@
#include <errno.h>
#include <linux/input.h>
-#define EVEMU_VERSION_MAJOR 1
-#define EVEMU_VERSION_MINOR 1
+#define EVEMU_VERSION 0x00010000
struct evemu_device *evemu_new(const char *name);
void evemu_delete(struct evemu_device *dev);
-int evemu_get_version_major(const struct evemu_device *dev);
-int evemu_get_version_minor(const struct evemu_device *dev);
+unsigned int evemu_get_version(const struct evemu_device *dev);
const char *evemu_get_name(const struct evemu_device *dev);