fix: Fix C++ build-error when trying to use JSITypedArray.h
(#2396)
* fix: Fix C++ build-error when trying to use `JSITypedArray.h` * Update SharedArray.h
This commit is contained in:
parent
783f49e88e
commit
60f8a8c989
@ -12,9 +12,13 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#import "JSITypedArray.h"
|
||||
#import <jsi/jsi.h>
|
||||
using namespace facebook;
|
||||
|
||||
namespace vision {
|
||||
// forward-declaration since we cannot import C++ headers here yet.
|
||||
class TypedArrayBase;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Needs to be in sync with JSITypedArray.h as the index is used
|
||||
|
Loading…
Reference in New Issue
Block a user