summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-26 19:44:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-26 21:00:03 (GMT)
commitb80a36ab9746ca47b9c50827efe3856ce2840144 (patch)
tree622139ccf4d1b62d873be80b4547696f2acfb934 /plugins/pychrysalide/glibext
parentba30fbc703ff3ad77bb5df6c167809955215d49c (diff)
Removed dead code.
Diffstat (limited to 'plugins/pychrysalide/glibext')
-rw-r--r--plugins/pychrysalide/glibext/bufferline.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/pychrysalide/glibext/bufferline.c b/plugins/pychrysalide/glibext/bufferline.c
index dc59b85..274300a 100644
--- a/plugins/pychrysalide/glibext/bufferline.c
+++ b/plugins/pychrysalide/glibext/bufferline.c
@@ -57,9 +57,6 @@ static PyObject *py_buffer_line_add_flag(PyObject *, PyObject *);
/* Retire une propriété particulière à une ligne donnée. */
static PyObject *py_buffer_line_remove_flag(PyObject *, PyObject *);
-/* Fournit l'emplacement où se situe un symbole. */
-static PyObject *py_buffer_line_get_range(PyObject *, void *);
-
/* Renseigne sur les propriétés particulières liées à une ligne. */
static PyObject *py_buffer_line_get_flags(PyObject *, void *);
@@ -322,35 +319,6 @@ static PyObject *py_buffer_line_remove_flag(PyObject *self, PyObject *args)
* Paramètres : self = objet Python concerné par l'appel. *
* closure = non utilisé ici. *
* *
-* Description : Indique la zone mémoire où se situe la ligne. *
-* *
-* Retour : Emplacement mémoire virtuel ou physique. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-static PyObject *py_buffer_line_get_range(PyObject *self, void *closure)
-{
- PyObject *result; /* Valeur à retourner */
- GBufferLine *line; /* Elément à consulter */
- const mrange_t *range; /* Couverture courante */
-
- line = G_BUFFER_LINE(pygobject_get(self));
- range = g_buffer_line_get_range(line);
-
- result = build_from_internal_mrange(range);
-
- return result;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : self = objet Python concerné par l'appel. *
-* closure = non utilisé ici. *
-* *
* Description : Renseigne sur les propriétés particulières liées à une ligne.*
* *
* Retour : Propriétés intégrées. *
@@ -447,10 +415,6 @@ PyTypeObject *get_python_buffer_line_type(void)
static PyGetSetDef py_buffer_line_getseters[] = {
{
- "range", py_buffer_line_get_range, NULL,
- "Range covered by the line.", NULL
- },
- {
"flags", py_buffer_line_get_flags, NULL,
"Current flags of the buffer line.", NULL
},