/* sqlheavy-version.c generated by valac 0.16.0, the Vala compiler
 * generated from sqlheavy-version.vala, do not modify */


#include <glib.h>
#include <glib-object.h>
#include "SQLHeavy.h"
#include <stdlib.h>
#include <string.h>
#include <sqlite3.h>






/**
     * Get the API version currently in use.
     *
     * @return the API version
     */
gchar* sql_heavy_version_api (void) {
	gchar* result = NULL;
	gchar* _tmp0_;
	_tmp0_ = g_strdup (SQLHEAVY_API_VERSION);
	result = _tmp0_;
	return result;
}


/**
     * Return an integer representation of the version currenly in
     * use.
     *
     * This result is major * 1000000 + minor * 1000 + micro.
     *
     * @return the version number of the library
     */
gint sql_heavy_version_library (void) {
	gint result = 0;
	result = ((SQLHEAVY_MAJOR_VERSION * 1000000) + (SQLHEAVY_MINOR_VERSION * 1000)) + SQLHEAVY_MICRO_VERSION;
	return result;
}


/**
     * Return an integer representation of the SQLite version
     * currently in use.
     *
     * This function is just an alias for
     * Sqlite.libversion_number. The version is number is in the same
     * format as the result of the {@link library} function.
     *
     * @return the version number of the SQLite library
     * @see library
     */
gint sql_heavy_version_sqlite_library (void) {
	gint result = 0;
	gint _tmp0_ = 0;
	_tmp0_ = sqlite3_libversion_number ();
	result = _tmp0_;
	return result;
}



