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 // Header for testing library for testing the foreign function interface. | 5 // Header for testing library for testing the foreign function interface. |
6 // There are no tests in this file, but we keep this to have a single place | 6 // There are no tests in this file, but we keep this to have a single place |
7 // for functionality that we want to test in the FFI implementation. | 7 // for functionality that we want to test in the FFI implementation. |
8 | 8 |
9 #ifndef SRC_VM_FFI_TEST_LIBRARY_H_ | 9 #ifndef SRC_VM_FFI_TEST_LIBRARY_H_ |
10 #define SRC_VM_FFI_TEST_LIBRARY_H_ | 10 #define SRC_VM_FFI_TEST_LIBRARY_H_ |
11 | 11 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 EXPORT void* memfloat64(); | 106 EXPORT void* memfloat64(); |
107 | 107 |
108 EXPORT void* memstring(); | 108 EXPORT void* memstring(); |
109 | 109 |
110 EXPORT int bufferRead(char* buffer); | 110 EXPORT int bufferRead(char* buffer); |
111 | 111 |
112 EXPORT int bufferWrite(char* buffer, int value); | 112 EXPORT int bufferWrite(char* buffer, int value); |
113 | 113 |
114 #endif // SRC_VM_FFI_TEST_LIBRARY_H_ | 114 #endif // SRC_VM_FFI_TEST_LIBRARY_H_ |
OLD | NEW |