Enumeration

RestMemoryUse

Declaration

enum Rest.MemoryUse

Description

No description available.

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
REST_MEMORY_TAKE

RestParam will take ownership of the memory block, and g_free() it when it isn’t used.

  • Value: 1
  • Available since: 1.0
REST_MEMORY_COPY

RestParam will make a copy of the memory block.

  • Value: 2
  • Available since: 1.0