Explorar el Código

SDL_openxr.h: Wrap some non-SDL pieces in `!SDL_WIKI_DOCUMENTATION_SECTION`.

Ryan C. Gordon hace 2 semanas
padre
commit
96a061e1b1
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      include/SDL3/SDL_openxr.h

+ 5 - 0
include/SDL3/SDL_openxr.h

@@ -40,6 +40,8 @@
 extern "C" {
 #endif
 
+#ifndef SDL_WIKI_DOCUMENTATION_SECTION
+
 #if defined(OPENXR_H_)
 #define NO_SDL_OPENXR_TYPEDEFS 1
 #endif /* OPENXR_H_ */
@@ -78,6 +80,9 @@ typedef enum XrResult {
 #define PFN_xrGetInstanceProcAddr SDL_FunctionPointer
 #endif /* NO_SDL_OPENXR_TYPEDEFS */
 
+#endif /* !SDL_WIKI_DOCUMENTATION_SECTION */
+
+
 /**
  * Creates an OpenXR session.
  *