diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-02-17 16:16:41 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-02-17 16:38:59 +0300 |
commit | b7e1660d405d9d73f1aff54358a6d2d1461a75d0 (patch) | |
tree | daa73f48a05438d953ea4eb5873db52405244d4e /source/blender/python/gpu/gpu_py_types.c | |
parent | 1ea6394fc8446cb54ec011d0e210135b8b5a4d33 (diff) |
Cleanup: Use 'pygpu_' prefix in the cpython GPU module
`py_` prefix can be confused with the Python's own API's.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_types.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_types.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_types.c b/source/blender/python/gpu/gpu_py_types.c index f0208d3993e..5829cd8c088 100644 --- a/source/blender/python/gpu/gpu_py_types.c +++ b/source/blender/python/gpu/gpu_py_types.c @@ -32,7 +32,7 @@ /** \name GPU Types Module * \{ */ -static struct PyModuleDef py_types_module_def = { +static struct PyModuleDef pygpu_types_module_def = { PyModuleDef_HEAD_INIT, .m_name = "gpu.types", }; @@ -41,7 +41,7 @@ PyObject *bpygpu_types_init(void) { PyObject *submodule; - submodule = PyModule_Create(&py_types_module_def); + submodule = PyModule_Create(&pygpu_types_module_def); if (PyType_Ready(&BPyGPUVertFormat_Type) < 0) { return NULL; |