My ignorance, or a bug - help please

Jacob Carlborg doob at me.com
Fri Oct 7 04:16:49 PDT 2011


On 2011-10-07 11:55, mta`chrono wrote:
> If you don't need the internal data of struct MYSQL and you don't want
> to care about. Then just keep some reference in your program.
>
>
> alias void MYSQL;
> alias void MYSQL_RES;

The correct way to do this is to declare an opaque struct, just as in C:

struct MYSQL;

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list