In a C extension, is it safe to change the value of the data element
in struct RData via the DATA_PTR macro?

By "safe," I mean, will it cause Ruby any problems? Will the DATA_PTR
macro be supported in future releases? (I'm at 1.6.7.)

In the source I see statements like

	DATA_PTR(dir) = NULL;

in dir.c but nowhere else.