TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debugPrintf.h
Go to the documentation of this file.
1 
13 #ifndef G3D_DEBUGPRINTF_H
14 #define G3D_DEBUGPRINTF_H
15 
16 #include "G3D/platform.h"
17 #include <stdio.h>
18 #include <cstdarg>
19 #include "G3D/format.h"
20 #include <string>
21 
22 namespace G3D {
23 
24 typedef void (*ConsolePrintHook)(const std::string&);
25 
26 namespace _internal {
28 }
29 
33 
35 
44 std::string __cdecl consolePrintf(const char* fmt ...) G3D_CHECK_PRINTF_ARGS;
45 std::string consolePrint(const std::string&);
46 
56 std::string __cdecl debugPrintf(const char* fmt ...) G3D_CHECK_PRINTF_ARGS;
57 std::string debugPrint(const std::string&);
58 
59 } // namespace G3D
60 
61 #endif
62 
std::string __cdecl debugPrintf(const char *fmt...) G3D_CHECK_PRINTF_ARGS
Definition: debugAssert.cpp:355
ConsolePrintHook consolePrintHook()
Definition: debugAssert.cpp:328
Definition: AABox.h:25
void setConsolePrintHook(ConsolePrintHook h)
Definition: debugAssert.cpp:324
ConsolePrintHook _consolePrintHook
Definition: debugAssert.cpp:35
std::string debugPrint(const std::string &)
Definition: debugAssert.cpp:333
std::string __cdecl consolePrintf(const char *fmt...) G3D_CHECK_PRINTF_ARGS
Definition: debugAssert.cpp:378
Definition: format.h:285
std::string consolePrint(const std::string &)
Definition: debugAssert.cpp:365
void(* ConsolePrintHook)(const std::string &)
Definition: debugPrintf.h:24