libgit2

git_libgit2_version

Version:

Return the version of the libgit2 library being currently used.

Signature

void git_libgit2_version(int *major, int *minor, int *rev);

Parameters

int *
In
major

Store the major version number

int *
In
minor

Store the minor version number

int *
In
rev

Store the revision (patch) number

Versions