From 3236bf44831da458bab75a2cd4b7568e4954d2b6 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 17 Nov 2025 20:03:11 +0100
Subject: [PATCH] Fix genexports.py documentation warnings
---
include/SDL3_ttf/SDL_ttf.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/SDL3_ttf/SDL_ttf.h b/include/SDL3_ttf/SDL_ttf.h
index 01460386..d9cf297d 100644
--- a/include/SDL3_ttf/SDL_ttf.h
+++ b/include/SDL3_ttf/SDL_ttf.h
@@ -2331,6 +2331,8 @@ extern SDL_DECLSPEC bool SDLCALL TTF_GetTextColorFloat(TTF_Text *text, float *r,
* \param text the TTF_Text to modify.
* \param x the x offset of the upper left corner of this text in pixels.
* \param y the y offset of the upper left corner of this text in pixels.
+ * \returns true on success or false on failure; call SDL_GetError() for more
+ * information.
*
* \threadsafety This function should be called on the thread that created the
* text.
@@ -2349,6 +2351,8 @@ extern SDL_DECLSPEC bool SDLCALL TTF_SetTextPosition(TTF_Text *text, int x, int
* this text in pixels, may be NULL.
* \param y a pointer filled in with the y offset of the upper left corner of
* this text in pixels, may be NULL.
+ * \returns true on success or false on failure; call SDL_GetError() for more
+ * information.
*
* \threadsafety This function should be called on the thread that created the
* text.