Browse Source

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 8 months ago
parent
commit
2f9a45af60
2 changed files with 8 additions and 6 deletions
  1. 2 0
      include/SDL3/SDL_endian.h
  2. 6 6
      include/SDL3/SDL_timer.h

+ 2 - 0
include/SDL3/SDL_endian.h

@@ -108,6 +108,7 @@ _m_prefetch(void *__P)
 
 
 #ifndef SDL_BYTEORDER
 #ifndef SDL_BYTEORDER
 #ifdef SDL_WIKI_DOCUMENTATION_SECTION
 #ifdef SDL_WIKI_DOCUMENTATION_SECTION
+
 /**
 /**
  * A macro that reports the target system's byte order.
  * A macro that reports the target system's byte order.
  *
  *
@@ -169,6 +170,7 @@ _m_prefetch(void *__P)
 
 
 #ifndef SDL_FLOATWORDORDER
 #ifndef SDL_FLOATWORDORDER
 #ifdef SDL_WIKI_DOCUMENTATION_SECTION
 #ifdef SDL_WIKI_DOCUMENTATION_SECTION
+
 /**
 /**
  * A macro that reports the target system's floating point word order.
  * A macro that reports the target system's floating point word order.
  *
  *

+ 6 - 6
include/SDL3/SDL_timer.h

@@ -101,8 +101,8 @@ extern "C" {
 /**
 /**
  * Convert nanoseconds to seconds.
  * Convert nanoseconds to seconds.
  *
  *
- * This performs a division, so the results can be dramatically different
- * if `NS` is an integer or floating point value.
+ * This performs a division, so the results can be dramatically different if
+ * `NS` is an integer or floating point value.
  *
  *
  * \param NS the number of nanoseconds to convert.
  * \param NS the number of nanoseconds to convert.
  * \return NS, expressed in seconds.
  * \return NS, expressed in seconds.
@@ -130,8 +130,8 @@ extern "C" {
 /**
 /**
  * Convert nanoseconds to milliseconds.
  * Convert nanoseconds to milliseconds.
  *
  *
- * This performs a division, so the results can be dramatically different
- * if `NS` is an integer or floating point value.
+ * This performs a division, so the results can be dramatically different if
+ * `NS` is an integer or floating point value.
  *
  *
  * \param NS the number of nanoseconds to convert.
  * \param NS the number of nanoseconds to convert.
  * \return NS, expressed in milliseconds.
  * \return NS, expressed in milliseconds.
@@ -159,8 +159,8 @@ extern "C" {
 /**
 /**
  * Convert nanoseconds to microseconds.
  * Convert nanoseconds to microseconds.
  *
  *
- * This performs a division, so the results can be dramatically different
- * if `NS` is an integer or floating point value.
+ * This performs a division, so the results can be dramatically different if
+ * `NS` is an integer or floating point value.
  *
  *
  * \param NS the number of nanoseconds to convert.
  * \param NS the number of nanoseconds to convert.
  * \return NS, expressed in microseconds.
  * \return NS, expressed in microseconds.