This is a mere "get this to compile in C++", didn't do changes like using `MEM_cnew()` instead of `MEM_calloc()`. Needed for the blender-project-basics branch, so I don't have to write C wrappers for a single call from this file.
This is a mere "get this to compile in C++", didn't do changes like using `MEM_cnew()` instead of `MEM_calloc()`. Needed for the blender-project-basics branch, so I don't have to write C wrappers for a single call from this file.