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

Unified Diff: src/vm/ffi_posix.cc

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/vm/ffi_macos.cc ('k') | src/vm/ffi_test_library.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/ffi_posix.cc
diff --git a/src/vm/fletch_api_impl.h b/src/vm/ffi_posix.cc
similarity index 65%
copy from src/vm/fletch_api_impl.h
copy to src/vm/ffi_posix.cc
index 4ac830bbe2b1f7e9fa22ee7c44936da53c825395..7bb01e58a0a410a307dc2d4ee36064cc2ff68172 100644
--- a/src/vm/fletch_api_impl.h
+++ b/src/vm/ffi_posix.cc
@@ -2,14 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-#ifndef SRC_VM_FLETCH_API_IMPL_H_
-#define SRC_VM_FLETCH_API_IMPL_H_
+#include "src/vm/ffi.h"
-#include "include/fletch_api.h"
+#include <libgen.h>
namespace fletch {
-} // namespace fletch
-
-#endif // SRC_VM_FLETCH_API_IMPL_H_
+char* ForeignUtils::DirectoryName(char* path) {
+ return dirname(path);
+}
+} // namespace fletch
« no previous file with comments | « src/vm/ffi_macos.cc ('k') | src/vm/ffi_test_library.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698