Stephen C. Gilardi wrote:

The argument is a "pointer to function returning void and taking void* as its argument" (like "free");

Here's a sample program:

    #include <iostream>

    void func(void (*)(void*));

    void freemystuff(void* in);

    int main(int argc, char* argv[])
    {
      func(freemystuff);
    }

    void func(void (*callback)(void*) )
    {
      callback(0);
    }

    void freemystuff(void* in)
    {
      std::cout << "freemystuff called " << in << std::endl;
    }

--Steve

Ahh, thanks.

Now my next question.  What does:

int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);

Actually copy? What is a sqlite3_value? The only place I can find sqlite3_value being used is in the user defined functions, is that all the function would be used for, working with UDF's?

Thanks again,

-Andy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to