Searched refs:ret_ptr (Results 1 – 1 of 1) sorted by relevance
522 void *ret_ptr = (void *)(MP_STATE_MEM(gc_pool_start) + start_block * BYTES_PER_BLOCK); in gc_alloc() local523 DEBUG_printf("gc_alloc(%p)\n", ret_ptr); in gc_alloc()533 memset((byte *)ret_ptr, 0, (end_block - start_block + 1) * BYTES_PER_BLOCK); in gc_alloc()540 memset((byte *)ret_ptr + n_bytes, 0, (end_block - start_block + 1) * BYTES_PER_BLOCK - n_bytes); in gc_alloc()546 ((mp_obj_base_t *)ret_ptr)->type = NULL; in gc_alloc()560 return ret_ptr; in gc_alloc()
Completed in 4 milliseconds