CARB_ASSERT_MEMBERS_MATCH

Defined in carb/Defines.h

CARB_ASSERT_MEMBERS_MATCH(A, a, B, b)

A helper to determine if member A.a matches the offset and size of B.b, causing a static assert if unmatched.

Parameters
  • A – The struct containing public member a.

  • a – A public member of A.

  • B – The struct containing public member b.

  • b – A public member of B.