Ken Takata wrote:

> I found that (g)vim.exe with +python3 on Win32 exports a symbol Py3Init_vim,
> but the symbol doesn't need to be exported because only 
> PyImport_AppendInittab()
> uses Py3Init_vim.
> 
> I think that "PyMODINIT_FUNC" can be replaced by "static PyObject *".
> Here is a reference for PyImport_AppendInittab().
> http://docs.python.org/3/c-api/import.html#PyImport_AppendInittab
> 
> Attached patch fixes this problem.

Thanks, I'll add it to my todo list.

-- 
Due knot trussed yore spell chequer two fined awl miss steaks.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui