YGNodePrint.h 456 B

123456789101112131415161718192021222324
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the LICENSE
  5. * file in the root directory of this source tree.
  6. */
  7. #ifdef DEBUG
  8. #pragma once
  9. #include <string>
  10. #include "Yoga.h"
  11. namespace facebook {
  12. namespace yoga {
  13. void YGNodeToString(
  14. std::string& str,
  15. YGNodeRef node,
  16. YGPrintOptions options,
  17. uint32_t level);
  18. } // namespace yoga
  19. } // namespace facebook
  20. #endif