File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1313#include < stdio.h>
1414#include < stdlib.h>
1515
16+ extern " C" {
17+ __thread custom_labels_hashmap_t *custom_labels_async_hashmap;
18+ }
19+
1620namespace custom_labels {
1721using v8::FunctionCallbackInfo;
1822using v8::Isolate;
@@ -22,7 +26,6 @@ using v8::Object;
2226using v8::String;
2327using v8::Value;
2428
25- __thread custom_labels_hashmap_t *custom_labels_async_hashmap;
2629
2730#define hm custom_labels_async_hashmap
2831
Original file line number Diff line number Diff line change 1010
1111#define MAX (a,b ) ((a) > (b) ? (a) : (b))
1212
13- __attribute__ ((retain))
14- const uint32_t custom_labels_abi_version = 1;
13+ extern " C" {
14+ __attribute__ ((retain))
15+ uint32_t custom_labels_abi_version = 1;
16+ }
1517
1618struct _custom_labels_ls {
1719 custom_labels_label_t *storage;
You can’t perform that action at this time.
0 commit comments