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

Unified Diff: samples/simple_todo/simple_todo_main.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: 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
Index: samples/simple_todo/simple_todo_main.cc
diff --git a/samples/simple_todo/simple_todo_main.cc b/samples/simple_todo/simple_todo_main.cc
index ce3810b3c3c90818ef67f9131a93aa49edf98351..bf00d2bcbe15f90c8dea6193e8a90afb82e6dd59 100644
--- a/samples/simple_todo/simple_todo_main.cc
+++ b/samples/simple_todo/simple_todo_main.cc
@@ -6,7 +6,7 @@
#include <pthread.h>
#include <stdlib.h>
-#include "include/fletch_api.h"
+#include "include/dartino_api.h"
#include "include/service_api.h"
#include "generated/cc/simple_todo.h"
@@ -16,19 +16,19 @@ typedef enum {
EC_INPUT_ERR,
} ErrorCode;
-static void* StartFletch(void* arg) {
+static void* StartDartino(void* arg) {
char* snapshot_filepath_with_name = reinterpret_cast<char*>(arg);
- FletchSetup();
- FletchRunSnapshotFromFile(snapshot_filepath_with_name);
- FletchTearDown();
+ DartinoSetup();
+ DartinoRunSnapshotFromFile(snapshot_filepath_with_name);
+ DartinoTearDown();
return NULL;
}
static void StartVmThread(char* snapshot_filename) {
pthread_t tid = 0;
- int result = pthread_create(&tid, 0, StartFletch,
+ int result = pthread_create(&tid, 0, StartDartino,
reinterpret_cast<void*>(snapshot_filename));
if (result != 0) {
printf("Error creating thread\n");

Powered by Google App Engine
This is Rietveld 408576698