script: rename script_section_append() to script_section_new()
This commit is contained in:
parent
1d0c2f15f0
commit
bdd5abdbe1
4
script.c
4
script.c
@ -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;
|
||||
|
||||
|
||||
4
script.h
4
script.h
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user