Bind a blob to memory

ss_blob_bind_m1 is a function defined in ssblob.c.

Synopsis:

herr_t ss_blob_bind_m1(ss_blob_t *blob, void *mem, hid_t mtype, hsize_t nelmts)

Formal Arguments:

  • blob: The blob to which memory is associated.
  • mem: The memory to be associated with the blob.
  • mtype: The datatype of each element of the memory. This datatype will be copied into the blob so the caller is free to close the handle at any time.
  • nelmts: Number of elements pointed to by mem.

Description: This is a special case of ss_blob_bind_m that binds one-dimensional memory to a blob. It’s slightly easier to use because the caller isn’t required to build an HDF5 data space to describe the memory layout.

Return Value: Returns non-negative on success; negative on failure.

Parallel Notes: Independent

See Also: