| OLD | NEW |
| 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #include "src/shared/fletch.h" | 5 #include "src/shared/dartino.h" |
| 6 | 6 |
| 7 #include "src/shared/platform.h" | 7 #include "src/shared/platform.h" |
| 8 | 8 |
| 9 #include "src/vm/event_handler.h" | 9 #include "src/vm/event_handler.h" |
| 10 #include "src/vm/ffi.h" | 10 #include "src/vm/ffi.h" |
| 11 #include "src/vm/object_memory.h" | 11 #include "src/vm/object_memory.h" |
| 12 #include "src/vm/object.h" | 12 #include "src/vm/object.h" |
| 13 #include "src/vm/preempter.h" | 13 #include "src/vm/preempter.h" |
| 14 #include "src/vm/scheduler.h" | 14 #include "src/vm/scheduler.h" |
| 15 #include "src/vm/thread.h" | 15 #include "src/vm/thread.h" |
| 16 | 16 |
| 17 namespace fletch { | 17 namespace dartino { |
| 18 | 18 |
| 19 void Fletch::Setup() { | 19 void Dartino::Setup() { |
| 20 Platform::Setup(); | 20 Platform::Setup(); |
| 21 Thread::Setup(); | 21 Thread::Setup(); |
| 22 ObjectMemory::Setup(); | 22 ObjectMemory::Setup(); |
| 23 StaticClassStructures::Setup(); | 23 StaticClassStructures::Setup(); |
| 24 ForeignFunctionInterface::Setup(); | 24 ForeignFunctionInterface::Setup(); |
| 25 EventHandler::Setup(); | 25 EventHandler::Setup(); |
| 26 Scheduler::Setup(); | 26 Scheduler::Setup(); |
| 27 Preempter::Setup(); | 27 Preempter::Setup(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 void Fletch::TearDown() { | 30 void Dartino::TearDown() { |
| 31 Preempter::TearDown(); | 31 Preempter::TearDown(); |
| 32 Thread::TearDown(); | 32 Thread::TearDown(); |
| 33 Scheduler::TearDown(); | 33 Scheduler::TearDown(); |
| 34 EventHandler::TearDown(); | 34 EventHandler::TearDown(); |
| 35 ForeignFunctionInterface::TearDown(); | 35 ForeignFunctionInterface::TearDown(); |
| 36 StaticClassStructures::TearDown(); | 36 StaticClassStructures::TearDown(); |
| 37 ObjectMemory::TearDown(); | 37 ObjectMemory::TearDown(); |
| 38 Platform::TearDown(); | 38 Platform::TearDown(); |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace fletch | 41 } // namespace dartino |
| OLD | NEW |