Author: simon
Date: Tue Jan 13 01:05:22 2009
New Revision: 35481
Modified:
branches/strings/docs/pdds/pdd28_strings.pod
Log:
A raw "C string" doesn't mean anything any more, must have encoding and
charset. No default can be assumed because only the producer knows what it is.
Modified: branches/strings/docs/pdds/pdd28_strings.pod
==============================================================================
--- branches/strings/docs/pdds/pdd28_strings.pod (original)
+++ branches/strings/docs/pdds/pdd28_strings.pod Tue Jan 13 01:05:22 2009
@@ -398,8 +398,9 @@
=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