summaryrefslogtreecommitdiffstats
path: root/Modules/sre.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-03-07 20:59:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-03-07 20:59:13 (GMT)
commit33d21a24fa3da625e20eb4d543eb1f9f6392f96c (patch)
tree163cb398c8d0c335a740f3e6f8f07db636a8bcfd /Modules/sre.h
parent2fa0cbc9ae6bb8d29b3c8c1e871192602666157a (diff)
parent1ae230aa1a0c7b51839c6d07eaaddfeef71be63b (diff)
downloadcpython-33d21a24fa3da625e20eb4d543eb1f9f6392f96c.zip
cpython-33d21a24fa3da625e20eb4d543eb1f9f6392f96c.tar.gz
cpython-33d21a24fa3da625e20eb4d543eb1f9f6392f96c.tar.bz2
merge 3.2 (#14212)
Diffstat (limited to 'Modules/sre.h')
-rw-r--r--Modules/sre.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/sre.h b/Modules/sre.h
index 0d91f25..01abcb0 100644
--- a/Modules/sre.h
+++ b/Modules/sre.h
@@ -32,6 +32,7 @@ typedef struct {
PyObject *weakreflist; /* List of weak references */
int logical_charsize; /* pattern charsize (or -1) */
int charsize;
+ Py_buffer view;
/* pattern code */
Py_ssize_t codesize;
SRE_CODE code[1];
@@ -82,6 +83,7 @@ typedef struct {
char* data_stack;
size_t data_stack_size;
size_t data_stack_base;
+ Py_buffer buffer;
/* current repeat context */
SRE_REPEAT *repeat;
/* hooks */