diff options
author | Andrius Bentkus <andrius.bentkus@gmail.com> | 2015-06-25 11:14:00 +0200 |
---|---|---|
committer | Andrius Bentkus <andrius.bentkus@gmail.com> | 2015-06-25 17:31:34 +0200 |
commit | 06b355f5a97bd5fb19cfad7e8065d5e8a6c37bce (patch) | |
tree | 3b658b774f028c7a0b9962411a4a6a3e21850b42 /api_test | |
parent | 2f945071616d226296068e3c61b6de2e64c813cf (diff) |
Changed version variables to functions.
This is easier to access using ffi, since some languages, like C#
like to use only function interfaces for accessing library
functionality.
fixes #60
Diffstat (limited to 'api_test')
-rw-r--r-- | api_test/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api_test/main.c b/api_test/main.c index 666af4d..104371c 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -55,8 +55,8 @@ test_continuation_byte(test_batch_runner *runner, const char *utf8); static void version(test_batch_runner *runner) { - INT_EQ(runner, cmark_version, CMARK_VERSION, "cmark_version"); - STR_EQ(runner, cmark_version_string, CMARK_VERSION_STRING, + INT_EQ(runner, cmark_version(), CMARK_VERSION, "cmark_version"); + STR_EQ(runner, cmark_version_string(), CMARK_VERSION_STRING, "cmark_version_string"); } |