script: rename script_section_append() to script_section_new()

This commit is contained in:
Alejandro Mery 2012-05-06 16:04:03 +02:00
parent 1d0c2f15f0
commit bdd5abdbe1
2 changed files with 4 additions and 4 deletions

View File

@ -52,8 +52,8 @@ void script_delete(struct script *script)
/*
*/
struct script_section *script_section_append(struct script *script,
const char *name)
struct script_section *script_section_new(struct script *script,
const char *name)
{
struct script_section *section;

View File

@ -81,8 +81,8 @@ struct script *script_new(void);
void script_delete(struct script *);
/** create a new section appended to a given tree */
struct script_section *script_section_append(struct script *script,
const char *name);
struct script_section *script_section_new(struct script *script,
const char *name);
/** deletes a section recursvely and removes it from the script */
void script_section_delete(struct script_section *section);