From 32852c48fc8713b494492fe8664308670921688e Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 22 Jun 2021 01:40:20 -0400 Subject: [PATCH] comment out python notcurses_render_to_{buffer, file}() #1770 --- python/notcurses/context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/notcurses/context.c b/python/notcurses/context.c index c58328ece..a31df8204 100644 --- a/python/notcurses/context.c +++ b/python/notcurses/context.c @@ -181,6 +181,7 @@ static void cleanup_char_buffer(char **buffer_ptr) } } +/* FIXME deprecated and changed to ncpile_render_to_file() in 2.3.5 static PyObject * Notcurses_render_to_buffer(NotcursesObject *self, PyObject *Py_UNUSED(args)) { @@ -217,6 +218,7 @@ Notcurses_render_to_file(NotcursesObject *self, PyObject *args) Py_RETURN_NONE; } +*/ static PyObject * Notcurses_top(NotcursesObject *self, PyObject *Py_UNUSED(args)) @@ -550,4 +552,4 @@ PyTypeObject Notcurses_Type = { .tp_new = Notcurses_new, .tp_dealloc = (destructor)Notcurses_dealloc, .tp_methods = Notcurses_methods, -}; \ No newline at end of file +};