Allegro 5 api
#include <allegro5/allegro_osx.h> NSWindow* al_osx_get_window(ALLEGRO_DISPLAY *display)
Retrieves the NSWindow handle associated with the Allegro display.
5.0.8, 5.1.3