File: common_unique_DebugPrint

package info (click to toggle)
psychtoolbox-3 3.0.9%2Bsvn2579.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 63,408 kB
  • sloc: ansic: 73,310; cpp: 11,139; objc: 3,129; sh: 1,669; python: 382; php: 272; makefile: 172; java: 113
file content (36 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Subject: avoid PaUtil_DebugPrint defined in multiple locations -- reuse pa_debugprint.o
Origin: PTB-3


--- a/portaudio/Makefile.in
+++ b/portaudio/Makefile.in
@@ -49,6 +49,7 @@ COMMON_OBJS = \
 	src/common/pa_cpuload.o \
 	src/common/pa_dither.o \
 	src/common/pa_front.o \
+	src/common/pa_debugprint.o \
 	src/common/pa_process.o \
 	src/common/pa_skeleton.o \
 	src/common/pa_stream.o \
--- a/portaudio/src/common/pa_front.c
+++ b/portaudio/src/common/pa_front.c
@@ -158,7 +158,8 @@ void PaUtil_SetLastHostErrorInfo( PaHost
     strncpy( lastHostErrorText_, errorText, PA_LAST_HOST_ERROR_TEXT_LENGTH_ );
 }
 
-
+/*
+MK CHANGED PTB - Already defined in pa_debugprint
 void PaUtil_DebugPrint( const char *format, ... )
 {
     va_list ap;
@@ -169,7 +170,7 @@ void PaUtil_DebugPrint( const char *form
 
     fflush( stderr );
 }
-
+*/
 
 static PaUtilHostApiRepresentation **hostApis_ = 0;
 static int hostApisCount_ = 0;