Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: src/vm/ffi.h

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Mac lib prefix/postfix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698