CARB_ASSERT_STRUCTS_MATCH

Defined in carb/Defines.h

CARB_ASSERT_STRUCTS_MATCH(A, B)

A helper to determine if the size and alignment of two given structures match, causing a static assert if unmatched.

Parameters
  • A – One type to compare.

  • B – Another type to compare.