view src/libsndfile-1.0.25/Win32/testprog.c @ 117:9ba8af959808

Updates to use dw2 exceptions instead of sjlj (in line with Qt5 MinGW distribution)
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 12 Jun 2014 17:02:21 +0100
parents 545efbb81310
children
line wrap: on
line source
/*	Simple test program to make sure that Win32 linking to libsndfile is
**	working.
*/

#include <stdio.h>

#include "sndfile.h"

int
main (void)
{	static char strbuffer [256] ;
	sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
	puts (strbuffer) ;
	return 0 ;
}