Skip to content
Myr

samp and friends from char* to const char*

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Priit Laes · committed by Priit Laes · parent be4ae24 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/_speedups.c+1 added-1 removed
9 unmodified lines
1011#include <Python.h>121314static char *samp = "&amp;", *slt = "&lt;", *sgt = "&gt;", *sqt = "&quot;";14static const char *samp = "&amp;", *slt = "&lt;", *sgt = "&gt;", *sqt = "&quot;";15static Py_UNICODE *amp, *lt, *gt, *qt;16static PyObject* markup;1718
198 unmodified lines