code: public void mapEmpty() {
          Data.Map m = (Data.Map)data;
          m.idx = 0;
          m.capa = YAML.ALLOC_CT;
          m.keys = new Object[m.capa];
          m.values = new Object[m.capa];
      }
docs: syck_map_empty