Example #1
0
func SaveDollarTemplate(rw *RWops, id GestureID) error {
	if C.SDL_SaveDollarTemplate(id.c(), rw.c) != 0 {
		return getError()
	}

	return nil
}
Example #2
0
func SaveDollarTemplate(gestureId GestureID, src *RWops) int {
	_gestureId := (C.SDL_GestureID)(gestureId)
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return (int)(C.SDL_SaveDollarTemplate(_gestureId, _src))
}
Example #3
0
// SaveDollarTemplate (https://wiki.libsdl.org/SDL_SaveDollarTemplate)
func SaveDollarTemplate(g GestureID, src *RWops) int {
	return int(C.SDL_SaveDollarTemplate(g.c(), src.cptr()))
}