mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +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;
|
||||
|
||||
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]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue