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 SRC_VM_FFI_H_ | 5 #ifndef SRC_VM_FFI_H_ |
6 #define SRC_VM_FFI_H_ | 6 #define SRC_VM_FFI_H_ |
7 | 7 |
8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
9 #include "src/shared/natives.h" | 9 #include "src/shared/natives.h" |
10 | 10 |
11 namespace fletch { | 11 namespace fletch { |
(...skipping 27 matching lines...) Expand all Loading... |
39 // identical to [buffer]. | 39 // identical to [buffer]. |
40 // [len] is the size of [buffer], typically MAXPATHLEN + 1. | 40 // [len] is the size of [buffer], typically MAXPATHLEN + 1. |
41 static char* DirectoryName(char* path, char* buffer, size_t len); | 41 static char* DirectoryName(char* path, char* buffer, size_t len); |
42 }; | 42 }; |
43 | 43 |
44 #endif // FLETCH_ENABLE_FFI | 44 #endif // FLETCH_ENABLE_FFI |
45 | 45 |
46 } // namespace fletch | 46 } // namespace fletch |
47 | 47 |
48 #endif // SRC_VM_FFI_H_ | 48 #endif // SRC_VM_FFI_H_ |
OLD | NEW |