convert *void to void[]
    TSalm 
    TSalm at free.fr
       
    Wed May  6 02:15:41 PDT 2009
    
    
  
Le Wed, 06 May 2009 10:33:33 +0200, TSalm <TSalm at free.fr> a écrit:
> Le Wed, 06 May 2009 10:17:47 +0200, gabrielsylar <noreply at email.com> a  
> écrit:
>
>> 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); }
>
> Something like could works :
>    return *( cast(void[]*) sqlite3_column_blob(stmt, n) ) ;
>
Forget my example, it's wrong.
Sorry.
    
    
More information about the Digitalmars-d-learn
mailing list