Hi Mike! "Michael Gran" <spk...@yahoo.com> writes:
> commit ca2858c6ba827675af1e348b740b868abc1fdc8d > Author: Michael Gran <spk...@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'.