Skip to content

Instantly share code, notes, and snippets.

@kamermans
Created November 8, 2017 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamermans/8743d0b22362c607b2b9b55a5128f031 to your computer and use it in GitHub Desktop.
Save kamermans/8743d0b22362c607b2b9b55a5128f031 to your computer and use it in GitHub Desktop.
Get the version of libwurfl
/**
* libwurfl_version.c
* Compile with:
* gcc -o libwurfl_version libwurfl_version.c -lwurfl
*/
#include <stdio.h>
#include <wurfl/wurfl.h>
int main(int argc, char **argv)
{
printf("libwurfl %s\n", wurfl_get_api_version());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment