On Thursday, 4 May 2017 at 04:34:40 UTC, Stanislav Blinov wrote:
In the meantime, you can get around the issue by redeclaring
the function with another name and loading it manually just
after calling DerelictSDL2.load():
import derelict.sdl2.sdl;
__gshared SDL_bool function (const(SDL_Point)
In the meantime, you can get around the issue by redeclaring the
function with another name and loading it manually just after
calling DerelictSDL2.load():
import derelict.sdl2.sdl;
__gshared SDL_bool function (const(SDL_Point)*, int,
const(SDL_Rect)*, SDL_Rect*) SDL_EnclosePoints_;
void m
On Thursday, 4 May 2017 at 03:59:36 UTC, Leonardo wrote:
On Thursday, 4 May 2017 at 02:45:30 UTC, Adam D. Ruppe wrote:
On Thursday, 4 May 2017 at 02:12:13 UTC, Leonardo wrote:
nullptr word. How I use this?
Does it work if you just use `null` ?
No.
First I got: source/app.d(45,69): Error: e
On Thursday, 4 May 2017 at 02:45:30 UTC, Adam D. Ruppe wrote:
On Thursday, 4 May 2017 at 02:12:13 UTC, Leonardo wrote:
nullptr word. How I use this?
Does it work if you just use `null` ?
No.
First I got: source/app.d(45,69): Error: expression
(*SDL_EnclosePoints)(& mousePos, 1, &ball.bbox,
On Thursday, 4 May 2017 at 02:12:13 UTC, Leonardo wrote:
nullptr word. How I use this?
Does it work if you just use `null` ?
I was trying to use Derelict-SDL2 library, and the tutorial do
this code below, as C++ code has nullptr word. How I use this?
-
struct Ball
{
SDL_Rect bbox = {0, 0, 100, 100};
SDL_Point vel = {1, 1};
}
-
case SDL_MOUSEBUTTONDOW