Summary: Refactored the `YGNodeToString` function from c to c++. Reviewed By: emilsjolander Differential Revision: D6397372 fbshipit-source-id: 79e701efe7f19db6dac1aea6328ebf0ac84a7ac3
25 lines
556 B
C++
25 lines
556 B
C++
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
#pragma once
|
|
#include <string>
|
|
|
|
#include "Yoga.h"
|
|
|
|
namespace facebook {
|
|
namespace yoga {
|
|
|
|
void YGNodeToString(
|
|
std::string* str,
|
|
YGNodeRef node,
|
|
YGPrintOptions options,
|
|
uint32_t level);
|
|
|
|
} // namespace yoga
|
|
} // namespace facebook
|