From 4659a59ea128f72b7d27c40e1b1be233e62b79d8 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 12 Apr 2013 18:32:16 +0900 Subject: [PATCH] - Include stdlib.h and cos.h. (cos_utf8_encode_char): Renamed from `cos_encode_char_as_utf8'. (cos_utf8_print_char): New prototype. --- cos-print.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cos-print.h b/cos-print.h index 7eba564..d25eecf 100644 --- a/cos-print.h +++ b/cos-print.h @@ -28,8 +28,14 @@ extern "C" { } #endif +#include +#include + +int +cos_utf8_encode_char (int cid, unsigned char *dest, size_t size); + int -cos_encode_char_as_utf8 (int cid, unsigned char *dest, size_t size); +cos_utf8_print_char (COS_object character, unsigned char *dest, size_t size); #if 0 { -- 1.7.10.4