Function ds_elt_clear

Function Documentation

status_t ds_elt_clear(void *elt, size_t elt_size)

Utility function to clear an element.

If the element is larger than a double, memcpy() is used. If it is < than the size of a double, pointers are used.

Parameters:
  • elt – Element to clear.

  • elt_size – Size of element in bytes.

Returns:

status_t