Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
30fec7bc
Commit
30fec7bc
authored
14 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.3.145
Problem: Can't build with Python dynamically loading. Solution: Add dll_PyType_Ready.
parent
21377c8d
No related branches found
Branches containing commit
Tags
v7.3.271
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/if_python.c
+3
-0
3 additions, 0 deletions
src/if_python.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
5 additions
and
0 deletions
src/if_python.c
+
3
−
0
View file @
30fec7bc
...
...
@@ -165,6 +165,7 @@ struct PyMethodDef { Py_ssize_t a; };
# define PySys_SetObject dll_PySys_SetObject
# define PySys_SetArgv dll_PySys_SetArgv
# define PyType_Type (*dll_PyType_Type)
# define PyType_Ready (*dll_PyType_Ready)
# define Py_BuildValue dll_Py_BuildValue
# define Py_FindMethod dll_Py_FindMethod
# define Py_InitModule4 dll_Py_InitModule4
...
...
@@ -224,6 +225,7 @@ static PyTypeObject* dll_PyString_Type;
static
int
(
*
dll_PySys_SetObject
)(
char
*
,
PyObject
*
);
static
int
(
*
dll_PySys_SetArgv
)(
int
,
char
**
);
static
PyTypeObject
*
dll_PyType_Type
;
static
int
(
*
dll_PyType_Ready
)(
PyTypeObject
*
type
);
static
PyObject
*
(
*
dll_Py_BuildValue
)(
char
*
,
...);
static
PyObject
*
(
*
dll_Py_FindMethod
)(
struct
PyMethodDef
[],
PyObject
*
,
char
*
);
static
PyObject
*
(
*
dll_Py_InitModule4
)(
char
*
,
struct
PyMethodDef
*
,
char
*
,
PyObject
*
,
int
);
...
...
@@ -305,6 +307,7 @@ static struct
{
"PySys_SetObject"
,
(
PYTHON_PROC
*
)
&
dll_PySys_SetObject
},
{
"PySys_SetArgv"
,
(
PYTHON_PROC
*
)
&
dll_PySys_SetArgv
},
{
"PyType_Type"
,
(
PYTHON_PROC
*
)
&
dll_PyType_Type
},
{
"PyType_Ready"
,
(
PYTHON_PROC
*
)
&
dll_PyType_Ready
},
{
"Py_BuildValue"
,
(
PYTHON_PROC
*
)
&
dll_Py_BuildValue
},
{
"Py_FindMethod"
,
(
PYTHON_PROC
*
)
&
dll_Py_FindMethod
},
# if (PY_VERSION_HEX >= 0x02050000) && SIZEOF_SIZE_T != SIZEOF_INT
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
30fec7bc
...
...
@@ -714,6 +714,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
145
,
/**/
144
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment