diff options
author | Peter Eisentraut | 2003-03-18 22:15:44 +0000 |
---|---|---|
committer | Peter Eisentraut | 2003-03-18 22:15:44 +0000 |
commit | cf1cf8964925cd36dc7bf034a968a4e44ede382a (patch) | |
tree | f80bcdd31d3af6f1783ea382e277130db22d6093 /src/bin/psql/mbprint.h | |
parent | 9384dc6e597baf53d3aa07343163ec7011e6181a (diff) |
Make the printing code somewhat more independent by not relying on
functions and global variables from the rest of psql. Also clean up some
data type mismatches created by the last pager patch.
Diffstat (limited to 'src/bin/psql/mbprint.h')
-rw-r--r-- | src/bin/psql/mbprint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/mbprint.h b/src/bin/psql/mbprint.h index 826b71c84a4..7624a34793b 100644 --- a/src/bin/psql/mbprint.h +++ b/src/bin/psql/mbprint.h @@ -1,4 +1,4 @@ -/* $Id: mbprint.h,v 1.5 2002/08/27 20:16:48 petere Exp $ */ +/* $Id: mbprint.h,v 1.6 2003/03/18 22:15:44 petere Exp $ */ #ifndef MBPRINT_H #define MBPRINT_H @@ -6,8 +6,8 @@ pg_wchar utf2ucs(const unsigned char *c); -unsigned char *mbvalidate(unsigned char *pwcs); +unsigned char *mbvalidate(unsigned char *pwcs, int encoding); -int pg_wcswidth(unsigned char *pwcs, size_t len); +int pg_wcswidth(unsigned char *pwcs, size_t len, int encoding); #endif /* MBPRINT_H */ |