File: libjodycode_apiver.c

package info (click to toggle)
libjodycode 4.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,664 kB
  • sloc: ansic: 2,810; makefile: 368; sh: 153; xml: 18
file content (16 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Prints linked libjodycode API version/sub-version information
 * Useful for detecting the API that will be linked to by the compiler
 * Released into the public domain by Jody Bruchon <jody@jodybruchon.com */

#include <stdio.h>
#include "libjodycode.h"

int main(void)
{
	printf("Version: %s\n", LIBJODYCODE_VER);
	printf("Date: %s\n", LIBJODYCODE_VERDATE);
	printf("API version: %d\n", LIBJODYCODE_API_VERSION);
	printf("API feature level: %d\n", LIBJODYCODE_API_FEATURE_LEVEL);
	printf("Unicode: %d\n", LIBJODYCODE_WINDOWS_UNICODE);
	return 0;
}