anchor.diff:  ----
   ****
   
  +[[dist-deallocation]]
  +== Deallocation
   ****
   [[inform_dist_free]]
   [source,c]
  
positive.code: distribution.
  ****
  
  ****
  [[inform_dist_alloc]]
  [source,c]
  
negative.code: Get the number of occurrences of a given event.
  
  If the distribution is `NULL` or the `event` is not in the support, `0` is returned.
  
  *Examples:*
  [source,c]
  ----
  inform_dist *dist = NULL;
  assert(inform_dist_get(dist, 0) == 0);
  assert(inform_dist_get(dist, 1) == 0);
  assert(inform_dist_get(dist, 2) == 0);
  ----
  [source,c]
  ----
  inform_dist *dist = inform_dist_create((int[]){3,2,1,0}, 4);
  assert(dist);
  assert(inform_dist_get(dist, 0) == 3);
  assert(inform_dist_get(dist, 1) == 2);
  assert(inform_dist_get(dist, 2) == 1);
  assert(inform_dist_get(dist, 3) == 0);
  inform_dist_free(dist);
  ----
  ****
  
  ****
  