ReactOS 0.4.16-dev-1946-g52006dd
helpers.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UACPI_STATIC_ASSERT   _Static_assert
 
#define UACPI_BUILD_BUG_ON_WITH_MSG(expr, msg)   UACPI_STATIC_ASSERT(!(expr), msg)
 
#define UACPI_BUILD_BUG_ON(expr)    UACPI_BUILD_BUG_ON_WITH_MSG(expr, "BUILD BUG: " #expr " evaluated to true")
 
#define UACPI_EXPECT_SIZEOF(type, size)
 

Macro Definition Documentation

◆ UACPI_BUILD_BUG_ON

#define UACPI_BUILD_BUG_ON (   expr)     UACPI_BUILD_BUG_ON_WITH_MSG(expr, "BUILD BUG: " #expr " evaluated to true")

Definition at line 19 of file helpers.h.

◆ UACPI_BUILD_BUG_ON_WITH_MSG

#define UACPI_BUILD_BUG_ON_WITH_MSG (   expr,
  msg 
)    UACPI_STATIC_ASSERT(!(expr), msg)

Definition at line 16 of file helpers.h.

◆ UACPI_EXPECT_SIZEOF

#define UACPI_EXPECT_SIZEOF (   type,
  size 
)
Value:
"BUILD BUG: invalid type size")
#define UACPI_BUILD_BUG_ON_WITH_MSG(expr, msg)
Definition: helpers.h:16
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizeiptr size
Definition: glext.h:5919

Definition at line 22 of file helpers.h.

◆ UACPI_STATIC_ASSERT

#define UACPI_STATIC_ASSERT   _Static_assert

Definition at line 9 of file helpers.h.