153 lines
3.1 KiB
JSON
153 lines
3.1 KiB
JSON
{
|
|
"header": "SDL_process.h",
|
|
"opaque_types": [
|
|
{
|
|
"name": "SDL_Process"
|
|
}
|
|
],
|
|
"typedefs": [],
|
|
"function_pointers": [],
|
|
"c_type_aliases": [],
|
|
"enums": [
|
|
{
|
|
"name": "SDL_ProcessIO",
|
|
"values": [
|
|
{
|
|
"name": "SDL_PROCESS_STDIO_INHERITED",
|
|
"comment": "The I/O stream is inherited from the application."
|
|
},
|
|
{
|
|
"name": "SDL_PROCESS_STDIO_NULL",
|
|
"comment": "The I/O stream is ignored."
|
|
},
|
|
{
|
|
"name": "SDL_PROCESS_STDIO_APP",
|
|
"comment": "The I/O stream is connected to a new SDL_IOStream that the application can read or write"
|
|
},
|
|
{
|
|
"name": "SDL_PROCESS_STDIO_REDIRECT",
|
|
"comment": "The I/O stream is redirected to an existing SDL_IOStream."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"structs": [],
|
|
"unions": [],
|
|
"flags": [],
|
|
"functions": [
|
|
{
|
|
"name": "SDL_CreateProcess",
|
|
"return_type": "SDL_Process *",
|
|
"parameters": [
|
|
{
|
|
"name": "args",
|
|
"type": "const char * const *"
|
|
},
|
|
{
|
|
"name": "pipe_stdio",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_CreateProcessWithProperties",
|
|
"return_type": "SDL_Process *",
|
|
"parameters": [
|
|
{
|
|
"name": "props",
|
|
"type": "SDL_PropertiesID"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_GetProcessProperties",
|
|
"return_type": "SDL_PropertiesID",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_ReadProcess",
|
|
"return_type": "void *",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
},
|
|
{
|
|
"name": "datasize",
|
|
"type": "size_t *"
|
|
},
|
|
{
|
|
"name": "exitcode",
|
|
"type": "int *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_GetProcessInput",
|
|
"return_type": "SDL_IOStream *",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_GetProcessOutput",
|
|
"return_type": "SDL_IOStream *",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_KillProcess",
|
|
"return_type": "bool",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
},
|
|
{
|
|
"name": "force",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_WaitProcess",
|
|
"return_type": "bool",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
},
|
|
{
|
|
"name": "block",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "exitcode",
|
|
"type": "int *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_DestroyProcess",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "process",
|
|
"type": "SDL_Process *"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |