◐ Shell
reader mode source ↗
Skip to content

[WIP] bpo-35134: Create Include/pycapi/ subdirectory#10285

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:pycapi
Closed

[WIP] bpo-35134: Create Include/pycapi/ subdirectory#10285
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:pycapi

Conversation

@vstinner

@vstinner vstinner commented Nov 1, 2018

Copy link
Copy Markdown
Member
  • Create Include/pycapi/ subdirectory
  • "make install" now creates $prefix/include/pycapi and copy
    Include/pycapi/* to $prefix/include/pycapi
  • Create Include/pycapi/pycapi_objimpl.h: move objimpl.h code
    surrounded by #ifndef Py_LIMITED_API to pycapi_objimpl.h.
  • objimpl.h includes pycapi/pycapi_objimpl.h

https://bugs.python.org/issue35134

* Create Include/pycapi/ subdirectory
* "make install" now creates $prefix/include/pycapi and copy
  Include/pycapi/* to $prefix/include/pycapi
* Create Include/pycapi/pycapi_objimpl.h: move objimpl.h code
  surrounded by #ifndef Py_LIMITED_API to pycapi_objimpl.h.
* objimpl.h includes pycapi/pycapi_objimpl.h
@vstinner

Copy link
Copy Markdown
Member Author

I abandon this PR: moving PyObject_Calloc() was wrong, and "pycapi" name is too generic: I created a new PR #10624.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants