mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
react-native code-gen > C++ TurboModules enum example (#36083)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36083 Changelog: [Internal] Reviewed By: javache Differential Revision: D43036612 fbshipit-source-id: fc70650bc4ba48d11f489556d1290ae9e7e58016
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2e3f55aced
commit
292a9904c4
@@ -33,7 +33,7 @@ ConstantsStruct NativeCxxModuleExample::getConstants(jsi::Runtime &rt) {
|
||||
return ConstantsStruct{true, 69, "react-native"};
|
||||
}
|
||||
|
||||
int32_t NativeCxxModuleExample::getEnum(jsi::Runtime &rt, int32_t arg) {
|
||||
EnumInt NativeCxxModuleExample::getEnum(jsi::Runtime &rt, EnumInt arg) {
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user