Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libedit
Module Name: src
Committed By: christos
Date: Mon Apr 11 16:06:53 UTC 2016
Modified Files:
src/lib/libedit: chartype.c chartype.h history.c tokenizer.c
Log Message:
chartype cleanups from Ingo Schwarze:
- The file tokenizer.c no longer uses chartype.h,
so don't include the header.
- The dummy definitions of ct_{de,en}code_string() for the
NARROWCHAR case are only used in history.c, so move them there.
- Now the whole content of chartype.h is for the wide character
case only. So remove the NARROWCHAR ifdef and include the
header only in the wide character case.
- In chartype.h, move ct_encode_char() below the comment explaining it.
- No more need for underscores before ct_{de,en}code_string().
- Make the conversion buffer resize functions private.
They are only called from the decoding and encoding functions
inside chartype.c, and no need can possibly arise to call them
from anywhere else.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libedit/chartype.c \
src/lib/libedit/tokenizer.c
cvs rdiff -u -r1.29 -r1.30 src/lib/libedit/chartype.h
cvs rdiff -u -r1.55 -r1.56 src/lib/libedit/history.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index