Commit bdd5abdb authored by Alejandro Mery's avatar Alejandro Mery
Browse files

script: rename script_section_append() to script_section_new()

parent 1d0c2f15
...@@ -52,8 +52,8 @@ void script_delete(struct script *script) ...@@ -52,8 +52,8 @@ void script_delete(struct script *script)
/* /*
*/ */
struct script_section *script_section_append(struct script *script, struct script_section *script_section_new(struct script *script,
const char *name) const char *name)
{ {
struct script_section *section; struct script_section *section;
......
...@@ -81,8 +81,8 @@ struct script *script_new(void); ...@@ -81,8 +81,8 @@ struct script *script_new(void);
void script_delete(struct script *); void script_delete(struct script *);
/** create a new section appended to a given tree */ /** create a new section appended to a given tree */
struct script_section *script_section_append(struct script *script, struct script_section *script_section_new(struct script *script,
const char *name); const char *name);
/** deletes a section recursvely and removes it from the script */ /** deletes a section recursvely and removes it from the script */
void script_section_delete(struct script_section *section); void script_section_delete(struct script_section *section);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment