[Uim] Suggestion: uim_bool

TOKUNAGA Hiroyuki tkng at xem.jp
Tue Jan 4 22:39:58 EET 2005


On Tue, 04 Jan 2005 14:43:34 +0900
YamaKen <yamaken at bp.iij4u.or.jp> wrote:

> I suggest a new type definition 'uim_bool' for uim.h. See
> following comment and code block currently written in
> uim-scm.h. If nobody disapproved for few days, I'll commit it
> into uim.h.

How about defining of TRUE/FALSE instead of UIM_TRUE/UIM_FALSE?
Following code is copied from glib. Do you think this cause a problem?

#ifndef	FALSE
#define	FALSE	(0)
#endif

#ifndef	TRUE
#define	TRUE	(!FALSE)
#endif


Regards,

-- 
TOKUNAGA Hiroyuki
tkng at xem.jp
http://kodou.net/



More information about the uim mailing list