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

Unified Diff: include/service_api.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 | « include/fletch_relocation_api.h ('k') | include/static_ffi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/service_api.h
diff --git a/include/service_api.h b/include/service_api.h
index 69db9d9f00fa05a8e2480db7b56f95a701b39ede..764f1caa5a8e228cf0192a5c2449cbbc4d107990 100644
--- a/include/service_api.h
+++ b/include/service_api.h
@@ -7,15 +7,15 @@
#ifdef _MSC_VER
// TODO(herhut): Do we need a __declspec here for Windows?
-#define FLETCH_VISIBILITY_DEFAULT
+#define DARTINO_VISIBILITY_DEFAULT
#else
-#define FLETCH_VISIBILITY_DEFAULT __attribute__((visibility("default")))
+#define DARTINO_VISIBILITY_DEFAULT __attribute__((visibility("default")))
#endif
#ifdef __cplusplus
-#define FLETCH_EXPORT extern "C" FLETCH_VISIBILITY_DEFAULT
+#define DARTINO_EXPORT extern "C" DARTINO_VISIBILITY_DEFAULT
#else
-#define FLETCH_EXPORT FLETCH_VISIBILITY_DEFAULT
+#define DARTINO_EXPORT DARTINO_VISIBILITY_DEFAULT
#endif
#include <stddef.h>
@@ -30,25 +30,25 @@ static const MethodId kTerminateMethodId = NULL;
// Setup must be called before using any of the other service API
// methods.
-FLETCH_EXPORT void ServiceApiSetup();
+DARTINO_EXPORT void ServiceApiSetup();
// TearDown should be called when an application is done using the
// service API in order to free up resources.
-FLETCH_EXPORT void ServiceApiTearDown();
+DARTINO_EXPORT void ServiceApiTearDown();
-FLETCH_EXPORT ServiceId ServiceApiLookup(const char* name);
+DARTINO_EXPORT ServiceId ServiceApiLookup(const char* name);
-FLETCH_EXPORT void ServiceApiInvoke(ServiceId service,
+DARTINO_EXPORT void ServiceApiInvoke(ServiceId service,
MethodId method,
void* buffer,
int size);
-FLETCH_EXPORT void ServiceApiInvokeAsync(ServiceId service,
+DARTINO_EXPORT void ServiceApiInvokeAsync(ServiceId service,
MethodId method,
ServiceApiCallback callback,
void* buffer,
int size);
-FLETCH_EXPORT void ServiceApiTerminate(ServiceId service);
+DARTINO_EXPORT void ServiceApiTerminate(ServiceId service);
#endif // INCLUDE_SERVICE_API_H_
« no previous file with comments | « include/fletch_relocation_api.h ('k') | include/static_ffi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698