Chromium Code Reviews| Index: src/vm/ffi.h |
| diff --git a/src/vm/ffi.h b/src/vm/ffi.h |
| index b25aa92108fe4ba361cba365af0fd65d9863cc84..08fbd5e47e6bf095ed2bc8c25ab55a987575b80d 100644 |
| --- a/src/vm/ffi.h |
| +++ b/src/vm/ffi.h |
| @@ -24,6 +24,16 @@ class ForeignFunctionInterface { |
| static Mutex* mutex_; |
| }; |
| +// Platform specific ffi constants and methods. |
| +class FFIUtils { |
|
kasperl
2015/06/30 07:16:00
I'd prefer ForeignUtils, I think.
ricow1
2015/06/30 07:34:22
Acknowledged.
ricow1
2015/07/02 16:01:56
Done.
|
| + public: |
| + // We construct default bundle library paths from a prefix and a postfix. |
| + static const char* kLibBundlePrefix; |
| + static const char* kLibBundlePostfix; |
| + // In preparation of supporting windows we have a function for this. |
| + static char* DirName(char* path); |
|
kasperl
2015/06/30 07:16:00
DirectoryName?
ricow1
2015/06/30 07:34:22
Acknowledged.
ricow1
2015/07/02 16:01:56
Done.
|
| +}; |
| + |
| } // namespace fletch |
| #endif // SRC_VM_FFI_H_ |