| 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_
|
|
|