gl_marshal.py: inline functions for readability
authorMarek Olšák <marek.olsak@amd.com>
Thu, 11 Aug 2022 15:08:42 +0000 (11:08 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 04:23:05 +0000 (04:23 +0000)
commit05dddaeb80230acf8a4036147b40394f9deac84a
tree9f955205ec6cacb0845b238603193362671676a6
parent146836f4ba659269e31f6ae865af9015faca5dff
gl_marshal.py: inline functions for readability

All functions have only one use. Jumping constantly between functions
in the file is confusing.

No spaces around = is a python convention for implicit arguments only.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18199>
src/mapi/glapi/gen/gl_marshal.py