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
@@ -38,6 +38,10 @@
#include <stdbool.h> #include <stdbool.h>
#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(
@@ -51,5 +55,9 @@ static void debug_printf(
format = format; format = format;
} }
#endif #endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif #endif