HawkTracer  0.8.0
feature_cached_string.h
Go to the documentation of this file.
1 #ifndef HAWKTRACER_FEATURE_CACHED_STRING_H
2 #define HAWKTRACER_FEATURE_CACHED_STRING_H
3 
4 #include <hawktracer/timeline.h>
5 
7 
8 #define HT_FEATURE_CACHED_STRING 1
9 
11 
13 
14 HT_API uintptr_t ht_feature_cached_string_add_mapping(HT_Timeline* timeline, const char* label);
15 
17 
18 #ifdef HT_CPP11
19 HT_API uintptr_t ht_feature_cached_string_add_mapping_dynamic(HT_Timeline* timeline, const char* label);
20 #endif
21 
23 
24 
25 #endif /* HAWKTRACER_FEATURE_CACHED_STRING_H */
#define HT_API
Defines a directive for exporting/importing symbols from DLL.
Definition: macros.h:76
#define HT_DECLS_END
Defines an end of C linkage block.
Definition: macros.h:17
typedefHT_DECLS_BEGIN struct _HT_Timeline HT_Timeline
Definition: timeline.h:22
HT_ErrorCode
Defines list of possible errors returned by library functions.
Definition: base_types.h:37
int HT_Boolean
A standard boolean type, possible values: HT_TRUE, HT_FALSE.
Definition: base_types.h:20
HT_API HT_ErrorCode ht_feature_cached_string_enable(HT_Timeline *timeline, HT_Boolean thread_safe)
#define HT_DECLS_BEGIN
Defines a beginning of C linkage block.
Definition: macros.h:16
HT_API void ht_feature_cached_string_disable(HT_Timeline *timeline)
HT_API uintptr_t ht_feature_cached_string_add_mapping(HT_Timeline *timeline, const char *label)
HT_API void ht_feature_cached_string_push_map(HT_Timeline *timeline)