summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
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