glib: GOption workaround for use with custom argv's



Hello everyone,

I'd like to use GOption for parsing custom argv's, other than the
application's main() argv. I wrote a tiny workaround to avoid
calls to exit() or g_set_prgname(), with two new functions and
without breaking the current glib API.

If you like to add this feature, i can send a commented source
snippet, which suggests a solution. All easy.

Cheers,

Oliver 'Bloody' Lange.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]