SQLITE – Destructor Definitions?

About Monkey 2 Forums Monkey 2 Programming Help SQLITE – Destructor Definitions?

This topic contains 2 replies, has 2 voices, and was last updated by  scurty 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11307

    scurty
    Participant

    Alright so SQLITE3 has these #Defines SQLITE_STATIC/SQLITE_TRANSIENT used in “Binding” values like Text and BLOBS(Basically a Buffer) for calling a “Destructor.” From what I can tell they’re just Callbacks. But binding Text to a SQL Statement is like:

    I’ve tried wrapping the defines to monkey myself but no luck yet. Any thoughts?
    Traced them to SQLITE3.h at line 5,036.

    Is it possible to call these in Monkey? Or do we have to write another function in C?
    Cheers. 😛

    #11308

    Mark Sibly
    Keymaster

    Currently, you’ll need to write a c handler for these as mx2 functions are not compatible with c++’s so they’ll need to be ‘converted’.

    #11312

    scurty
    Participant

    Ahh, makes sense. Just checking. Thanks for the reply! Hope things are well. 1.1.08 is looking flyyy. 😛

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.