mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
IS_EMPTY_STRING macro is defined in multiple drivers in RedfishPkg. So, I create RedfishCommon.h to keep common macros that we can use in RedfishPkg. Signed-off-by: Nickle Wang <nicklew@nvidia.com>
18 lines
378 B
C
18 lines
378 B
C
/** @file
|
|
This header file defines common macros for the use in RedfishPkg.
|
|
|
|
Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef REDFISH_COMMON_H_
|
|
#define REDFISH_COMMON_H_
|
|
|
|
#ifndef IS_EMPTY_STRING
|
|
#define IS_EMPTY_STRING(a) ((a) == NULL || (a)[0] == '\0')
|
|
#endif
|
|
|
|
#endif
|