wikiheaders: Automatically categorize API symbols by subsystem.

This commit is contained in:
Ryan C. Gordon
2024-05-14 10:48:39 -04:00
parent efaa58732a
commit 0805990668
12 changed files with 57 additions and 5 deletions

View File

@@ -25,7 +25,6 @@
* Main include header for the SDL library
*/
#ifndef SDL_h_
#define SDL_h_
@@ -70,6 +69,8 @@
extern "C" {
#endif
/* WIKI CATEGORY: Init */
/* As of version 0.5, SDL is loaded dynamically into the application */
/**

View File

@@ -30,6 +30,8 @@
#include "SDL_stdinc.h"
/* WIKI CATEGORY: CPUInfo */
/* Need to do this here because intrin.h has C++ code in it */
/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64))

View File

@@ -25,6 +25,8 @@
* Include file for SDL game controller event handling
*/
/* WIKI CATEGORY: GameController */
#ifndef SDL_gamecontroller_h_
#define SDL_gamecontroller_h_

View File

@@ -25,6 +25,8 @@
* Include file for handling SDL_GUID values.
*/
/* WIKI CATEGORY: GUID */
#ifndef SDL_guid_h_
#define SDL_guid_h_

View File

@@ -59,6 +59,8 @@
* on iOS or tvOS to avoid a dependency on the CoreBluetooth framework.
*/
/* WIKI CATEGORY: HIDAPI */
#ifndef SDL_hidapi_h_
#define SDL_hidapi_h_

View File

@@ -38,6 +38,8 @@
* the results you expect. :)
*/
/* WIKI CATEGORY: LoadSO */
#ifndef SDL_loadso_h_
#define SDL_loadso_h_

View File

@@ -26,6 +26,8 @@
* data streams. It can easily be extended to files, memory, etc.
*/
/* WIKI CATEGORY: RWOPS */
#ifndef SDL_rwops_h_
#define SDL_rwops_h_

View File

@@ -25,6 +25,8 @@
* This is a general header that includes C language support.
*/
/* WIKI CATEGORY: StdInc */
#ifndef SDL_stdinc_h_
#define SDL_stdinc_h_

View File

@@ -42,6 +42,8 @@
* you can enable it with SDL_EventState().
*/
/* WIKI CATEGORY: SYSWM */
struct SDL_SysWMinfo;
#if !defined(SDL_PROTOTYPES_ONLY)

View File

@@ -27,6 +27,8 @@
* If you don't like ugly C preprocessor code, don't look at this file. :)
*/
/* WIKI CATEGORY: BeginCode */
/* This shouldn't be nested -- included it around code only. */
#ifdef SDL_begin_code_h
#error Nested inclusion of begin_code.h