mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
5d4ff693b4
Reviewed By: mhorowitz Differential Revision: D4551124 fbshipit-source-id: 40a0a8ca818710a7529798b8244d9c133eb5c22d
25 lines
555 B
Objective-C
25 lines
555 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <React/RCTConvert.h>
|
|
#include <folly/dynamic.h>
|
|
|
|
@interface RCTConvert (folly)
|
|
|
|
+ (folly::dynamic)folly_dynamic:(id)json;
|
|
|
|
@end
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
NSError *tryAndReturnError(const std::function<void()>& func);
|
|
|
|
} }
|