[ Version ( replacement = "MiniObject.replace" ) ]
public bool mini_object_replace (ref MiniObject? olddata, MiniObject? newdata)
Atomically modifies a pointer to point to a new mini-object.
The reference count of
olddata is decreased and the reference count of
newdata is increased.
newdata and the value pointed to by
olddata may be
pointer to a pointer to a mini-object to be replaced
pointer to new mini-object