403 lines
7.6 KiB
JSON
403 lines
7.6 KiB
JSON
{
|
|
"header": "SDL_log.h",
|
|
"opaque_types": [],
|
|
"typedefs": [],
|
|
"function_pointers": [
|
|
{
|
|
"name": "SDL_LogOutputFunction",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "userdata",
|
|
"type": "void *"
|
|
},
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "const char *"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "SDL_LogCategory",
|
|
"values": [
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_APPLICATION"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_ERROR"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_ASSERT"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_SYSTEM"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_AUDIO"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_VIDEO"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RENDER"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_INPUT"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_TEST"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_GPU"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED2"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED3"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED4"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED5"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED6"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED7"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED8"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED9"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_RESERVED10"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_CATEGORY_CUSTOM"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogPriority",
|
|
"values": [
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_INVALID"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_TRACE"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_VERBOSE"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_DEBUG"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_INFO"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_WARN"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_ERROR"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_CRITICAL"
|
|
},
|
|
{
|
|
"name": "SDL_LOG_PRIORITY_COUNT"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"structs": [],
|
|
"unions": [],
|
|
"flags": [],
|
|
"functions": [
|
|
{
|
|
"name": "SDL_SetLogPriorities",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_SetLogPriority",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_GetLogPriority",
|
|
"return_type": "SDL_LogPriority",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_ResetLogPriorities",
|
|
"return_type": "void",
|
|
"parameters": []
|
|
},
|
|
{
|
|
"name": "SDL_SetLogPriorityPrefix",
|
|
"return_type": "bool",
|
|
"parameters": [
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
},
|
|
{
|
|
"name": "prefix",
|
|
"type": "const char *"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_Log",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogTrace",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogVerbose",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogDebug",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogInfo",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogWarn",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogError",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogCritical",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogMessage",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_LogMessageV",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "category",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"type": "SDL_LogPriority"
|
|
},
|
|
{
|
|
"name": "fmt",
|
|
"type": "const char *"
|
|
},
|
|
{
|
|
"name": "ap",
|
|
"type": "va_list"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_GetDefaultLogOutputFunction",
|
|
"return_type": "SDL_LogOutputFunction",
|
|
"parameters": []
|
|
},
|
|
{
|
|
"name": "SDL_GetLogOutputFunction",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "callback",
|
|
"type": "SDL_LogOutputFunction *"
|
|
},
|
|
{
|
|
"name": "userdata",
|
|
"type": "void **"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SDL_SetLogOutputFunction",
|
|
"return_type": "void",
|
|
"parameters": [
|
|
{
|
|
"name": "callback",
|
|
"type": "SDL_LogOutputFunction"
|
|
},
|
|
{
|
|
"name": "userdata",
|
|
"type": "void *"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |