[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pre-lexer-2 1/4] command: Factor command name matching out of comma
From: |
John Darrington |
Subject: |
Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c. |
Date: |
Mon, 27 Sep 2010 07:44:48 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Sep 26, 2010 at 12:50:15PM -0700, Ben Pfaff wrote:
> > Also, the Gtk/Glib functions use plain char for UTF8 strings,
>
> Actually, that's not literally true. The functions are declared to
> take gchar *. Glib then typedefs gchar to char. Perhaps with some
> devious hack we could make gchar into something else, but I'm not
> too sure how wise it would be to do that.
I think it would be a bad idea.
We seem somewhat stuck then.
Another idea would be to create some inline wrapper functions around gnulibs
u8_ functions.
This might not be too hard, since the headers are generated from a .in file.
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- [pre-lexer-2 0/4] more preparation for new lexer, Ben Pfaff, 2010/09/25
- [pre-lexer-2 4/4] lexer: Get rid of lex_negative_to_dash()., Ben Pfaff, 2010/09/25
- [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/25
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., John Darrington, 2010/09/25
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/25
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/25
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., John Darrington, 2010/09/26
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/26
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., John Darrington, 2010/09/26
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/26
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c.,
John Darrington <=
- Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c., Ben Pfaff, 2010/09/27
[pre-lexer-2 3/4] lexer: New type enum token_type., Ben Pfaff, 2010/09/25
[pre-lexer-2 2/4] str: Inline some trivial functions., Ben Pfaff, 2010/09/25