mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.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)
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user