SiegeLord / DAllegro5

D binding to the Allegro5 game development library
Other
42 stars 15 forks source link

al_get_pixel should be @nogc nothrow #41

Closed SimonN closed 6 years ago

SimonN commented 6 years ago

Most of DAllegro5 is wonderfully annotated @nogc nothrow extern(C) en block.

But al_get_pixel comes from mixin magic, this sits outside even of @nogc nothrow. Expected instead: I can call al_get_pixel from @nogc nothrow usercode.