Function ds_elt_copy
Defined in File ds.h
Function Documentation
-
status_t ds_elt_copy(void *elt1, const void *elt2, size_t elt_size)
Utility function to copy elt2 into elt1, overwriting.
If the element is larger than a double, memcpy() is used. If it is < than the size of a double, pointers are used.
- Parameters:
elt1 – Destination.
elt2 – Source.
elt_size – Size of elements in bytes.
- Returns: