* scm_t_string_failed_conversion_handler
[not found] <E1MbFHF-0005GD-6G@cvs.savannah.gnu.org>
@ 2009-08-12 17:33 ` Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2009-08-12 17:33 UTC (permalink / raw)
To: Michael Gran; +Cc: guile-devel
Hi Mike!
"Michael Gran" <spk121@yahoo.com> writes:
> commit ca2858c6ba827675af1e348b740b868abc1fdc8d
> Author: Michael Gran <spk121@yahoo.com>
> Date: Wed Aug 12 07:49:16 2009 -0700
>
> Don't include libunistring headers in Guile public headers
>
> This requres the creation of a new type
> scm_t_string_failed_conversion_handler to replace libunistring's
> enum iconveh_ilseq_handler.
Thanks for doing this! (And the other fixes, too.)
> + pf ("/* Constants from uniconv.h. */\n");
> + pf ("#define SCM_ICONVEH_ERROR %d\n", (int) iconveh_error);
> + pf ("#define SCM_ICONVEH_QUESTION_MARK %d\n",
> + (int) iconveh_question_mark);
> + pf ("#define SCM_ICONVEH_ESCAPE_SEQUENCE %d\n",
> + (int) iconveh_escape_sequence);
[...]
> +typedef enum
> +{
> + SCM_FAILED_CONVERSION_ERROR = SCM_ICONVEH_ERROR,
> + SCM_FAILED_CONVERSION_QUESTION_MARK = SCM_ICONVEH_QUESTION_MARK,
> + SCM_FAILED_CONVERSION_ESCAPE_SEQUENCE = SCM_ICONVEH_ESCAPE_SEQUENCE
> +} scm_t_string_failed_conversion_handler;
> +
Nice trick!
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-12 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1MbFHF-0005GD-6G@cvs.savannah.gnu.org>
2009-08-12 17:33 ` scm_t_string_failed_conversion_handler Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).