13 lines
250 B
Go
13 lines
250 B
Go
|
// +build windows
|
||
|
|
||
|
package allg5
|
||
|
|
||
|
// #include <allegro5/allegro.h>
|
||
|
// #include <allegro5/allegro_windows.h>
|
||
|
import "C"
|
||
|
import "unsafe"
|
||
|
|
||
|
func (d *Display) WindowHandle() unsafe.Pointer {
|
||
|
return unsafe.Pointer(C.al_get_win_window_handle(d.display))
|
||
|
}
|