The problem with the conversion.

XavierAP n3minis-git at yahoo.es
Wed Jun 19 22:57:35 UTC 2019


On Wednesday, 19 June 2019 at 17:28:38 UTC, XavierAP wrote:
>
> Also, the return type of SDL_LoadBMP is a pointer, SDL_Surface* 
> not just SDL_Surface.

Or just use auto of course if you prefer:

void load (string path)
{
     import std.string : toStringz;
     auto ab = SDL_LoadBMP (path.toStringz);


More information about the Digitalmars-d-learn mailing list