Guest User

Untitled

a guest
Jun 25th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. package minisdl
  2.  
  3.  
  4. // #cgo pkg-config: sdl
  5. // #cgo CFLAGS: --std=c99
  6. // #cgo LDFLAGS: -lSDL
  7.  
  8. /*
  9. #include <SDL.h>
  10. #include "minisdl.h"
  11. */
  12. import "C"
  13.  
  14. func Init() {
  15. println("GO: Init")
  16. C.Init()
  17. }
  18.  
  19. func Delay(msecs uint32) {
  20. C.SDL_Delay(C.Uint32(msecs))
  21. }
Add Comment
Please, Sign In to add comment