convert *void to void[]

downs default_357-line at yahoo.de
Wed May 6 05:56:02 PDT 2009


gabrielsylar wrote:
> can anybody please tell me how to properly convert from void* to void[]
> as the code below?
> 
> void[] get_bytes(int n) { return sqlite3_column_blob(stmt, n); }

In unrelated matters: if you're writing a sqlite3 binding, take a look at tools.sqlite3. :)

http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d


More information about the Digitalmars-d-learn mailing list