slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
AssertFatal.h
浏览该文件的文档.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#pragma once
9
10#include <yoga/Yoga.h>
11
12namespace facebook::yoga {
13
14class Node;
15class Config;
16
17[[noreturn]] void fatalWithMessage(const char* message);
18
19void assertFatal(bool condition, const char* message);
21 const yoga::Node* node,
22 bool condition,
23 const char* message);
25 const yoga::Config* config,
26 bool condition,
27 const char* message);
28
29} // namespace facebook::yoga
float YGMeasureMode float YGMeasureMode float YGMeasureMode float float float float float YGConfigRef config
Definition YGNode.h:302
Definition Benchmark.cpp:19
void assertFatalWithConfig(const yoga::Config *const config, const bool condition, const char *message)
Definition AssertFatal.cpp:44
void assertFatal(const bool condition, const char *message)
Definition AssertFatal.cpp:27
void assertFatalWithNode(const yoga::Node *const node, const bool condition, const char *message)
Definition AssertFatal.cpp:34
void fatalWithMessage(const char *message)
Definition AssertFatal.cpp:18