Skip to content

Commit

Permalink
bare implementatiion of as_string, returning a null string
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Aug 2, 2011
1 parent 2d6e52a commit 9192eb0
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/pmc/unmanagedstruct.pmc
Expand Up @@ -809,7 +809,7 @@ pmclass UnManagedStruct auto_attrs no_ro {

=back

=head2 Methods
=head2 Vtable Functions

=over 4

Expand Down Expand Up @@ -1215,6 +1215,28 @@ Sets the value of the element associated with key C<*key> to C<*value>.
set_string(INTERP, p, type, value);
}

/*

=back

=head2 Methods

=over 4

=item C<as_string(string encodingname)>

Create a string from the buffer, assumed to be a C string, with the encoding
specified.

=cut

*/

METHOD as_string(STRING *encodingname) {
/* TODO: all */
RETURN(STRING STRINGNULL);
}

}

/*
Expand Down

0 comments on commit 9192eb0

Please sign in to comment.