שרשרת כלים
מודול זה מגדיר שכבת הפשטת שרשרת כלים באמצעות פקודות מאקרו.
סיכום
נוֹהָג:
typedef OT_TOOL_PACKED_BEGIN struct { char mField1; union { char mField2; long mField3; } OT_TOOL_PACKED_FIELD; } OT_TOOL_PACKED_END packed_struct_t;
מאקרו
OT_APPLE_IGNORE_GNU_FOLDING_CONSTANT
OT_APPLE_IGNORE_GNU_FOLDING_CONSTANT __VA_ARGS__
OT_FALL_THROUGH
OT_FALL_THROUGH do \ { \ } while (false) /* fallthrough */
דיכוי נפילה באמצעות אזהרה במהדר ספציפי.
OT_MUST_USE_RESULT
OT_MUST_USE_RESULT
אינדיקציה ספציפית למהדר כי יש להשתמש במחלקה או באנומר כאשר זהו ערך ההחזרה של פונקציה.
OT_TOOL_PACKED_BEGIN
OT_TOOL_PACKED_BEGIN
אינדיקציה ספציפית למהדר כי יש לארוז בתים מחלקה או מבנה.
OT_TOOL_PACKED_FIELD
OT_TOOL_PACKED_FIELD
ציין בפני המהדר מבנה או איחוד מקונן שיש לארוז במסגרת מחלקה או מבנה ארוז בתים.
OT_TOOL_WEAK
OT_TOOL_WEAK
משנה סימן חלש ספציפי למהדר.
OT_UNREACHABLE_CODE
OT_UNREACHABLE_CODE CODE
לדכא אזהרת קוד שאינה ניתנת להשגה ברשתות כלים ספציפיות.
OT_UNUSED_VARIABLE
OT_UNUSED_VARIABLE do \ { \ (void)(VARIABLE); \ } while (false)
לדכא אזהרת משתנים שאינם בשימוש ברשתות כלים ספציפיות.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2021-01-20 UTC.