summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-14 11:48:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-14 11:48:54 (GMT)
commitbea3337108fa5b59b8f6fdbe016d5ed6a6300bc6 (patch)
tree517abf46e76b2a6cc8ddb3ac2dec5ffacc28a128 /plugins/pychrysalide
parente0af5dc9c01a5b9649c68ec63109ba98b6843329 (diff)
Begun to switch to abstract locations in internal rendering buffers.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/glibext/linegen.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/pychrysalide/glibext/linegen.c b/plugins/pychrysalide/glibext/linegen.c
index b6aad6b..8368548 100644
--- a/plugins/pychrysalide/glibext/linegen.c
+++ b/plugins/pychrysalide/glibext/linegen.c
@@ -43,10 +43,10 @@
static PyObject *py_line_generator_count_lines(PyObject *, PyObject *);
/* Retrouve l'emplacement correspondant à une position donnée. */
-static PyObject *py_line_generator_compute_addr(PyObject *, PyObject *);
+//static PyObject *py_line_generator_compute_addr(PyObject *, PyObject *);
/* Détermine si le conteneur s'inscrit dans une plage donnée. */
-static PyObject *py_line_generator_contains_addr(PyObject *, PyObject *);
+//static PyObject *py_line_generator_contains_addr(PyObject *, PyObject *);
/* Renseigne sur les propriétés liées à un générateur. */
static PyObject *py_line_generator_get_flags(PyObject *, PyObject *);
@@ -98,7 +98,7 @@ static PyObject *py_line_generator_count_lines(PyObject *self, PyObject *args)
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
static PyObject *py_line_generator_compute_addr(PyObject *self, PyObject *args)
{
PyObject *result; /* Localisation à retourner */
@@ -121,6 +121,7 @@ static PyObject *py_line_generator_compute_addr(PyObject *self, PyObject *args)
return result;
}
+#endif
/******************************************************************************
@@ -135,7 +136,7 @@ static PyObject *py_line_generator_compute_addr(PyObject *self, PyObject *args)
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
static PyObject *py_line_generator_contains_addr(PyObject *self, PyObject *args)
{
GLineGenerator *generator; /* Version native */
@@ -158,6 +159,7 @@ static PyObject *py_line_generator_contains_addr(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
+#endif
/******************************************************************************
@@ -329,6 +331,7 @@ PyTypeObject *get_python_line_generator_type(void)
METH_NOARGS,
"count_lines($self, /)\n--\n\nCount the number of lines which can be displayed."
},
+#if 0
{
"compute_addr", py_line_generator_compute_addr,
METH_VARARGS,
@@ -339,6 +342,7 @@ PyTypeObject *get_python_line_generator_type(void)
METH_VARARGS,
"contains_addr($self, addr, index, repeat, /)\n--\n\nTell if the generator contains an address."
},
+#endif
{
"get_flags", py_line_generator_get_flags,
METH_VARARGS,