ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Macro.h File Reference

Common macros for GGMA error handling and utilities. More...

#include <cstdlib>

Go to the source code of this file.

Macros

#define GGMA_RETURN_ERROR_IF_NULL(p)
 
#define GGMA_UNUSED(x)   (void)(x)
 

Detailed Description

Common macros for GGMA error handling and utilities.

Definition in file Macro.h.

Macro Definition Documentation

◆ GGMA_RETURN_ERROR_IF_NULL

#define GGMA_RETURN_ERROR_IF_NULL (   p)
Value:
do \
{ \
if ((p) == NULL) \
} while (0)
@ GGMA_STATUS_UNEXPECTED_NULL
Definition ggma_types.h:44
Configuration p

Definition at line 26 of file Macro.h.

28 { \
29 if ((p) == NULL) \
31 } while (0)

◆ GGMA_UNUSED

#define GGMA_UNUSED (   x)    (void)(x)

Definition at line 33 of file Macro.h.