sdlLoadDollarTemplates function
Load Dollar Gesture templates from a file.
\param touchId a touch id \param src a SDL_RWops to load from \returns the number of loaded templates on success or a negative error code (or 0) on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_SaveAllDollarTemplates \sa SDL_SaveDollarTemplate
extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src)
Implementation
int sdlLoadDollarTemplates(int touchId, Pointer<SdlRWops> src) {
final sdlLoadDollarTemplatesLookupFunction = libSdl2.lookupFunction<
Int32 Function(Int64 touchId, Pointer<SdlRWops> src),
int Function(
int touchId, Pointer<SdlRWops> src)>('SDL_LoadDollarTemplates');
return sdlLoadDollarTemplatesLookupFunction(touchId, src);
}