* src/toolbox/tree.c: Removed.
[cacao.git] / src / toolbox / logging.h
index a0604b702bcae0822f3dd522f5bbb538244c7b1b..bcf2e65389eb0037c7f7fe153f9899043c758b0d 100644 (file)
 #include "vm/utf8.h"
 
 
-/*500 is to small for eclipse traces, (builtin_trace_args, perhaps the
-buffer should be created there dynamically, if the text is longer,
-instead of setting the size for all invocations that big*/
-
-#define MAXLOGTEXT  16383 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* function prototypes ********************************************************/
 
@@ -65,6 +63,10 @@ void log_message_method(const char *msg, methodinfo *m);
 #define log_text(s) log_println("%s", (s))
 #define dolog log_println
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LOGGING_H */