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

Unified Diff: src/vm/dartino_api_impl.h

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/dartino.cc ('k') | src/vm/dartino_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/dartino_api_impl.h
diff --git a/pkg/fletchc/samples/fletchc_driver/target.dart b/src/vm/dartino_api_impl.h
similarity index 61%
copy from pkg/fletchc/samples/fletchc_driver/target.dart
copy to src/vm/dartino_api_impl.h
index a2ba35dbb80a68111b4e129685187fe49acecccb..6e06a5f7f19dec5f9c8a5c001c216afc53f20833 100644
--- a/pkg/fletchc/samples/fletchc_driver/target.dart
+++ b/src/vm/dartino_api_impl.h
@@ -2,18 +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.
-main() {
- while (true) {
- var a = foo();
- print(a);
- }
- bar();
-}
+#ifndef SRC_VM_DARTINO_API_IMPL_H_
+#define SRC_VM_DARTINO_API_IMPL_H_
-foo() {
- return 'fisk';
-}
+#include "include/dartino_api.h"
-bar() {
- return 'hest';
-}
+#endif // SRC_VM_DARTINO_API_IMPL_H_
« no previous file with comments | « src/vm/dartino.cc ('k') | src/vm/dartino_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698