mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-45434: Remove Include/eval.h header file (GH-28973)
Move Include/eval.h content into Include/ceval.h and Include/cpython/ceval.h, and remove Include/eval.h.
This commit is contained in:
parent
063abd931f
commit
105582e74c
11 changed files with 26 additions and 47 deletions
|
|
@ -290,9 +290,6 @@ complete example using the GNU readline library (you may want to ignore
|
|||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include <Python.h>
|
||||
#include <object.h>
|
||||
#include <compile.h>
|
||||
#include <eval.h>
|
||||
|
||||
int main (int argc, char* argv[])
|
||||
{
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ Embedding the Python interpreter in a Windows app can be summarized as follows:
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
#include "python.h"
|
||||
#include <Python.h>
|
||||
...
|
||||
Py_Initialize(); // Initialize Python.
|
||||
initmyAppc(); // Initialize (import) the helper class.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue