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

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: address comments 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
« no previous file with comments | « src/shared/natives.h ('k') | src/vm/ffi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/ffi.h
diff --git a/src/vm/ffi.h b/src/vm/ffi.h
index b25aa92108fe4ba361cba365af0fd65d9863cc84..e6f03291ce27b4597da065618c164cc07326a0f9 100644
--- a/src/vm/ffi.h
+++ b/src/vm/ffi.h
@@ -24,6 +24,17 @@ class ForeignFunctionInterface {
static Mutex* mutex_;
};
+// Platform specific ffi constants and methods.
+class ForeignUtils {
+ 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* DirectoryName(char* path);
+};
+
} // namespace fletch
#endif // SRC_VM_FFI_H_
« no previous file with comments | « src/shared/natives.h ('k') | src/vm/ffi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698