I am creating a Delphi wrapper for sqlite 3 API. I am having some trouble interpeting the documentation and c header files. specifically, I am not sure how to handle these:
int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*)); with regard to the last parameter. I am reading it as being a pointer to a function that takes a pointer and returns nothing (a procedure). but, nowwhere is it mentioned what this function is supposed to do... also, the documentation in sqlite3.h mentions a parameter "eCopy", which defines whether bound parameters are static or volatile. but, I cannot see where this is declared and/or passed. I am guessing that this has to do with this last "weird" parameter. Could somebody, preferably DRH, step in and explain, please ?