NUMPY_API * Fill the timedelta struct from the timedelta value and resolution unit. * * TO BE REMOVED - NOT USED INTERNALLY. */
| 630 | * TO BE REMOVED - NOT USED INTERNALLY. |
| 631 | */ |
| 632 | NPY_NO_EXPORT void |
| 633 | PyArray_TimedeltaToTimedeltaStruct( |
| 634 | npy_timedelta NPY_UNUSED(val), NPY_DATETIMEUNIT NPY_UNUSED(fr), |
| 635 | npy_timedeltastruct *result) |
| 636 | { |
| 637 | PyErr_SetString(PyExc_RuntimeError, |
| 638 | "The NumPy PyArray_TimedeltaToTimedeltaStruct function has " |
| 639 | "been removed"); |
| 640 | memset(result, -1, sizeof(npy_timedeltastruct)); |
| 641 | } |
| 642 | |
| 643 | /* |
| 644 | * Creates a datetime or timedelta dtype using a copy of the provided metadata. |
nothing calls this directly
no outgoing calls
no test coverage detected