From: Jérémie Astor Date: Wed, 18 Aug 2021 13:59:55 +0000 (+0200) Subject: :art: Remove @internal in array X-Git-Tag: nightly~470^2~56 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f9fcedf25eb794bd221d46989b869d0bca1571e4;p=gwion.git :art: Remove @internal in array --- diff --git a/src/lib/array.c b/src/lib/array.c index a29a1761..009b2f51 100644 --- a/src/lib/array.c +++ b/src/lib/array.c @@ -754,10 +754,11 @@ GWION_IMPORT(array) { set_tflag(t_array, tflag_infer); gwi->gwion->type[et_array] = t_array; gwi_class_xtor(gwi, NULL, array_dtor); - GWI_BB(gwi_item_ini(gwi, "@internal", "@array")) - GWI_BB(gwi_item_end(gwi, 0, num, 0)) - GWI_BB(gwi_item_ini(gwi, "@internal", "@ctor_data")) - GWI_BB(gwi_item_end(gwi, 0, num, 0)) + t_array->nspc->offset += SZ_INT*2; +// GWI_BB(gwi_item_ini(gwi, "@internal", "@array")) +// GWI_BB(gwi_item_end(gwi, 0, num, 0)) +// GWI_BB(gwi_item_ini(gwi, "@internal", "@ctor_data")) +// GWI_BB(gwi_item_end(gwi, 0, num, 0)) GWI_BB(gwi_fptr_ini(gwi, "A", "map_t:[A]")) GWI_BB(gwi_func_arg(gwi, "T", "elem"))