Skip to content

Commit

Permalink
Merge win_unicode_console symbols into library/python/symbols/python
Browse files Browse the repository at this point in the history
This continues the work started in rXXXXXX.
commit_hash:8dedee6f36d2b5708f97d6b97bc8bc80ab55a10b
  • Loading branch information
georgthegreat committed Mar 11, 2025
1 parent f3d6f60 commit 23f480b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
25 changes: 8 additions & 17 deletions library/python/symbols/python/syms.cpp
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
#define SYM(SYM_NAME) extern "C" void SYM_NAME();
SYM(PyBuffer_Release)
SYM(PyCapsule_GetContext)
SYM(PyCapsule_GetDestructor)
SYM(PyCapsule_GetName)
SYM(PyCapsule_GetPointer)
SYM(PyCapsule_IsValid)
SYM(PyCapsule_New)
SYM(PyCapsule_SetContext)
SYM(PyCapsule_SetDestructor)
SYM(PyCapsule_SetName)
SYM(PyCapsule_SetPointer)
SYM(PyCell_New)
SYM(PyObject_GetBuffer)
SYM(Py_DecRef)
SYM(Py_IncRef)
#undef SYM
#include <Python.h>

#include <library/python/symbols/registry/syms.h>

Expand All @@ -31,7 +15,14 @@ SYM(PyCapsule_SetDestructor)
SYM(PyCapsule_SetName)
SYM(PyCapsule_SetPointer)
SYM(PyCell_New)
SYM(PyMem_Malloc)
SYM(PyObject_GetBuffer)
SYM(PyOS_Readline)
SYM(Py_DecRef)
SYM(Py_IncRef)

#if PY_VERSION_HEX < 0x3000000
SYM(PyFile_SetEncoding)
SYM(PyFile_AsFile)
#endif
END_SYMS()
3 changes: 1 addition & 2 deletions library/python/symbols/python/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
LIBRARY()

PY23_NATIVE_LIBRARY()

PEERDIR(
library/python/symbols/registry
Expand Down

0 comments on commit 23f480b

Please sign in to comment.