sdlDestroyProcess function
Destroy a previously created process object.
Note that this does not stop the process, just destroys the SDL object used to track it. If you want to stop the process you should use SDL_KillProcess().
\param process The process object to destroy.
\threadsafety This function is not thread safe.
\since This function is available since SDL 3.1.3.
\sa SDL_CreateProcess \sa SDL_CreateProcessWithProperties \sa SDL_KillProcess
extern SDL_DECLSPEC void SDLCALL SDL_DestroyProcess(SDL_Process *process)
Implementation
void sdlDestroyProcess(Pointer<SdlProcess> process) {
final sdlDestroyProcessLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlProcess> process),
void Function(Pointer<SdlProcess> process)>('SDL_DestroyProcess');
return sdlDestroyProcessLookupFunction(process);
}