anchor.diff:                    end,
                     Alts).
   
  -nif_encode_decode_maps() ->
  +nif_encode_decode_mapfields() ->
       with_tmpdir(
         fun(TmpDir) ->
                 NEDM = gpb_nif_test_ed_mapfields1,
  
positive.code:            || VT <- ValueTypes1],
      Fs2 = [#?gpb_field{type={map,KT,VT1}, occurrence=repeated, opts=[]}
             || KT <- KeyTypes1],
      [F#?gpb_field{name=list_to_atom(lists:concat([f,I])), rnum=I+1, fnum=I}
       || {I, F} <- index_seq(Fs1 ++ Fs2)].
  
  index_seq(L) -> lists:zip(lists:seq(1, length(L)), L).
  
  
negative.code:              [{"encode decode", fun nif_encode_decode_oneof/0}])),
           increase_timeouts(
             nif_mapfield_tests_check_prerequisites(
               [{"encode decode", fun nif_encode_decode_mapfields/0}])),
           increase_timeouts(
             nif_proto3_tests_check_prerequisites(
               [{"encode decode", fun nif_encode_decode_proto3/0}])),
  