コード例 #1
0
ファイル: gesture.go プロジェクト: willemvds/sdl
func SaveAllDollarTemplates(rw *RWops) error {
	if C.SDL_SaveAllDollarTemplates(rw.c) != 0 {
		return getError()
	}

	return nil
}
コード例 #2
0
ファイル: sdl_gesture.go プロジェクト: kyleconroy/golds
func SaveAllDollarTemplates(src *RWops) int {
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return (int)(C.SDL_SaveAllDollarTemplates(_src))
}
コード例 #3
0
ファイル: gesture.go プロジェクト: emlai/go-sdl2
// SaveAllDollarTemplates (https://wiki.libsdl.org/SDL_SaveAllDollarTemplates)
func SaveAllDollarTemplates(src *RWops) int {
	return int(C.SDL_SaveAllDollarTemplates(src.cptr()))
}