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_".
This commit is contained in:
2021-02-11 13:53:20 -03:00
parent a608313860
commit ed817d62bd
9 changed files with 20 additions and 20 deletions

View File

@@ -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;
}