Remove init from api

Summary: Both New and Reset already call init internally. No reason to expose this function

Reviewed By: gkassabli

Differential Revision: D4276177

fbshipit-source-id: c4404d0534f381dfacee0625b2847d38de58e038
This commit is contained in:
Emil Sjolander
2016-12-06 14:37:54 -08:00
committed by Facebook Github Bot
parent 613590b0d8
commit 40371cbf2d
2 changed files with 51 additions and 52 deletions

View File

@@ -54,7 +54,6 @@ typedef void (*YGFree)(void *ptr);
// YGNode
WIN_EXPORT YGNodeRef YGNodeNew(void);
WIN_EXPORT void YGNodeInit(const YGNodeRef node);
WIN_EXPORT void YGNodeFree(const YGNodeRef node);
WIN_EXPORT void YGNodeFreeRecursive(const YGNodeRef node);
WIN_EXPORT void YGNodeReset(const YGNodeRef node);