- Include stdlib.h and cos.h.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 12 Apr 2013 09:32:16 +0000 (18:32 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 12 Apr 2013 09:32:16 +0000 (18:32 +0900)
(cos_utf8_encode_char): Renamed from `cos_encode_char_as_utf8'.
(cos_utf8_print_char): New prototype.

cos-print.h

index 7eba564..d25eecf 100644 (file)
@@ -28,8 +28,14 @@ extern "C" {
 }
 #endif
 
+#include <stdlib.h>
+#include <cos.h>
+
+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
 {