CARB_PLUGIN_INTERFACE¶
Defined in carb/Interface.h
-
CARB_PLUGIN_INTERFACE
(name, major, minor)¶ Macro to declare a
struct
as a Carbonite interface.This macro must be called (as the first entity) in any struct that defines a Carbonite interface.
- See
See Framework Overview for more inforation on how to use this macro.
Note
A
major
of0
has special significance to Semantic Versioning: every iteration ofminor
is also considered a breaking change.- Parameters
name – The name of the interface.
major – The major Semantic Version of the interface. It is recommended to start at
1
.minor – The minor Semantic Version of the interface. It is recommended to start at
0
.