[ Version ( replacement = "Context.replace" , since = "1.2" ) ]
public bool context_replace (ref Context old_context, Context? new_context)
The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old context is unreffed, the new one is reffed).
new_context or the Context pointed to by
pointer to a pointer to a Context to be replaced.
pointer to a Context that will replace the context pointed to by