Re: FriBracketType
Dov Grobgeld <[email protected]> Tue, 14 Nov 2017 13:31:19 +0200
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <CA++fsGGzhU5MgNSuqjX8tH6L7p8YtGco75+SG=JKLziiDBeZJg@mail.gmail.com> |
--===============0287079831== Content-Type: multipart/alternative; boundary="f403043901accf2e05055defb907" --f403043901accf2e05055defb907 Content-Type: text/plain; charset="UTF-8" No reason, except if bracket_id would be greater than 0x3fffffff, which is not very likely. I'll change it before the release. Dov On Tue, Nov 14, 2017 at 4:10 AM, Behdad Esfahbod <[email protected]> wrote: > Any reason the bracket-type cannot be a single FriBidiChar, with the top > bit used to indication open/close? It's wasteful the way it is right now: > > struct _FriBracketTypeStruct { > FriBidiChar bracket_id; > fribidi_boolean is_open; > }; > > -- > behdad > http://behdad.org/ > --f403043901accf2e05055defb907 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">No reason, except if bracket_id would be greater than 0= x3fffffff, which is not very likely. I'll change it before the release.= </div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,san= s-serif"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,= helvetica,sans-serif">Dov</div><div class=3D"gmail_default" style=3D"font-f= amily:arial,helvetica,sans-serif"><br></div></div><div class=3D"gmail_extra= "><br><div class=3D"gmail_quote">On Tue, Nov 14, 2017 at 4:10 AM, Behdad Es= fahbod <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>></span> wrote:<br><blockquote class=3D"gm= ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le= ft:1ex"><div dir=3D"ltr">Any reason the bracket-type cannot be a single Fri= BidiChar, with the top bit used to indication open/close?=C2=A0 It's wa= steful the way it is right now:<br><br>struct _FriBracketTypeStruct { <br>= =C2=A0 FriBidiChar bracket_id; <br>=C2=A0 fribidi_boolean is_open; <br>}; <= br><span class=3D"HOEnZb"><font color=3D"#888888"><div><br>-- <br><div clas= s=3D"m_-315054422434703915gmail_signature">behdad<br><a href=3D"http://behd= ad.org/" target=3D"_blank">http://behdad.org/</a></div> </div></font></span></div> </blockquote></div><br></div> --f403043901accf2e05055defb907-- --===============0287079831== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZnJpYmlkaSBt YWlsaW5nIGxpc3QKZnJpYmlkaUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmliaWRpCg== --===============0287079831==--