Is this the right way to create a 3d dynamic array in c?
#define make_mem3Dd( pointer, size_x, size_y, size_z ){ if( pointer == NULL ){ pointer = (dou