mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix parseTypeFromHeader for Hermes bytecode
Summary: Changelog: [Internal] Fix bug where Hermes bytecode bundles were not always recognized Reviewed By: motiz88 Differential Revision: D34718511 fbshipit-source-id: 5bbebe49962d098988d99153b0938fbb5d449ae6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4b6c0b92c0
commit
be0ff779b1
@@ -11,10 +11,7 @@
|
||||
|
||||
extern NSString *const RCTJavaScriptLoaderErrorDomain;
|
||||
|
||||
extern const UInt32 RCT_BYTECODE_ALIGNMENT;
|
||||
|
||||
UInt32 RCTReadUInt32LE(NSData *script, UInt32 offset);
|
||||
bool RCTIsBytecodeBundle(NSData *script);
|
||||
extern const uint32_t RCT_BYTECODE_ALIGNMENT;
|
||||
|
||||
NS_ENUM(NSInteger){
|
||||
RCTJavaScriptLoaderErrorNoScriptURL = 1,
|
||||
|
||||
Reference in New Issue
Block a user