make_writable


Description:

[ DestroysInstance ]
[ ReturnsModifiedPointer ]
public MiniObject? make_writable ()

Checks if a mini-object is writable.

If not, a writable copy is made and returned. This gives away the reference to the original mini object, and returns a reference to the new object.

MT safe

Parameters:

this

the mini-object to make writable

Returns:

a writable mini-object (which may or may not be the same as this) or null if copying is required but not possible.