]> git.cworth.org Git - apitrace/blobdiff - trace_format.hpp
More compact struct representation.
[apitrace] / trace_format.hpp
index d2ea6afc3e9503916615ed3fa681a705ae6f9996..43efa0fc357fc9188212687e01a5fb2ffb636535 100644 (file)
@@ -30,6 +30,12 @@ namespace Trace {
 
 #define TRACE_VERSION 0
 
+enum Event {
+   EVENT_ENTER = 0,
+   EVENT_LEAVE,
+   EVENT_MESSAGE
+};
+
 enum CallDetail {
    CALL_END = 0,
    CALL_ARG,
@@ -47,7 +53,7 @@ enum Type {
    TYPE_DOUBLE,
    TYPE_STRING, // Null terminated, human readible string
    TYPE_BLOB, // Block of bytes
-   TYPE_CONST,
+   TYPE_ENUM,
    TYPE_BITMASK,
    TYPE_ARRAY,
    TYPE_STRUCT,