|
int sqlite3_create_module_v2( sqlite3 *db, /* SQLite connection to register module with */ const char *zName, /* Name of the module */ const sqlite3_module *p, /* Methods for the module */ void *pClientData, /* Client data for xCreate/xConnect */ void(*xDestroy)(void*) /* Module destructor function */ );
Important: This interface is experimental and is subject to change without notice.
This routine is identical to the sqlite3_create_module() method, except that it has an extra parameter to specify a destructor function for the client data pointer. SQLite will invoke the destructor function (if it is not NULL) when SQLite no longer needs the pClientData pointer.