OK to add swigified function to core-utils?

Andreas Köhler andi5.py at gmx.net
Tue Apr 1 16:20:04 EDT 2008


Hi Charles,

Am Dienstag, den 01.04.2008, 13:01 -0700 schrieb Charles Day:
> I have come up with a working fix for bug
> 450354<http://bugzilla.gnome.org/show_bug.cgi?id=450354>which involves
> calling the glib function g_locale_from_utf8(). However, this
> glib function is not available directly from Scheme unless we add a
> dependency for guile-slib. To avoid that, I created a C function that does
> the call, then swigified it so that Scheme can use it.  A similar technique
> might be used to make a fix for bug
> 396665<http://bugzilla.gnome.org/show_bug.cgi?id=396665>,
> by attempting a conversion using g_locale_to_utf8() before resorting to the
> current method (character deletion).
> 
> So my question is: Is it OK to add this new C function to core-utils, as
> seen in the attached diff? (If so, I will add comments for C and doxygen.
> I've already compiled and tested it.)

I guess that is exactly what is needed and looks just fine.
Please go commit :-)

Ciao,
-- andi5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080401/a84e2ea7/attachment.bin 


More information about the gnucash-devel mailing list