/**
* hashmap_put.scad
*
* @copyright Justin Lin, 2021
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-hashmap_put.html
*
**/

use <../../__comm__/_str_hash.scad>;
use <_impl/_hashmap_put_impl.scad>;

function hashmap_put(map, key, value, eq = function(e1, e2) e1 == e2, hash = function(e) _str_hash(e)) =
    _hashmap_put(map, key, value, eq, hash);