summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-17 21:19:38 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-17 21:19:38 +0200
commitbd5e15fd5c7e42505d6b0e20f4198d24fc7e219d (patch)
tree70e3f86ae76494fc094bbe25c58ba2befbcf4872 /src/structs.h
parent02c707a87da1b0f78d10a689cc03941a2e8acbc6 (diff)
Added support for Python 3. (Roland Puntaier)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index c0e31c0d75..e0f9f3bef9 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1612,6 +1612,10 @@ struct file_buffer
void *b_python_ref; /* The Python reference to this buffer */
#endif
+#ifdef FEAT_PYTHON3
+ void *b_python3_ref; /* The Python3 reference to this buffer */
+#endif
+
#ifdef FEAT_TCL
void *b_tcl_ref;
#endif
@@ -2106,6 +2110,10 @@ struct window_S
void *w_python_ref; /* The Python value for this window */
#endif
+#ifdef FEAT_PYTHON3
+ void *w_python3_ref; /* The Python value for this window */
+#endif
+
#ifdef FEAT_TCL
void *w_tcl_ref;
#endif