Refactor cloning of YogaNode

Reviewed By: priteshrnandgaonkar

Differential Revision: D7339832

fbshipit-source-id: 2de6f47ae7601ac083d3b9fbe10ffaf6307ae760
This commit is contained in:
David Vacca authored and Facebook Github Bot committed 2018-04-01 18:32:12 -07:00
1 parent d58ba8242b
commit aff5a75d8e
10 files changed
+94 -58

No files matched your search

@@ -0,0 +1,17 @@
/*
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.yoga;
import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public interface YogaNodeCloneFunction {
@DoNotStrip
YogaNode cloneNode(YogaNode oldNode, YogaNode parent, int childIndex);
}