Enumeration
RestMemoryUse
Members
-
REST_MEMORY_STATIC
-
The memory block can be assumed to always exist for the lifetime of the parameter,
RestParam
will use it directly.- Value:
0
- Available since: 1.0
- Value:
-
REST_MEMORY_TAKE
-
RestParam
will take ownership of the memory block, andg_free()
it when it isn’t used.- Value:
1
- Available since: 1.0
- Value:
-
REST_MEMORY_COPY
-
RestParam
will make a copy of the memory block.- Value:
2
- Available since: 1.0
- Value: