OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 #ifndef INCLUDE_SERVICE_API_H_ | 5 #ifndef INCLUDE_SERVICE_API_H_ |
6 #define INCLUDE_SERVICE_API_H_ | 6 #define INCLUDE_SERVICE_API_H_ |
7 | 7 |
8 #ifdef _MSC_VER | 8 #ifdef _MSC_VER |
9 // TODO(herhut): Do we need a __declspec here for Windows? | 9 // TODO(herhut): Do we need a __declspec here for Windows? |
10 #define FLETCH_VISIBILITY_DEFAULT | 10 #define FLETCH_VISIBILITY_DEFAULT |
11 #else | 11 #else |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 FLETCH_EXPORT void ServiceApiInvokeAsync(ServiceId service, | 46 FLETCH_EXPORT void ServiceApiInvokeAsync(ServiceId service, |
47 MethodId method, | 47 MethodId method, |
48 ServiceApiCallback callback, | 48 ServiceApiCallback callback, |
49 void* buffer, | 49 void* buffer, |
50 int size); | 50 int size); |
51 | 51 |
52 FLETCH_EXPORT void ServiceApiTerminate(ServiceId service); | 52 FLETCH_EXPORT void ServiceApiTerminate(ServiceId service); |
53 | 53 |
54 #endif // INCLUDE_SERVICE_API_H_ | 54 #endif // INCLUDE_SERVICE_API_H_ |
OLD | NEW |