mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Allow "nativeRequire" to accept "bundleId" and "moduleId" values
Differential Revision: D5850960 fbshipit-source-id: 4d7aa0ed7542181861649a2089d90c3cf98723e9
This commit is contained in:
committed by
Facebook Github Bot
parent
b9be9a01a9
commit
da2ea2601b
@@ -11,5 +11,13 @@ namespace react {
|
||||
|
||||
String jsStringFromBigString(JSContextRef ctx, const JSBigString& bigstr);
|
||||
|
||||
/**
|
||||
* Parses "nativeRequire" parameters
|
||||
* and returns pair of "bundle id" & "module id" values
|
||||
*/
|
||||
std::pair<uint32_t, uint32_t> parseNativeRequireParameters(const JSGlobalContextRef& context,
|
||||
const JSValueRef arguments[],
|
||||
size_t argumentCount);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user