(svn r26499) -Codechange: replace strndup with stredup
This commit is contained in:
@@ -28,7 +28,7 @@ struct IniItem {
|
||||
char *value; ///< The value of this item
|
||||
char *comment; ///< The comment associated with this item
|
||||
|
||||
IniItem(struct IniGroup *parent, const char *name, size_t len = 0);
|
||||
IniItem(struct IniGroup *parent, const char *name, const char *last = NULL);
|
||||
~IniItem();
|
||||
|
||||
void SetValue(const char *value);
|
||||
@@ -43,7 +43,7 @@ struct IniGroup {
|
||||
char *name; ///< name of group
|
||||
char *comment; ///< comment for group
|
||||
|
||||
IniGroup(struct IniLoadFile *parent, const char *name, size_t len = 0);
|
||||
IniGroup(struct IniLoadFile *parent, const char *name, const char *last = NULL);
|
||||
~IniGroup();
|
||||
|
||||
IniItem *GetItem(const char *name, bool create);
|
||||
|
Reference in New Issue
Block a user