CARB_MAJOR_VERSION#

Defined in carb/Interface.h

CARB_MAJOR_VERSION(ver, major)#

A macro that evaluates true if the given version macro is exactly the given major version.

This macro is meant to be used in preprocessor #if statements

Parameters:
  • ver – The version macro to compare.

  • major – The exact major version required.

Returns:

true if ver is exactly major version major.