Skip to content

Commit

Permalink
Implemented some TODO's in strings.c
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescreen10 committed Nov 18, 2010
1 parent 44248ac commit ec669fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/embed/strings.c
Expand Up @@ -10,7 +10,7 @@ Parrot_api_string_export_ascii(Parrot_PMC interp_pmc, ARGIN(Parrot_String string
{
//ASSERT_ARGS(Parrot_api_string_export)
EMBED_API_CALLIN(interp_pmc, interp);
/* TODO */
*strout = Parrot_str_to_cstring(interp_pmc,string);
EMBED_API_CALLOUT(interp_pmc, interp);
}

Expand All @@ -19,7 +19,8 @@ Parrot_Int
Parrot_api_string_free_exported_ascii(Parrot_PMC interp_pmc, ARGIN(char * const str))
{
EMBED_API_CALLIN(interp_pmc, interp);
// TODO: Free string storage
// Do we need the interp_pmc ???
Parrot_str_free_cstring(str);
EMBED_API_CALLOUT(interp_pmc, interp);
}

Expand Down

0 comments on commit ec669fe

Please sign in to comment.