mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +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:
parent
30dc57cb04
commit
30cc1e0751
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ function scm_struct_init(struct, layout, args) {
|
||||||
var arg = 0;
|
var arg = 0;
|
||||||
|
|
||||||
for (var i = 0; i < nfields; i++) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
switch (layout[2*i]) {
|
switch (layout[2*i]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue