ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing cvsroot/rxvt-unicode/src/rxvt.h (file contents):
Revision 1.557 by root, Thu Jun 17 00:08:35 2021 UTC vs.
Revision 1.558 by root, Thu Jun 17 00:49:20 2021 UTC

804class rxvt_composite_vec 804class rxvt_composite_vec
805{ 805{
806 vector<compose_char> v; 806 vector<compose_char> v;
807public: 807public:
808 text_t compose (unicode_t c1, unicode_t c2 = NOCHAR); 808 text_t compose (unicode_t c1, unicode_t c2 = NOCHAR);
809 int expand (unicode_t c, wchar_t *r); 809 template<typename T> int expand (unicode_t c, T *r);
810 int expand (unicode_t c) { return expand (c, (text_t *)0); }
810 compose_char *operator [](text_t c) 811 compose_char *operator [](text_t c)
811 { 812 {
812 return c >= COMPOSE_LO && c < COMPOSE_LO + v.size () 813 return c >= COMPOSE_LO && c < COMPOSE_LO + v.size ()
813 ? &v[c - COMPOSE_LO] 814 ? &v[c - COMPOSE_LO]
814 : 0; 815 : 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines