Update Japanese README so that it reflects the changes made to the

conversion function interface.
This commit is contained in:
Tatsuo Ishii 2002-09-18 01:21:28 +00:00
parent 1c4478a5ba
commit 4c0bdd1ba8

View File

@ -1,6 +1,6 @@
新しいエンコーディング変換関数の追加方法 新しいエンコーディング変換関数の追加方法
2002/07/24 Tatsuo Ishii 2002/09/18 Tatsuo Ishii
はじめに はじめに
@ -23,10 +23,10 @@ o C
conv_proc( conv_proc(
INTEGER, -- source encoding id INTEGER, -- source encoding id
INTEGER, -- destination encoding id INTEGER, -- destination encoding id
OPAQUE, -- source string (null terminated C string) CSTRING, -- source string (null terminated C string)
OPAQUE, -- destination string (null terminated C string) CSTRING, -- destination string (null terminated C string)
INTEGER -- source string length INTEGER -- source string length
) returns INTEGER; -- dummy. returns nothing, actually. ) returns VOID;
唯一の出力引数は4番目のdestination stringですユーザ定義関数は必要 唯一の出力引数は4番目のdestination stringですユーザ定義関数は必要
なメモリをpallocしそこに変換結果をNULLターミネートされたC文字列と なメモリをpallocしそこに変換結果をNULLターミネートされたC文字列と
@ -77,7 +77,7 @@ o
デフォルトのエンコーディング変換として使用できるためには,ソースエン デフォルトのエンコーディング変換として使用できるためには,ソースエン
コーディングとデスティネーションエンコーディングの間で双方向の変換が コーディングとデスティネーションエンコーディングの間で双方向の変換が
できることが必要ですすなわちあるエンコーディングのペアに付き2 できることが必要ですすなわちあるエンコーディングのペアに付き2
の関数の作成が必要です.これらの関数は別々のサブディレクトリに登録 の関数の作成が必要です.これらの関数は別々のサブディレクトリに登録
ても良いですが通常は一つのソースファイル中に2個の関数を書くこと ても良いですが通常は一つのソースファイル中に2個の関数を書くこと
多いでしょう. 多いでしょう.