X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fnode-pty%2Fsrc%2Fwin%2Fpath_util.h;fp=node_modules%2Fnode-pty%2Fsrc%2Fwin%2Fpath_util.h;h=8dd58d25e0579219923774de48522ecfd0039a99;hp=0000000000000000000000000000000000000000;hb=e79e4a5a87f3e84f7c1777f10a954453a69bf540;hpb=4339da12467b75fb8b6ca831f4bf0081c485ed2c diff --git a/node_modules/node-pty/src/win/path_util.h b/node_modules/node-pty/src/win/path_util.h new file mode 100644 index 0000000..8dd58d2 --- /dev/null +++ b/node_modules/node-pty/src/win/path_util.h @@ -0,0 +1,22 @@ +/** + * Copyright (c) 2013-2015, Christopher Jeffrey, Peter Sunde (MIT License) + * Copyright (c) 2016, Daniel Imms (MIT License). + * Copyright (c) 2018, Microsoft Corporation (MIT License). + */ + +#ifndef NODE_PTY_PATH_UTIL_H_ +#define NODE_PTY_PATH_UTIL_H_ + +#include + +#define MAX_ENV 65536 + +namespace path_util { + +const wchar_t* to_wstring(const Nan::Utf8String& str); +bool file_exists(std::wstring filename); +std::wstring get_shell_path(std::wstring filename); + +} // namespace path_util + +#endif // NODE_PTY_PATH_UTIL_H_