# SDL: Fixed gendyapi.py parsing of SDL\_RELEASE\_GENERIC

**URL:** <https://discourse.libsdl.org/t/sdl-fixed-gendyapi-py-parsing-of-sdl-release-generic/47022>\
**Category:** SDL Commits\
**Created:** [November 1, 2023, 3:38pm UTC](https://discourse.libsdl.org/t/sdl-fixed-gendyapi-py-parsing-of-sdl-release-generic/47022 "2023-11-01T15:38:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [November 1, 2023, 3:38pm UTC](https://discourse.libsdl.org/t/sdl-fixed-gendyapi-py-parsing-of-sdl-release-generic/47022/1 "2023-11-01T15:38:02Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/9323417e9cc955c87b1415d0f24798cdb4f8df27>

```diff
From 9323417e9cc955c87b1415d0f24798cdb4f8df27 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 1 Nov 2023 08:36:51 -0700
Subject: [PATCH] Fixed gendyapi.py parsing of SDL_RELEASE_GENERIC

---
 src/dynapi/gendynapi.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dynapi/gendynapi.py b/src/dynapi/gendynapi.py
index 591f3d637979..5e6a11b8c0f7 100755
--- a/src/dynapi/gendynapi.py
+++ b/src/dynapi/gendynapi.py
@@ -156,6 +156,7 @@ def main():
             func = re.sub(" SDL_TRY_ACQUIRE_SHARED\(.*\)", "", func);
             func = re.sub(" SDL_RELEASE\(.*\)", "", func);
             func = re.sub(" SDL_RELEASE_SHARED\(.*\)", "", func);
+ func = re.sub(" SDL_RELEASE_GENERIC\(.*\)", "", func);
 
             # Should be a valid function here
             match = reg_parsing_function.match(func)

```
