Skip to content

Commit

Permalink
[js] Fix nqp::serializetobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Nov 12, 2018
1 parent 846b8fc commit c899f4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vm/js/nqp-runtime/serialization.js
Expand Up @@ -1006,6 +1006,7 @@ op.serializetobuf = function(sc, sh, type) {
const writer = new SerializationWriter(sc, sh.array);
const buffer = type._STable.REPR.allocate(type._STable);
core.writeBuffer(buffer, writer.serialize());
return buffer;
}

op.scsetobj = function(sc, idx, obj) {
Expand Down

0 comments on commit c899f4a

Please sign in to comment.