installed pty
[VSoRC/.git] / node_modules / node-pty / src / win / path_util.h
1 /**
2  * Copyright (c) 2013-2015, Christopher Jeffrey, Peter Sunde (MIT License)
3  * Copyright (c) 2016, Daniel Imms (MIT License).
4  * Copyright (c) 2018, Microsoft Corporation (MIT License).
5  */
6
7 #ifndef NODE_PTY_PATH_UTIL_H_
8 #define NODE_PTY_PATH_UTIL_H_
9
10 #include <nan.h>
11
12 #define MAX_ENV 65536
13
14 namespace path_util {
15
16 const wchar_t* to_wstring(const Nan::Utf8String& str);
17 bool file_exists(std::wstring filename);
18 std::wstring get_shell_path(std::wstring filename);
19
20 }  // namespace path_util
21
22 #endif  // NODE_PTY_PATH_UTIL_H_