node/src/node_i18n.h
Ben Noordhuis 8c71a9241d 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.

PR-URL: https://github.com/nodejs/io.js/pull/1815
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-06-02 21:44:18 +02:00

18 lines
305 B
C++

#ifndef SRC_NODE_I18N_H_
#define SRC_NODE_I18N_H_
#include "node.h"
#if defined(NODE_HAVE_I18N_SUPPORT)
namespace node {
namespace i18n {
bool InitializeICUDirectory(const char* icu_data_path);
} // namespace i18n
} // namespace node
#endif // NODE_HAVE_I18N_SUPPORT
#endif // SRC_NODE_I18N_H_