소스 검색

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);