Skip to content

Commit

Permalink
A raw "C string" doesn't mean anything any more, must have encoding and
Browse files Browse the repository at this point in the history
charset. No default can be assumed because only the producer knows what it is.


git-svn-id: https://svn.parrot.org/parrot/branches/strings@35481 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
simon committed Jan 13, 2009
1 parent 457eef8 commit 5a19cd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/pdds/pdd28_strings.pod
Expand Up @@ -398,8 +398,9 @@ a new string.

=head3 Parrot_string_from_cstring (was string_from_cstring)

Create a Parrot string from a C string (a C<char *>). Takes two arguments, a C
string, and an integer length of the string (number of characters). If the
Create a Parrot string from a C string (a C<char *>). Takes four
arguments, a C string, and an integer length of the string (number of
characters), a character set structure and an encoding structure. If the
integer length isn't passed, the function will calculate the length.

{{NOTE: the integer length isn't really necessary, and is under consideration
Expand Down

0 comments on commit 5a19cd1

Please sign in to comment.