diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-21 19:50:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-21 19:50:34 +0200 |
commit | cac867ad1836d0bc44403f66a3367afffda76095 (patch) | |
tree | 2cd2989f802f817adb57440f5ef536f267bb8ca8 /src/if_py_both.h | |
parent | 1dc28783fa3f5946238b4c8020aea460db80269b (diff) | |
download | vim-git-cac867ad1836d0bc44403f66a3367afffda76095.tar.gz |
updated for version 7.3.996v7.3.996
Problem: Python: Can't check types of what is returned by bindeval().
Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 09bb0c060..957d6d5cd 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -4245,6 +4245,15 @@ static struct object_constant { {"windows", (PyObject *)(void *)&TheWindowList}, {"tabpages", (PyObject *)(void *)&TheTabPageList}, {"current", (PyObject *)(void *)&TheCurrent}, + + {"Buffer", (PyObject *)&BufferType}, + {"Range", (PyObject *)&RangeType}, + {"Window", (PyObject *)&WindowType}, + {"TabPage", (PyObject *)&TabPageType}, + {"Dictionary", (PyObject *)&DictionaryType}, + {"List", (PyObject *)&ListType}, + {"Function", (PyObject *)&FunctionType}, + {"Options", (PyObject *)&OptionsType}, }; typedef int (*object_adder)(PyObject *, const char *, PyObject *); |