Skip to content

Commit 3ca02fd

Browse files
committed
src: hide InitializeICUDirectory symbol
Exporting it seems like an oversight. It's not safe to call once V8 is running so there doesn't seem to be a point in exporting it to add-ons. Un-export it.
1 parent 1bbf8d0 commit 3ca02fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_i18n.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace node {
99
namespace i18n {
1010

11-
NODE_EXTERN bool InitializeICUDirectory(const char* icu_data_path);
11+
bool InitializeICUDirectory(const char* icu_data_path);
1212

1313
} // namespace i18n
1414
} // namespace node

0 commit comments

Comments
 (0)