mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
78caf8290c
commit
813fd3f96c
@ -1038,6 +1038,7 @@ static bool chunked_array2d__remove_chunk(int argc, py_Ref argv) {
|
||||
c11_chunked_array2d* self = py_touserdata(argv);
|
||||
c11_vec2i pos = py_tovec2i(&argv[1]);
|
||||
bool ok = c11_chunked_array2d_chunks__del(&self->chunks, pos);
|
||||
self->last_visited.value = NULL;
|
||||
py_newbool(py_retval(), ok);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user