UnQLite C/C++ API Reference - Foreign function private data.
void * unqlite_context_user_data(unqlite_context *pCtx);
Extract foreign function private data.
The unqlite_context_user_data() interface returns a copy of the pointer that was the pUserData parameter (the last parameter) of the unqlite_create_function() that originally registered the application defined function.
routine must be called from the same thread in which the
application-defined function is running.
Foreign function Call Context.
copy of the pointer untouched or NULL if no private data were associated within this foreign function.