Răsfoiți Sursa

ncd: add static string "<none>"

ambrop7 13 ani în urmă
părinte
comite
24aaf77d33
2 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 2 1
      ncd/NCDStringIndex.c
  2. 2 1
      ncd/static_strings.h

+ 2 - 1
ncd/NCDStringIndex.c

@@ -74,7 +74,8 @@ static const char *static_strings[] = {
     "_arg18",
     "_arg19",
     "true",
-    "false"
+    "false",
+    "<none>"
 };
 
 static NCD_string_id_t do_get (NCDStringIndex *o, const char *str, size_t str_len)

+ 2 - 1
ncd/static_strings.h

@@ -55,7 +55,8 @@ enum {
     NCD_STRING_ARG18,
     NCD_STRING_ARG19,
     NCD_STRING_TRUE,
-    NCD_STRING_FALSE
+    NCD_STRING_FALSE,
+    NCD_STRING_NONE
 };
 
 #endif