~rotty/guile-gnome/glib

Viewing all changes in revision 57.

  • Committer: Andy Wingo
  • Date: 2006-10-30 16:42:54 UTC
  • Revision ID: wingo@pobox.com-20061030164254-5bc80317a9b58f19
2006-10-30  Andy Wingo  <wingo@pobox.com>

        * gnome/gobject/gc.h:
        * gnome/gobject/gc.c (scm_glib_gc_protect_object)
        (scm_glib_gc_unprotect_object): New functions, like
        scm_gc_[un]protect_object, but can be called from inside the gc's
        sweep phase.

        * gnome/gobject/gparameter.c (s_scm_gparam_to_param_struct): 
        * gnome/gobject/gvalue.c (copy_gboxed_scm, free_gboxed_scm): 
        * gnome/gobject/gobject.c (s_scm_gobject_set_data_x)
        (scm_c_gtype_instance_class_init): 
        * gnome/gobject/gclosure.c (free_closure)
        (s_scm_gclosure_primitive_new): Use scm_glib_gc_protect_object
        instead of guile's scm_gc_protect_object.

        * gnome/gobject/Makefile.am (C_FILES): Add gc.c.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: