Skip to content
Snippets Groups Projects
Commit 7369cbfb authored by Jonathan Schöbel's avatar Jonathan Schöbel
Browse files

added wrapper method for SH_Fragment_to_html

parent 787e7288
Branches
Tags
No related merge requests found
......@@ -237,9 +237,9 @@ SH_Fragment_append_child (struct SH_Fragment * fragment,
return TRUE;
}
struct SH_Text *
SH_Fragment_to_html (struct SH_Fragment * fragment,
struct SH_Error * error)
static struct SH_Text *
Fragment_to_html (struct SH_Fragment * fragment,
struct SH_Error * error)
{
struct SH_Text * html;
struct SH_Text * child;
......@@ -271,8 +271,8 @@ SH_Fragment_to_html (struct SH_Fragment * fragment,
for (index = 0; index < fragment->child_n; index++)
{
child = SH_Fragment_to_html (fragment->childs[index],
error);
child = Fragment_to_html (fragment->childs[index],
error);
if (child == NULL)
{
......@@ -313,3 +313,10 @@ SH_Fragment_to_html (struct SH_Fragment * fragment,
return html;
}
struct SH_Text *
SH_Fragment_to_html (struct SH_Fragment * fragment,
struct SH_Error * error)
{
return Fragment_to_html (fragment, error);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment