Explorar o código

NCDValue_InitString: take a const string

ambrop7 %!s(int64=15) %!d(string=hai) anos
pai
achega
c4e7db1871
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ncd/NCDValue.h

+ 1 - 1
ncd/NCDValue.h

@@ -47,7 +47,7 @@ int NCDValue_InitCopy (NCDValue *o, NCDValue *v);
 void NCDValue_Free (NCDValue *o);
 int NCDValue_Type (NCDValue *o);
 
-int NCDValue_InitString (NCDValue *o, char *str);
+int NCDValue_InitString (NCDValue *o, const char *str);
 char * NCDValue_StringValue (NCDValue *o);
 
 void NCDValue_InitList (NCDValue *o);