Commit 287003b3 authored by Yuanle Song's avatar Yuanle Song
Browse files

move function comment to .h file

parent f06fdac6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
#include "sqlite3_util.h"

/**
 * execute sql on sqlite3 db using sqlite3_exec().
 *
 * Returns: TRUE on success, FALSE otherwise. if FALSE, errmsg will be printed
 * with g_warning().
 */
gboolean
sqlite3_exec_simple (sqlite3 *db, const char *sql)
{
+7 −1
Original line number Diff line number Diff line
@@ -9,8 +9,14 @@ extern "C"
{
#endif


/**
 * execute sql on sqlite3 db using sqlite3_exec().
 *
 * Returns: TRUE on success, FALSE otherwise. if FALSE, errmsg will be printed
 * with g_warning().
 */
gboolean sqlite3_exec_simple (sqlite3 *db, const char *sql);

/**
 * copy src_dbname to dest_dbname using sqlite3_backup_step().
 *