Download lib/python3.9/site-packages/Cython/Utility/Capsule.c from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Utility/Capsule.c
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/Cython/Utility/Capsule.c
-
curl -L -o Capsule.c https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/Cython/Utility/Capsule.c
505 Bytes
| //////////////// Capsule.proto //////////////// | |
| /* Todo: wrap the rest of the functionality in similar functions */ | |
| static CYTHON_INLINE PyObject *__pyx_capsule_create(void *p, const char *sig); | |
| //////////////// Capsule //////////////// | |
| static CYTHON_INLINE PyObject * | |
| __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig) | |
| { | |
| PyObject *cobj; | |
| cobj = PyCapsule_New(p, sig, NULL); | |
| cobj = PyCObject_FromVoidPtr(p, NULL); | |
| return cobj; | |
| } | |