Steinar Midtskogen <stei...@latinitas.org> writes:

> Thank you.  A followup question: Is there a portable way to find the
> size of an sqlite_value object?

I had a quick look in the sqlite3 source code.  With knowledge of the
internal structures it seems possible to copy a value if everything
inside its object is allocated with sqlite3_malloc() which, I think,
keeps track of the size of the allocated memory, but it's probably
more complicated than what I'm trying to simplify.

-- 
Steinar Midtskogen
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to