Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
SisMaker
/
jiffy
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Projects
0
Versões
62
Wiki
Atividade
Ver código fonte
Use from_array instead of positional versions
pull/184/head
Paul J. Davis
6 anos atrás
pai
591448da47
commit
4a3785eb70
2 arquivos alterados
com
2 adições
e
14 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-8
c_src/decoder.c
+1
-6
c_src/encoder.c
+ 1
- 8
c_src/decoder.c
Ver arquivo
@ -765,14 +765,7 @@ decode_iter(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
return
enif_make_tuple2
(
env
,
st
-
>
atom_iter
,
enif_make_tuple5
(
env
,
tmp_argv
[
0
]
,
tmp_argv
[
1
]
,
tmp_argv
[
2
]
,
tmp_argv
[
3
]
,
tmp_argv
[
4
]
)
enif_make_tuple_from_array
(
env
,
tmp_argv
,
5
)
)
;
#
endif
}
+ 1
- 6
c_src/encoder.c
Ver arquivo
@ -754,12 +754,7 @@ encode_iter(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
return
enif_make_tuple2
(
env
,
st
-
>
atom_iter
,
enif_make_tuple3
(
env
,
tmp_argv
[
0
]
,
tmp_argv
[
1
]
,
tmp_argv
[
2
]
)
enif_make_tuple_from_array
(
env
,
tmp_argv
,
3
)
)
;
#
endif
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar