1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

scm_struct_init skips hidden fields.

* module/language/js-il/runtime.js (scm_struct_init): skip 'h' fields.
This commit is contained in:
Ian Price 2017-08-02 22:55:00 +01:00
parent 30dc57cb04
commit 30cc1e0751

View file

@ -849,7 +849,7 @@ function scm_struct_init(struct, layout, args) {
var arg = 0;
for (var i = 0; i < nfields; i++) {
if (layout[2*i+1] == 'o') {
if (layout[2*i+1] == 'o' || layout[2*i+1] == 'h') {
continue;
}
switch (layout[2*i]) {