diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-24 19:20:54 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-24 19:20:54 +0100 |
commit | fd07459ba8f06ac8674d3c16c16dd41f00aa492e (patch) | |
tree | 66b437ee848fde408a82223ed308a5b89cb84b82 /include | |
parent | 27cbbcc79bdf376a4c761594de6fd44a28530f91 (diff) | |
download | wolfbones-fd07459ba8f06ac8674d3c16c16dd41f00aa492e.tar.gz wolfbones-fd07459ba8f06ac8674d3c16c16dd41f00aa492e.tar.bz2 |
added wolf_log_strerror and fixed itoa prototype
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/log/log.h | 5 | ||||
-rw-r--r-- | include/wolf/port/stdlib.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/wolf/log/log.h b/include/wolf/log/log.h index f656f53..c5f2a46 100644 --- a/include/wolf/log/log.h +++ b/include/wolf/log/log.h @@ -302,8 +302,13 @@ void wolf_log( wolf_log_level_t level, int category_id, int message_id, const ch */ void wolf_log_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); +#if defined _WIN32 void wolf_log_win32( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); void wolf_log_win32_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); +#endif + +void wolf_log_strerror( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); +void wolf_log_strerror_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); #ifdef __cplusplus } diff --git a/include/wolf/port/stdlib.h b/include/wolf/port/stdlib.h index b3b0515..37e1931 100644 --- a/include/wolf/port/stdlib.h +++ b/include/wolf/port/stdlib.h @@ -37,7 +37,7 @@ extern char *wolf_port_itoa( int value, char *string, int radix ); #endif /* !defined HAVE_ITOA || defined TEST_ITOA */ #if !defined HAVE_ITOA -#define itoa( value, string, radix ) wolf_port_itoa( value, string, radix ); +#define itoa( value, string, radix ) wolf_port_itoa( value, string, radix ) #endif /* !defined HAVE_ITOA */ /** @} */ /* @addtogroup wolf_port */ |