Mercurial > hg > batch-feature-extraction-tool
view Lib/fftw-3.2.1/libbench2/ovtpvt.c @ 3:005e311b5e62
Fixed memory leak. :) Need to fix Debug FFTW now though.
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Fri, 10 Jul 2015 00:33:15 +0100 |
parents | 25bf17994ef1 |
children |
line wrap: on
line source
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include "bench.h" void ovtpvt(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) vfprintf(stdout, format, ap); va_end(ap); fflush(stdout); } void ovtpvt_err(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) { fflush(stdout); vfprintf(stderr, format, ap); } va_end(ap); fflush(stdout); }