Method

RestParamscopy

Declaration [src]

RestParams*
rest_params_copy (
  RestParams* self
)

Description [src]

Makes a deep copy of a RestParams.

Return value

Type: RestParams

A newly created RestParams with the same contents as self.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.