mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Daily arc lint --take KTFMT
Reviewed By: ivanmurashko Differential Revision: D52793137 fbshipit-source-id: 3c24899fd00dc4c0000b777bc4773efc6c21432d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cd6755f272
commit
af70594a5f
+11
-8
@@ -10,17 +10,20 @@ import com.facebook.jni.HybridData
|
||||
import com.facebook.proguard.annotations.DoNotStripAny
|
||||
|
||||
/**
|
||||
* An empty [ReactNativeConfig] that is backed by the C++ implementation where the defaults
|
||||
* are stored.
|
||||
* An empty [ReactNativeConfig] that is backed by the C++ implementation where the defaults are
|
||||
* stored.
|
||||
*/
|
||||
@DoNotStripAny
|
||||
class EmptyReactNativeConfig : ReactNativeConfig {
|
||||
private val mHybridData: HybridData = initHybrid()
|
||||
private val mHybridData: HybridData = initHybrid()
|
||||
|
||||
private external fun initHybrid(): HybridData
|
||||
private external fun initHybrid(): HybridData
|
||||
|
||||
external override fun getBool(param: String): Boolean
|
||||
external override fun getInt64(param: String): Long
|
||||
external override fun getString(param: String): String
|
||||
external override fun getDouble(param: String): Double
|
||||
external override fun getBool(param: String): Boolean
|
||||
|
||||
external override fun getInt64(param: String): Long
|
||||
|
||||
external override fun getString(param: String): String
|
||||
|
||||
external override fun getDouble(param: String): Double
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user