Method

RestParamscopy

Declaration [src]

RestParams*
rest_params_copy (
  RestParams* self
)

Description [src]

Makes a deep copy of a RestParams.

Return value

Returns: RestParams
 

A newly created RestParams with the same contents as self.

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