]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove @internal in array
authorJérémie Astor <fennecdjay@gmail.com>
Wed, 18 Aug 2021 13:59:55 +0000 (15:59 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Wed, 18 Aug 2021 13:59:55 +0000 (15:59 +0200)
src/lib/array.c

index a29a1761630c389433a16a19f0a90e81432550df..009b2f51fbe4b3efc05c4ff9c699c31b86e6734d 100644 (file)
@@ -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"))