:right-sidebar: True MemoryUse =================================================================== .. currentmodule:: gi.repository.Soup .. class:: MemoryUse :no-contents-entry: The lifetime of the memory being passed. Fields ------ .. rst-class:: interim-class .. class:: MemoryUse :no-index: .. attribute:: COPY The passed-in data belongs to the caller and libsoup will copy it into new memory leaving the caller free to reuse the original memory. .. attribute:: STATIC The memory is statically allocated and constant; libsoup can use the passed-in buffer directly and not need to worry about it being modified or freed. .. attribute:: TAKE The caller has allocated the memory and libsoup will assume ownership of it and free it with :obj:`~gi.repository.GLib.free`.