* implementation of `tb_set_next` and Python implementations of the other
* functions are used.
*
- * :copyright: 2008 by Armin Ronacher, Mickaël Guérin.
+ * :copyright: (c) 2009 by the Jinja Team.
* :license: BSD.
*/
static Py_ssize_t escaped_chars_delta_len[ESCAPED_CHARS_TABLE_SIZE];
static Py_UNICODE *escaped_chars_repl[ESCAPED_CHARS_TABLE_SIZE];
-static int init_constants(void)
+static int
+init_constants(void)
{
PyObject *module;
/* happing of characters to replace */
return 1;
}
-static PyObject *escape_unicode(PyUnicodeObject *in)
+static PyObject*
+escape_unicode(PyUnicodeObject *in)
{
PyUnicodeObject *out;
Py_UNICODE *inp = in->str;
}
-static PyObject *escape(PyObject *self, PyObject *text)
+static PyObject*
+escape(PyObject *self, PyObject *text)
{
PyObject *s = NULL, *rv = NULL, *html;
}
-static PyObject *soft_unicode(PyObject *self, PyObject *s)
+static PyObject*
+soft_unicode(PyObject *self, PyObject *s)
{
if (!PyUnicode_Check(s))
return PyObject_Unicode(s);
}
-static PyObject *tb_set_next(PyObject *self, PyObject *args)
+static PyObject*
+tb_set_next(PyObject *self, PyObject *args)
{
PyTracebackObject *tb, *old;
PyObject *next;