On Tuesday, 1 November 2016 at 13:33:02 UTC, Steven Schveighoffer
android_app.savedState appears to be defined here:
It's a void *. So comparing against null with != is identical
There are actually cases where comparing against null with !=
is valid, and what you want exactly (e.g. comparing a string to
null to check for empty string).
In this case, fixing the comparison is not the answer. What is
happening is one of several things:
1. I don't know what type `engine` is, so if it's a pointer,
then dereferencing the state member may be the culprit if
engine is invalid.
2. If state is a pointer, then you could be crashing at the if
3. state or state.savedState isn't being properly initialized.
4. Something else (e.g. code generation error). Hope it's not
I don't know what was bad but I start working on something
I managed to compile project with SDL. Using SDL c++ code which
call my D code. It's work.
Used libraries: SDL, Assimp, FreeImage.