From 071ab0f46c1e001759ace1d03dd202da71abce76 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 19 Jan 2007 09:31:52 +0000 Subject: [PATCH] - Nicer version --- README.UNICODE-UPGRADES | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.UNICODE-UPGRADES b/README.UNICODE-UPGRADES index dba7fd3889..674eaa6359 100644 --- a/README.UNICODE-UPGRADES +++ b/README.UNICODE-UPGRADES @@ -541,12 +541,12 @@ Unicode strings: Z_OBJCE_P(object)->name); Since [v]spprintf() can only output native strings there are also the new -function [v]uspprintf() and [v]zspprintf() that create unicode strings and +functions [v]uspprintf() and [v]zspprintf() that create unicode strings and return the number of characters printed. That is they return the length rather -than the byte size. The second pair offunction also takes an additional type +than the byte size. The second pair of functions also takes an additional type parameter that allows to create a string of arbitrary type. The following example illustrates the use. Assume it fetches a unicode/native string into -path, path_len, path_type and then creates sub_name, sub_len and sub_type. +path, path_len and path_type inorder to create sub_name, sub_len and sub_type. zstr path, sub_name; int path_len, sub_len; -- 2.50.1