tryParseAbiVersion

fnbool tryParseAbiVersion(string content, out int abiVersion)

Attempts to parse FL_ABI_VERSION from header file content.

Searches for a line matching #define FL_ABI_VERSION <number> and extracts the numeric value.

Parameters

contentContent of the abi-version.h file
abiVersionOutput parameter for the parsed ABI version

Returns

true if ABI version was found and parsed, false otherwise