From f9fcedf25eb794bd221d46989b869d0bca1571e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 18 Aug 2021 15:59:55 +0200 Subject: [PATCH] :art: Remove @internal in array --- src/lib/array.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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")) -- 2.43.0