Next: Configuration methods, Previous: Introduction to the method descriptions, Up: Top [Contents][Index]
[Accessor] Checks that the Marpa library in use is compatible with the
given version. Generally, the application programmer will pass in the constants
MARPA_MAJOR_VERSION
,
MARPA_MINOR_VERSION
, and
MARPA_MICRO_VERSION
as the three arguments,
to check that their application was compiled with headers
the match the version of Libmarpa that they
are using.
If required_major.required_minor.required_micro is an exact match with 9.0.3, the method succeeds. Otherwise the return status is an irrecoverable hard failure.
Return value: On success, MARPA_ERR_NONE
.
On hard failure, the error code.
[Accessor] Writes the version number in version.
It is an undetected irrecoverable hard failure
if version does not have room for three int
’s.
Return value: Always succeeds. The return value is indeterminate.