g_value_new Macro?
- From: Ryan McDougall <NQG24419 nifty com>
- To: gtk-devel-list gnome org
- Subject: g_value_new Macro?
- Date: Thu, 26 Aug 2004 15:22:56 +0900
Hi,
I use the following in my code. Is there a reason why its not in the
GValue API? Is it evil? If not, wouldn't it be nice to include it?
#define g_value_new(type) g_value_init (g_new (GValue, 1), type)
My 2 cents,
Ryan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]