MiniObject.replace

Modifies a pointer to point to a new mini-object. The modification is done atomically, and the reference counts are updated correctly. Either newdata and the value pointed to by olddata may be NULL.

class MiniObject
static
void
replace

Parameters

olddata MiniObject

pointer to a pointer to a mini-object to be replaced

newdata MiniObject

pointer to new mini-object

Meta