sc68 debug message.
More...
#include <stdarg.h>
Go to the source code of this file.
|
typedef void(* | debugmsg68_t) (void *cookie, const char *fmt, va_list list) |
| Debug handler type. More...
|
|
sc68 debug message.
- Author
- Benjamin Gerard ben@s.nosp@m.ashi.nosp@m.pa.co.nosp@m.m
- Date
- 2003/08/22
- Id
- debugmsg68.h,v 2.3 2003/09/30 06:29:57 benjihan Exp
typedef void(* debugmsg68_t) (void *cookie, const char *fmt, va_list list) |
Set debug function.
- Parameters
-
handler | pointer to a function to display debug messages (0 desactive debug message). |
- Returns
- previous handler
void* debugmsg68_set_cookie |
( |
void * |
cookie | ) |
|
Set debug function user parameter.
- Parameters
-
cookie | user parameter that will be sent as first parameter to the debug handler. |
- See also
- debugmsg68_set_handler();
void debugmsg68 |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Print debug message.
- Parameters
-
fmt | printf() like format string. |
void vdebugmsg68 |
( |
const char * |
fmt, |
|
|
va_list |
list |
|
) |
| |
Print debug message (variable argument).
- Parameters
-
fmt | printf() like format string. |
list | variable argument list (stdarg.h) |
void SC68os_pdebug |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |