# HG changeset patch
# User ZyX <[email protected]>
# Date 1367106867 -14400
# Branch python-extended-2
# Node ID 860ba5b056b1f13cc20b1c766e6e557cf0ac8964
# Parent b7294de06503e35a274288b6fbfa33aab66cc046
Fix name of FunctionType
diff -r b7294de06503 -r 860ba5b056b1 src/if_py_both.h
--- a/src/if_py_both.h Sat Apr 27 17:54:38 2013 +0400
+++ b/src/if_py_both.h Sun Apr 28 03:54:27 2013 +0400
@@ -3501,7 +3501,7 @@
#endif
vim_memset(&FunctionType, 0, sizeof(FunctionType));
- FunctionType.tp_name = "vim.list";
+ FunctionType.tp_name = "vim.function";
FunctionType.tp_basicsize = sizeof(FunctionObject);
FunctionType.tp_dealloc = FunctionDestructor;
FunctionType.tp_call = FunctionCall;
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
*** /tmp/extdiff.g5tAdo/vim.b7294de06503/src/if_py_both.h 2013-04-28 20:32:26.285396396 +0400
--- vim.860ba5b056b1/src/if_py_both.h 2013-04-28 20:32:26.289396355 +0400
***************
*** 3501,3507 ****
#endif
vim_memset(&FunctionType, 0, sizeof(FunctionType));
! FunctionType.tp_name = "vim.list";
FunctionType.tp_basicsize = sizeof(FunctionObject);
FunctionType.tp_dealloc = FunctionDestructor;
FunctionType.tp_call = FunctionCall;
--- 3501,3507 ----
#endif
vim_memset(&FunctionType, 0, sizeof(FunctionType));
! FunctionType.tp_name = "vim.function";
FunctionType.tp_basicsize = sizeof(FunctionObject);
FunctionType.tp_dealloc = FunctionDestructor;
FunctionType.tp_call = FunctionCall;