diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-11 15:47:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-11 15:47:22 (GMT) |
commit | f61d22146a0b9c476157e79b49afabb89ac9e931 (patch) | |
tree | 155032149fdd66fbfd398a8a2b8a10ff8e02ea53 /plugins/yaml/python/tree.c | |
parent | 4b5cf2c57553eaeb647090ba8d0ad862c46e6733 (diff) |
Updated code to comply with the coding style.
Diffstat (limited to 'plugins/yaml/python/tree.c')
-rw-r--r-- | plugins/yaml/python/tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/yaml/python/tree.c b/plugins/yaml/python/tree.c index a204a11..7d28254 100644 --- a/plugins/yaml/python/tree.c +++ b/plugins/yaml/python/tree.c @@ -160,7 +160,7 @@ static PyObject *py_yaml_tree_find_by_path(PyObject *self, PyObject *args) size_t count; /* Quantité de trouvailles */ size_t i; /* Boucle de parcours */ -#define YAML_TREE_FIND_BY_PATH PYTHON_METHOD_DEF \ +#define YAML_TREE_FIND_BY_PATH_METHOD PYTHON_METHOD_DEF \ ( \ find_by_path, "path, /, prepare=False", \ METH_VARARGS, py_yaml_tree, \ @@ -228,7 +228,7 @@ static PyObject *py_yaml_tree_find_one_by_path(PyObject *self, PyObject *args) GYamlTree *tree; /* Version GLib du type */ GYamlNode *found; /* Création GLib à transmettre */ -#define YAML_TREE_FIND_ONE_BY_PATH PYTHON_METHOD_DEF \ +#define YAML_TREE_FIND_ONE_BY_PATH_METHOD PYTHON_METHOD_DEF \ ( \ find_one_by_path, "path, /, prepare=False", \ METH_VARARGS, py_yaml_tree, \ @@ -321,8 +321,8 @@ static PyObject *py_yaml_tree_get_root(PyObject *self, void *closure) PyTypeObject *get_python_yaml_tree_type(void) { static PyMethodDef py_yaml_tree_methods[] = { - YAML_TREE_FIND_BY_PATH, - YAML_TREE_FIND_ONE_BY_PATH, + YAML_TREE_FIND_BY_PATH_METHOD, + YAML_TREE_FIND_ONE_BY_PATH_METHOD, { NULL } }; |