add remap function (#2453)
* add remap function (fix #1848)
* [skip ci] update zig template
* use compatible signature
uses compatible signature. note that i was able to get a segfault from
Zig by using an pointer to an optional instead of an optional pointer.
* fix pocketpy(?)