sdlAtof function
extern DECLSPEC double SDLCALL SDL_atof(const char *str)
Implementation
double sdlAtof(String? str) {
final sdlAtofLookupFunction = libSdl2.lookupFunction<
Double Function(Pointer<Utf8> str),
double Function(Pointer<Utf8> str)>('SDL_atof');
final strPointer = str != null ? str.toNativeUtf8() : nullptr;
final result = sdlAtofLookupFunction(strPointer);
calloc.free(strPointer);
return result;
}