1. 30 Mar, 2001 1 commit
    • Sven Neumann's avatar
      ghash.[ch] added new functions g_hash_table_new_full, · a2b269ba
      Sven Neumann authored
      2001-03-30  Sven Neumann  <sven@gimp.org>
      
              * ghash.[ch]
              * docs/reference/glib/tmpl/hash_tables.sgml: added new functions
              g_hash_table_new_full, g_hash_table_replace, g_hash_table_steal and
              g_hash_table_foreach_steal. Moved most docs out of the template
              file into the C file. Please proofread the new documentation.
      a2b269ba
  2. 13 Dec, 2000 1 commit
    • Tim Janik's avatar
      return whether a value got removed. · 9a8c33db
      Tim Janik authored
      Tue Dec 12 18:58:22 2000  Tim Janik  <timj@gtk.org>
      
              * ghash.c (g_hash_table_remove): return whether a value
              got removed.
      
      Tue Dec 12 23:38:02 2000  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: _never_ touch oldest-source-stamp.
      
              * gobject.[hc]: construct property handling fixes/improvements.
              fixed trailer handling in get/set property.
      
              * gparam.[hc]: implement param spec pool, got rid of param spec
              hashtable. the most prominent change is that e deal with type
              prefixes here.
      9a8c33db
  3. 30 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Introduced new function type GEqualFunc to return TRUE for equal params. · 267b6813
      Sebastian Wilhelmi authored
      
      2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h:
      	Introduced new function type GEqualFunc to return TRUE for equal
      	params. This is now used instead of GCompareFunc (which should
      	work akin to strcmp) here. This kind of fixes Bug #14412. Note
      	that technically GCompareFunc and GEqualFunc are still the same
      	types, as gint == gboolean.
      
      	* ghash.h, gutils.c: g_int_equal and g_direct_equal now return
      	gboolean to be really become GEqualFunc.
      
      	* gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to
      	follow the above change.
      267b6813
  4. 12 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Split glib.h into many header files mostly according to the resp. · b1d15587
      Sebastian Wilhelmi authored
      
      2000-10-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
      	gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
      	ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
      	gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
      	grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
      	gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
      	into many header files mostly according to the resp. *.c-files.
      
      	* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
      	of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
      	__END_DECLS.
      
      	* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
      	gunicode.h, : Changed guard-macro names to something more
      	consistent.
      
      	* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      b1d15587