OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_BASE_FILE_UTILS_H_ | 5 #ifndef V8_FILE_UTILS_H_ |
6 #define V8_BASE_FILE_UTILS_H_ | 6 #define V8_FILE_UTILS_H_ |
7 | |
8 #include "src/base/base-export.h" | |
9 | 7 |
10 namespace v8 { | 8 namespace v8 { |
11 namespace base { | 9 namespace internal { |
12 | 10 |
13 // Helper functions to manipulate file paths. | 11 // Helper functions to manipulate file paths. |
14 | 12 |
15 V8_BASE_EXPORT char* RelativePath(char** buffer, const char* exec_path, | 13 char* RelativePath(char** buffer, const char* exec_path, const char* name); |
16 const char* name); | |
17 | 14 |
18 } // namespace base | 15 } // namespace internal |
19 } // namespace v8 | 16 } // namespace v8 |
20 | 17 |
21 #endif // V8_FILE_UTILS_H_ | 18 #endif // V8_FILE_UTILS_H_ |
OLD | NEW |