mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
move yg node new and ygnode new with config
Summary: YGNode creation methods to vanilla JNI Reviewed By: amir-shalem Differential Revision: D17714230 fbshipit-source-id: 74e14e876ab7efc67771d92091c2a78f09072b83
This commit is contained in:
1 parent
952076e2bf
commit
b0b1666402
5 files changed
+47
-1
No files matched your search
@@ -125,6 +125,9 @@ public class YogaNative {
|
||||
static native void jni_YGConfigSetShouldDiffLayoutWithoutLegacyStretchBehaviourJNI(long nativePointer, boolean shouldDiffLayoutWithoutLegacyStretchBehaviour);
|
||||
// static native void jni_YGConfigSetLoggerJNI(long nativePointer, Object logger);
|
||||
|
||||
// YGNode related
|
||||
static native long jni_YGNodeNewJNI();
|
||||
static native long jni_YGNodeNewWithConfigJNI(long configPointer);
|
||||
static native void jni_YGNodeFreeJNI(long nativePointer);
|
||||
static native void jni_YGNodeResetJNI(long nativePointer);
|
||||
static native void jni_YGNodeInsertChildJNI(long nativePointer, long childPointer, int index);
|
||||
|
||||
Reference in new issue
Block a user