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

Unified Diff: src/vm/ffi_posix.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_macos.cc ('k') | src/vm/ffi_static.cc » ('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/ffi_posix.cc b/src/vm/ffi_posix.cc
index e09a2830800ec16f007ac22cab29d5a3f646b801..b212049a03323a6e216fc79e634f6aca26aaf5b7 100644
--- a/src/vm/ffi_posix.cc
+++ b/src/vm/ffi_posix.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_POSIX)
+#if defined(DARTINO_TARGET_OS_POSIX)
-#ifdef FLETCH_ENABLE_FFI
+#ifdef DARTINO_ENABLE_FFI
#include "src/vm/ffi.h"
@@ -20,7 +20,7 @@
#include "src/vm/object.h"
#include "src/vm/process.h"
-namespace fletch {
+namespace dartino {
char* ForeignUtils::DirectoryName(char* path, char* buffer, size_t len) {
strncpy(buffer, path, len);
@@ -70,7 +70,7 @@ bool ForeignFunctionInterface::AddDefaultSharedLibrary(const char* library) {
ScopedLock lock(mutex_);
void* handle = dlopen(library, RTLD_LOCAL | RTLD_LAZY);
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 {
@@ -159,8 +159,8 @@ END_NATIVE()
BEGIN_NATIVE(ForeignErrno) { return Smi::FromWord(errno); }
END_NATIVE()
-} // namespace fletch
+} // namespace dartino
-#endif // FLETCH_ENABLE_FFI
+#endif // DARTINO_ENABLE_FFI
-#endif // defined(FLETCH_TARGET_OS_POSIX)
+#endif // defined(DARTINO_TARGET_OS_POSIX)
« no previous file with comments | « src/vm/ffi_macos.cc ('k') | src/vm/ffi_static.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698