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_matrix.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_matrix.c')
-rw-r--r--source/blender/python/gpu/gpu_py_matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/gpu/gpu_py_matrix.c b/source/blender/python/gpu/gpu_py_matrix.c
index a479f270770..05e0a416b94 100644
--- a/source/blender/python/gpu/gpu_py_matrix.c
+++ b/source/blender/python/gpu/gpu_py_matrix.c
@@ -537,18 +537,18 @@ static struct PyMethodDef py_matrix_methods[] = {
};
PyDoc_STRVAR(py_matrix_doc, "This module provides access to the matrix stack.");
-static PyModuleDef BPyGPU_matrix_module_def = {
+static PyModuleDef py_matrix_module_def = {
PyModuleDef_HEAD_INIT,
.m_name = "gpu.matrix",
.m_doc = py_matrix_doc,
.m_methods = py_matrix_methods,
};
-PyObject *BPyInit_gpu_matrix(void)
+PyObject *bpygpu_matrix_init(void)
{
PyObject *submodule;
- submodule = PyModule_Create(&BPyGPU_matrix_module_def);
+ submodule = PyModule_Create(&py_matrix_module_def);
if (PyType_Ready(&BPyGPU_matrix_stack_context_Type) < 0) {
return NULL;