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

Unified Diff: src/vm/ffi_windows.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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_test_library.c ('k') | src/vm/fletch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/ffi_windows.cc
diff --git a/src/vm/ffi_windows.cc b/src/vm/ffi_windows.cc
index 3317f041311c027bf1920acffc93337a86d7f069..8ef6d2940b17541d44556cd12a86e7cd296fb741 100644
--- a/src/vm/ffi_windows.cc
+++ b/src/vm/ffi_windows.cc
@@ -2,9 +2,9 @@
// 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.
-#if defined(FLETCH_TARGET_OS_WIN)
+#if defined(DARTINO_TARGET_OS_WIN)
-#ifdef FLETCH_ENABLE_FFI
+#ifdef DARTINO_ENABLE_FFI
#include "src/vm/ffi.h"
@@ -15,7 +15,7 @@
#include "src/vm/object.h"
#include "src/vm/process.h"
-namespace fletch {
+namespace dartino {
const char* ForeignUtils::kLibBundlePrefix = "\\lib\\";
const char* ForeignUtils::kLibBundlePostfix = ".dll";
@@ -80,7 +80,7 @@ bool ForeignFunctionInterface::AddDefaultSharedLibrary(const char* library) {
HMODULE handle = LoadLibrary(library);
if (handle != NULL) {
- // We have to maintain the insertion order (see fletch_api.h).
+ // We have to maintain the insertion order (see dartino_api.h).
if (libraries_ == NULL) {
libraries_ = new DefaultLibraryEntry(handle, libraries_);
} else {
@@ -164,8 +164,8 @@ END_NATIVE()
BEGIN_NATIVE(ForeignErrno) { return Smi::FromWord(GetLastError()); }
END_NATIVE()
-} // namespace fletch
+} // namespace dartino
-#endif // FLETCH_ENABLE_FFI
+#endif // DARTINO_ENABLE_FFI
-#endif // defined(FLETCH_TARGET_OS_WIN)
+#endif // defined(DARTINO_TARGET_OS_WIN)
« no previous file with comments | « src/vm/ffi_test_library.c ('k') | src/vm/fletch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698