Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-02-11 19:53:20 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-02-11 22:13:02 +0300
commited817d62bd087686112fe4428ad47bd237dbef46 (patch)
tree684d6c85f10b2d0a7e5f25d657978e7a37ca0d58 /source/blender/python/gpu/gpu_py_select.c
parenta608313860ff24f0ce45f9bcd7d8f0e25872ec96 (diff)
Cleanup: Python GPU: Use consistent prefixes for local API
It was not following the own documentation at the top code that mentions that for local API the prefix is "bpygpu_".
Diffstat (limited to 'source/blender/python/gpu/gpu_py_select.c')
-rw-r--r--source/blender/python/gpu/gpu_py_select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/gpu/gpu_py_select.c b/source/blender/python/gpu/gpu_py_select.c
index 4fa9d5ebc7a..e92ef9f7504 100644
--- a/source/blender/python/gpu/gpu_py_select.c
+++ b/source/blender/python/gpu/gpu_py_select.c
@@ -69,18 +69,18 @@ static struct PyMethodDef py_select_methods[] = {
};
PyDoc_STRVAR(py_select_doc, "This module provides access to selection.");
-static PyModuleDef BPyGPU_select_module_def = {
+static PyModuleDef py_select_module_def = {
PyModuleDef_HEAD_INIT,
.m_name = "gpu.select",
.m_doc = py_select_doc,
.m_methods = py_select_methods,
};
-PyObject *BPyInit_gpu_select(void)
+PyObject *bpygpu_select_init(void)
{
PyObject *submodule;
- submodule = PyModule_Create(&BPyGPU_select_module_def);
+ submodule = PyModule_Create(&py_select_module_def);
return submodule;
}