commit | 36df4bb6a795130b242d25f285b60ce05ad60c63 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Dec 10 13:31:20 2013 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Dec 10 13:31:20 2013 +0800 |
tree | b9b587450f908c28019ca7c63e861dba4da103a1 | |
parent | 723fa808908b596e7b5cab141c55017a4f323fba [diff] [blame] |
revert the cs_version() API
diff --git a/cs.c b/cs.c index 58a1a8c..b517f4e 100644 --- a/cs.c +++ b/cs.c
@@ -32,6 +32,13 @@ #define PKG_MAJOR 1 #define PKG_MINOR 0 + +void cs_version(int *major, int *minor) +{ + *major = CS_API_MAJOR; + *minor = CS_API_MINOR; +} + cs_err cs_errno(csh handle) { if (!handle)