Przeglądaj źródła

ncd/modules/to_string.c: support non-ContinuousString strings

ambrop7 13 lat temu
rodzic
commit
ac23653034
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      ncd/modules/to_string.c

+ 2 - 1
ncd/modules/to_string.c

@@ -104,7 +104,8 @@ static struct NCDModule modules[] = {
         .func_new2 = func_new,
         .func_die = func_die,
         .func_getvar2 = func_getvar2,
-        .alloc_size = sizeof(struct instance)
+        .alloc_size = sizeof(struct instance),
+        .flags = NCDMODULE_FLAG_ACCEPT_NON_CONTINUOUS_STRINGS
     }, {
         .type = NULL
     }