Пример #1
0
 /**
  * Returns the version of the upscaledb library.
  *
  * <p>This method wraps the native ups_get_version function.
  *
  * <p>More information: <a
  * href="http://files.upscaledb.com/documentation/html/group__ups__static.html#gafce76ae71a43853d63cfb891b960ce34">C
  * documentation</a>
  *
  * @return the upscaledb version tuple
  */
 public static Version getVersion() {
   Version v = new Version();
   v.major = ups_get_version(0);
   v.minor = ups_get_version(1);
   v.revision = ups_get_version(2);
   return v;
 }