Skip to content

Commit c5b3fae

Browse files
committed
rename PyDateTimeCAPI to PyTruffleDateTimeCAPI_
1 parent 0ca1615 commit c5b3fae

File tree

5 files changed

+377
-377
lines changed

5 files changed

+377
-377
lines changed

graalpython/com.oracle.graal.python.cext/src/capi.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,6 @@ typedef struct {
122122
BUILTIN(PyComplex_RealAsDouble, double, PyObject*) \
123123
BUILTIN(PyContextVar_New, PyObject*, const char*, PyObject*) \
124124
BUILTIN(PyContextVar_Set, PyObject*, PyObject*, PyObject*) \
125-
BUILTIN(PyDateTimeCAPI_DateTime_FromDateAndTime, PyObject*, int, int, int, int, int, int, int, PyObject*, PyTypeObject*) \
126-
BUILTIN(PyDateTimeCAPI_DateTime_FromDateAndTimeAndFold, PyObject*, int, int, int, int, int, int, int, PyObject*, int, PyTypeObject*) \
127-
BUILTIN(PyDateTimeCAPI_DateTime_FromTimestamp, PyObject*, PyObject*, PyObject*, PyObject*) \
128-
BUILTIN(PyDateTimeCAPI_Date_FromDate, PyObject*, int, int, int, PyTypeObject*) \
129-
BUILTIN(PyDateTimeCAPI_Date_FromTimestamp, PyObject*, PyObject*, PyObject*) \
130-
BUILTIN(PyDateTimeCAPI_Delta_FromDelta, PyObject*, int, int, int, int, PyTypeObject*) \
131-
BUILTIN(PyDateTimeCAPI_TimeZone_FromTimeZone, PyObject*, PyObject*, PyObject*) \
132-
BUILTIN(PyDateTimeCAPI_Time_FromTime, PyObject*, int, int, int, int, PyObject*, PyTypeObject*) \
133-
BUILTIN(PyDateTimeCAPI_Time_FromTimeAndFold, PyObject*, int, int, int, int, PyObject*, int, PyTypeObject*) \
134125
BUILTIN(PyDictProxy_New, PyObject*, PyObject*) \
135126
BUILTIN(PyDict_Clear, void, PyObject*) \
136127
BUILTIN(PyDict_Contains, int, PyObject*, PyObject*) \
@@ -288,6 +279,15 @@ typedef struct {
288279
BUILTIN(PyTruffleCMethod_NewEx, PyObject*, PyMethodDef*, const char*, void*, int, int, PyObject*, PyObject*, PyTypeObject*, const char*) \
289280
BUILTIN(PyTruffleComplex_AsCComplex, PyObject*, PyObject*) \
290281
BUILTIN(PyTruffleContextVar_Get, PyObject*, PyObject*, PyObject*, void*) \
282+
BUILTIN(PyTruffleDateTimeCAPI_DateTime_FromDateAndTime, PyObject*, int, int, int, int, int, int, int, PyObject*, PyTypeObject*) \
283+
BUILTIN(PyTruffleDateTimeCAPI_DateTime_FromDateAndTimeAndFold, PyObject*, int, int, int, int, int, int, int, PyObject*, int, PyTypeObject*) \
284+
BUILTIN(PyTruffleDateTimeCAPI_DateTime_FromTimestamp, PyObject*, PyObject*, PyObject*, PyObject*) \
285+
BUILTIN(PyTruffleDateTimeCAPI_Date_FromDate, PyObject*, int, int, int, PyTypeObject*) \
286+
BUILTIN(PyTruffleDateTimeCAPI_Date_FromTimestamp, PyObject*, PyObject*, PyObject*) \
287+
BUILTIN(PyTruffleDateTimeCAPI_Delta_FromDelta, PyObject*, int, int, int, int, PyTypeObject*) \
288+
BUILTIN(PyTruffleDateTimeCAPI_TimeZone_FromTimeZone, PyObject*, PyObject*, PyObject*) \
289+
BUILTIN(PyTruffleDateTimeCAPI_Time_FromTime, PyObject*, int, int, int, int, PyObject*, PyTypeObject*) \
290+
BUILTIN(PyTruffleDateTimeCAPI_Time_FromTimeAndFold, PyObject*, int, int, int, int, PyObject*, int, PyTypeObject*) \
291291
BUILTIN(PyTruffleDescr_NewClassMethod, PyObject*, void*, const char*, const char*, int, int, void*, PyTypeObject*) \
292292
BUILTIN(PyTruffleDescr_NewGetSet, PyObject*, const char*, PyTypeObject*, void*, void*, const char*, void*) \
293293
BUILTIN(PyTruffleDict_Next, PyObject*, PyObject*, Py_ssize_t) \

graalpython/com.oracle.graal.python.jni/src/capi_forwards.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,6 @@ void unimplemented(const char* name) {
160160
#undef PyContext_Exit
161161
#undef PyContext_New
162162
#undef PyCoro_New
163-
#undef PyDateTimeCAPI_DateTime_FromDateAndTime
164-
#undef PyDateTimeCAPI_DateTime_FromDateAndTimeAndFold
165-
#undef PyDateTimeCAPI_DateTime_FromTimestamp
166-
#undef PyDateTimeCAPI_Date_FromDate
167-
#undef PyDateTimeCAPI_Date_FromTimestamp
168-
#undef PyDateTimeCAPI_Delta_FromDelta
169-
#undef PyDateTimeCAPI_TimeZone_FromTimeZone
170-
#undef PyDateTimeCAPI_Time_FromTime
171-
#undef PyDateTimeCAPI_Time_FromTimeAndFold
172163
#undef PyDescrObject_GetName
173164
#undef PyDescrObject_GetType
174165
#undef PyDescr_IsData
@@ -723,6 +714,15 @@ void unimplemented(const char* name) {
723714
#undef PyTruffleCMethod_NewEx
724715
#undef PyTruffleComplex_AsCComplex
725716
#undef PyTruffleContextVar_Get
717+
#undef PyTruffleDateTimeCAPI_DateTime_FromDateAndTime
718+
#undef PyTruffleDateTimeCAPI_DateTime_FromDateAndTimeAndFold
719+
#undef PyTruffleDateTimeCAPI_DateTime_FromTimestamp
720+
#undef PyTruffleDateTimeCAPI_Date_FromDate
721+
#undef PyTruffleDateTimeCAPI_Date_FromTimestamp
722+
#undef PyTruffleDateTimeCAPI_Delta_FromDelta
723+
#undef PyTruffleDateTimeCAPI_TimeZone_FromTimeZone
724+
#undef PyTruffleDateTimeCAPI_Time_FromTime
725+
#undef PyTruffleDateTimeCAPI_Time_FromTimeAndFold
726726
#undef PyTruffleDescr_NewClassMethod
727727
#undef PyTruffleDescr_NewGetSet
728728
#undef PyTruffleDict_Next

0 commit comments

Comments
 (0)