ReactOS 0.4.17-dev-684-ga6524ef
helpers.h File Reference
Include dependency graph for helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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 7 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 5 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:5
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLsizeiptr size
Definition: glext.h:5919

Definition at line 10 of file helpers.h.