mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a44dd57f10
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45164 Some changes have been made to the codegen since `react-native-test-library` was published. This diff updates the generated artifacts in that library. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D59010093 fbshipit-source-id: f11ccd3645da72d45c70581e485f8546166ca182
50 lines
1.5 KiB
Objective-C
50 lines
1.5 KiB
Objective-C
/**
|
|
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
*
|
|
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
* once the code is regenerated.
|
|
*
|
|
* @generated by codegen project: GenerateModuleObjCpp
|
|
*
|
|
* We create an umbrella header (and corresponding implementation) here since
|
|
* Cxx compilation in BUCK has a limitation: source-code producing genrule()s
|
|
* must have a single output. More files => more genrule()s => slower builds.
|
|
*/
|
|
|
|
#ifndef __cplusplus
|
|
#error This file must be compiled as Obj-C++. If you are importing it, you must change your file extension to .mm.
|
|
#endif
|
|
|
|
// Avoid multiple includes of OSSLibraryExampleSpec symbols
|
|
#ifndef OSSLibraryExampleSpec_H
|
|
#define OSSLibraryExampleSpec_H
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <RCTRequired/RCTRequired.h>
|
|
#import <RCTTypeSafety/RCTConvertHelpers.h>
|
|
#import <RCTTypeSafety/RCTTypedModuleConstants.h>
|
|
#import <React/RCTBridgeModule.h>
|
|
#import <React/RCTCxxConvert.h>
|
|
#import <React/RCTManagedPointer.h>
|
|
#import <ReactCommon/RCTTurboModule.h>
|
|
#import <optional>
|
|
#import <vector>
|
|
|
|
|
|
@protocol NativeSampleModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
|
|
- (NSNumber *)getRandomNumber;
|
|
|
|
@end
|
|
namespace facebook::react {
|
|
/**
|
|
* ObjC++ class for module 'NativeSampleModule'
|
|
*/
|
|
class JSI_EXPORT NativeSampleModuleSpecJSI : public ObjCTurboModule {
|
|
public:
|
|
NativeSampleModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms);
|
|
};
|
|
} // namespace facebook::react
|
|
|
|
#endif // OSSLibraryExampleSpec_H
|