HF RL Explorer

You are working on the cython/cython repository. The source code is checked out at /testbed at commit…

You are working on the cython/cython repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). cdef void safe alloc(size t size): mem = malloc(size) if mem is NULL: raise MemoryError return mem

The task

cdef void *safe_alloc(size_t size): mem = malloc(size) if mem is NULL: raise MemoryError return mem

Part of Lego-X/Lego-RL-2699.