On 8/7/2015 9:17 PM, Nicolas J?ger wrote:
> I just have a question about the function :
>
> void *sqlite3_update_hook(
>    sqlite3*,
>    void(*)(void *,int ,char const *,char const *,sqlite3_int64),
>    void*
> );
>
> what is the last void* ? is it a pointer to a user data structure ?

Essentially, yes. It's an arbitrary value of your choice, that is passed 
right back to your callback, as its first argument. From the 
documentation: "The first argument to the callback is a copy of the 
third argument to sqlite3_update_hook()"
-- 
Igor Tandetnik

Reply via email to