瀏覽代碼

NCDValue_InitString: take a const string

ambrop7 15 年之前
父節點
當前提交
c4e7db1871
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);