What I thought was straightforward blew up in my face..

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Apr 10 21:01:59 UTC 2024


```c
void SDL_GetVersion(SDL_version * ver);
```

It doesn't return anything.

Its return type is void.

See the argument list where it lists the types of the arguments:

``template writeln is not callable using argument types !()(string, void)``

Which aligns with the arguments you passed to ``writeln``.


More information about the Digitalmars-d-learn mailing list