Re: g_hash_table_steal_extended()



g_hash_table_explode_in_16777216_colors_and_freeze () :P

On 11/19/06, Matthew Barnes <mbarnes redhat com> wrote:
On Sun, 2006-11-19 at 09:02 -0800, Ken Ishii wrote:
> I just came up with that name to go along with the
> g_hash_table_lookup()/g_hash_table_lookup_extended() convention. But yes
> you're right, it's not very self-explanatory.

I've often thought of suggesting such a function myself.  "Pop" seems
like a good verb for it.

gpointer g_hash_table_pop (GHashTable *hash_table, gconstpointer key);

Matthew Barnes

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list



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