• Show log

    Commit

  • Hash : 7e926ef3
    Author : Patrick Steinhardt
    Date : 2018-11-30T12:14:43

    maps: provide a uniform entry count interface There currently exist two different function names for getting the entry count of maps, where offmaps offset and string maps use `num_entries` and OID maps use `size`. In most programming languages with built-in map types, this is simply called `size`, which is also shorter to type. Thus, this commit renames the other two functions `num_entries` to match the common way and adjusts all callers.