[ Version ( replacement = "BufferList.replace" , since = "1.16" ) ]
public bool buffer_list_replace (ref BufferList? old_list, BufferList? new_list)
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 buffer list is unreffed, the new is reffed).
new_list or the BufferList pointed to by
pointer to a pointer to a BufferList to be replaced.
pointer to a BufferList that will replace the buffer list pointed to by