repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
add-ons
/
media
/
media-add-ons
/
usb_webcam
/
CamDebug.h
blob
c89ddafe9827d2524ca8f89723b1f48df5be134d
1
/*
2
* Copyright 2004-2008, François Revol, <revol@free.fr>.
3
* Distributed under the terms of the MIT License.
4
*/
5
#ifndef _CAM_DEBUG_H
6
#define _CAM_DEBUG_H
7
8
#include <Debug.h>
9
10
/* allow overriding ANSI color */
11
#ifndef CD_COL
12
#define CD_COL
"34"
13
#endif
14
15
#define CH
"
\033
["
CD_COL
"mWebcam::%s::%s"
16
#define CT
"
\033
[0m
\n
"
, __BASE_FILE__, __FUNCTION__
17
18
#endif