Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package minisdl
- // #cgo pkg-config: sdl
- // #cgo CFLAGS: --std=c99
- // #cgo LDFLAGS: -lSDL
- /*
- #include <SDL.h>
- #include "minisdl.h"
- */
- import "C"
- func Init() {
- println("GO: Init")
- C.Init()
- }
- func Delay(msecs uint32) {
- C.SDL_Delay(C.Uint32(msecs))
- }
Add Comment
Please, Sign In to add comment