| Index: src/vm/ffi_posix.cc
|
| diff --git a/src/vm/fletch_api_impl.h b/src/vm/ffi_posix.cc
|
| similarity index 65%
|
| copy from src/vm/fletch_api_impl.h
|
| copy to src/vm/ffi_posix.cc
|
| index 4ac830bbe2b1f7e9fa22ee7c44936da53c825395..7bb01e58a0a410a307dc2d4ee36064cc2ff68172 100644
|
| --- a/src/vm/fletch_api_impl.h
|
| +++ b/src/vm/ffi_posix.cc
|
| @@ -2,14 +2,14 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -#ifndef SRC_VM_FLETCH_API_IMPL_H_
|
| -#define SRC_VM_FLETCH_API_IMPL_H_
|
| +#include "src/vm/ffi.h"
|
|
|
| -#include "include/fletch_api.h"
|
| +#include <libgen.h>
|
|
|
| namespace fletch {
|
|
|
| -} // namespace fletch
|
| -
|
| -#endif // SRC_VM_FLETCH_API_IMPL_H_
|
| +char* ForeignUtils::DirectoryName(char* path) {
|
| + return dirname(path);
|
| +}
|
|
|
| +} // namespace fletch
|
|
|