src/keyvalue.c
//================================================================
/*! delete all datas

  @param  kvh	pointer to key-value handle.
*/
delete all datas
@param  kvh   pointer to key-value handle.
delete all datas @param kvh pointer to key - value handle .
void mrbc_kv_delete_data(mrbc_kv_handle *kvh)
{
  if( kvh->data_size == 0 ) return;
  mrbc_kv_clear(kvh);
  mrbc_raw_free(kvh->data);
}
void mrbc_kv_delete_data ( mrbc_kv_handle * kvh ) { if ( kvh -> data_size == 0 ) return ; mrbc_kv_clear ( kvh ) ; mrbc_raw_free ( kvh -> data ) ; }
delete all datas
@param  kvh   pointer to key-value handle.
delete all datas @param kvh pointer to key - value handle .