Interface version
As the XJTAG system is developed, new features are added to XJAPI and the prototypes of functions may need to be modified. To retain backwards compatibility, a macro
The macro should be set to a 3-byte value, where the most significant byte represents the major portion of the XJTAG/XJAPI version, the second byte the minor portion of the version and the least significant byte the revision number. For example, to use functionality added in XJTAG version 1.3.0:
#define XJAPI_VERSION 0x010300 #include <xjapi.h>
XJTAG v4.1.100