Enumeration
SoupMemoryUse
since: 3.0
Members
SOUP_MEMORY_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.
- Value:
0
- Nickname:
static
- Available since: 3.0
- Value:
SOUP_MEMORY_TAKE
-
The caller has allocated the memory and libsoup will assume ownership of it and free it with
g_free()
.- Value:
1
- Nickname:
take
- Available since: 3.0
- Value:
SOUP_MEMORY_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.
- Value:
2
- Nickname:
copy
- Available since: 3.0
- Value: