annotate 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
rev   line source
cannam@85 1 /* Simple test program to make sure that Win32 linking to libsndfile is
cannam@85 2 ** working.
cannam@85 3 */
cannam@85 4
cannam@85 5 #include <stdio.h>
cannam@85 6
cannam@85 7 #include "sndfile.h"
cannam@85 8
cannam@85 9 int
cannam@85 10 main (void)
cannam@85 11 { static char strbuffer [256] ;
cannam@85 12 sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
cannam@85 13 puts (strbuffer) ;
cannam@85 14 return 0 ;
cannam@85 15 }
cannam@85 16