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

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.561 by root, Thu Jun 17 19:38:16 2021 UTC vs.
Revision 1.562 by root, Fri Jun 18 00:21:11 2021 UTC

819extern class rxvt_composite_vec rxvt_composite; 819extern class rxvt_composite_vec rxvt_composite;
820#endif 820#endif
821 821
822// expand the sequence into a static array 822// expand the sequence into a static array
823// works even without ENABLE_COMBINING 823// works even without ENABLE_COMBINING
824template<typename T> 824template<typename T, int max_size_ = 48>
825struct rxvt_compose_expand_static 825struct rxvt_compose_expand_static
826{ 826{
827#if ENABLE_COMBINING 827#if ENABLE_COMBINING
828 // we arbitrarily limit the maximum number of compose sequences
829 // so we can store them in a static array on the stack.
830 enum { max_size = 48 }; 828 enum { max_size = max_size_ };
831 829
832 T chrs[max_size]; 830 T chrs[max_size];
833 831
834 // expand sequence and return start ptr 832 // expand sequence and return start ptr
835 // guarantees at least one output 833 // guarantees at least one output

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines