2010-08-19 15:38:45 -05:00
|
|
|
#ifdef DEBUG
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2003-2007 Alexandre Ratchov <alex@caoua.org>
|
|
|
|
*
|
2011-08-16 06:03:58 -05:00
|
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
2010-08-19 15:38:45 -05:00
|
|
|
*
|
2011-08-16 06:03:58 -05:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
2010-08-19 15:38:45 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MIDISH_DBG_H
|
|
|
|
#define MIDISH_DBG_H
|
|
|
|
|
|
|
|
void dbg_puts(char *);
|
|
|
|
void dbg_putx(unsigned long);
|
|
|
|
void dbg_putu(unsigned long);
|
|
|
|
void dbg_puti(long);
|
|
|
|
void dbg_panic(void);
|
|
|
|
void dbg_flush(void);
|
|
|
|
|
2012-04-11 02:21:29 -05:00
|
|
|
extern unsigned int dbg_sync;
|
2010-08-19 15:38:45 -05:00
|
|
|
|
|
|
|
#endif /* MIDISH_DBG_H */
|
|
|
|
#endif /* DEBUG */
|