MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / PyInit__pointers

Function PyInit__pointers

src/mod.c:273–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273PyMODINIT_FUNC PyInit__pointers(void) {
274 if (signal(
275 SIGABRT,
276 sigabrt_handler
277 ) == SIG_ERR) {
278 PyErr_SetString(
279 PyExc_ImportError,
280 "cant load _pointers: failed to setup SIGABRT handler"
281 );
282 return NULL;
283 };
284 if (signal(
285 SIGSEGV,
286 sigsegv_handler
287 ) == SIG_ERR) {
288 PyErr_SetString(
289 PyExc_ImportError,
290 "cant load _pointers: failed to setup SIGSEGV handler"
291 );
292 return NULL;
293 }
294
295 return PyModule_Create(&module);
296}

Callers

nothing calls this directly

Calls 1

signalFunction · 0.85

Tested by

no test coverage detected