Debian Codegraph @

tests/get-package-version.c

raw
1 // get the value of PACKAGE_VERSION
2
3 #include <graphviz/graphviz_version.h>
4 #include <stdio.h>
5
6 #ifndef PACKAGE_VERSION
7 #error PACKAGE_VERSION missing from graphviz_version.h
8 #endif
9
10 int main(void) {
11 printf("%s\n", PACKAGE_VERSION "");
12 return 0;
13 }