Corrected a problem that debug_printf could not be implemented from c++ code because it did not contain the de-munging of c++ names. Thank you to Cameron C.!

This commit is contained in:
skarg
2008-08-28 13:31:36 +00:00
parent 5617052532
commit a00059bede
+8
View File
@@ -39,6 +39,10 @@
#include <stdio.h> #include <stdio.h>
#include "bacdef.h" #include "bacdef.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#if DEBUG_ENABLED #if DEBUG_ENABLED
void debug_printf( void debug_printf(
const char *format, const char *format,
@@ -52,4 +56,8 @@ static void debug_printf(
} }
#endif #endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif #endif