*
**************************************************************************/
+/*
+ * Trace writing functions.
+ */
+
#ifndef _TRACE_WRITE_HPP_
#define _TRACE_WRITE_HPP_
+#include <stddef.h>
+
namespace Trace {
typedef unsigned Id;
void Open(void);
void Close(void);
-
+
unsigned BeginEnter(const FunctionSig &function);
void EndEnter(void);
-
+
void BeginLeave(unsigned call);
void EndLeave(void);
-
+
void BeginArg(unsigned index);
inline void EndArg(void) {}
void LiteralSInt(signed long long value);
void LiteralUInt(unsigned long long value);
void LiteralFloat(float value);
- void LiteralFloat(double value);
+ void LiteralDouble(double value);
void LiteralString(const char *str);
void LiteralString(const char *str, size_t size);
void LiteralWString(const wchar_t *str);