An allocator pointer is not conventional in Zig. See this thread for some ideas: https://ziggit.dev/t/finding-a-good-way-to-store-a-pointer-to-a-std-mem-allocator-for-ziglua/5441