mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user