mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-4657 --resolve update libsndfile to its latest master
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright (C) 2003-2009 Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
** Copyright (C) 2003-2012 Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify
|
||||
** it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -28,39 +28,39 @@
|
||||
|
||||
#include "test_main.h"
|
||||
|
||||
#define CMP_0_ARGS(line,err,fmt) \
|
||||
{ psf->logindex = 0 ; \
|
||||
#define CMP_0_ARGS(line, err, fmt) \
|
||||
{ psf->parselog.indx = 0 ; \
|
||||
snprintf (buffer, sizeof (buffer), (fmt)) ; \
|
||||
psf_log_printf (psf, (fmt)) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->logbuffer) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->parselog.buf) ; \
|
||||
}
|
||||
|
||||
#define CMP_2_ARGS(line,err,fmt,a) \
|
||||
{ psf->logindex = 0 ; \
|
||||
#define CMP_2_ARGS(line, err, fmt, a) \
|
||||
{ psf->parselog.indx = 0 ; \
|
||||
snprintf (buffer, sizeof (buffer), (fmt), (a), (a)) ; \
|
||||
psf_log_printf (psf, (fmt), (a), (a)) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->logbuffer) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->parselog.buf) ; \
|
||||
}
|
||||
|
||||
#define CMP_4_ARGS(line,err,fmt,a) \
|
||||
{ psf->logindex = 0 ; \
|
||||
#define CMP_4_ARGS(line, err, fmt, a) \
|
||||
{ psf->parselog.indx = 0 ; \
|
||||
snprintf (buffer, sizeof (buffer), (fmt), (a), (a), (a), (a)) ; \
|
||||
psf_log_printf (psf, (fmt), (a), (a), (a), (a)) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->logbuffer) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->parselog.buf) ; \
|
||||
}
|
||||
|
||||
#define CMP_5_ARGS(line,err,fmt,a) \
|
||||
{ psf->logindex = 0 ; \
|
||||
#define CMP_5_ARGS(line, err, fmt, a) \
|
||||
{ psf->parselog.indx = 0 ; \
|
||||
snprintf (buffer, sizeof (buffer), (fmt), (a), (a), (a), (a), (a)) ; \
|
||||
psf_log_printf (psf, (fmt), (a), (a), (a), (a), (a)) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->logbuffer) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->parselog.buf) ; \
|
||||
}
|
||||
|
||||
#define CMP_6_ARGS(line,err,fmt,a) \
|
||||
{ psf->logindex = 0 ; \
|
||||
#define CMP_6_ARGS(line, err, fmt, a) \
|
||||
{ psf->parselog.indx = 0 ; \
|
||||
snprintf (buffer, sizeof (buffer), (fmt), (a), (a), (a), (a), (a), (a)) ; \
|
||||
psf_log_printf (psf, (fmt), (a), (a), (a), (a), (a), (a)) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->logbuffer) ; \
|
||||
err += compare_strings_or_die (line, fmt, buffer, psf->parselog.buf) ; \
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user