[Mono-dev] [PATCH] Fix build without GC

Zoltan Varga vargaz at gmail.com
Sun May 10 08:54:23 EDT 2009


Looks ok.

       Zoltan

On Sun, May 10, 2009 at 1:20 PM, Andreas Färber <andreas.faerber at web.de>wrote:

> Hello,
>
> This patch fixes building --with-gc=none by sync'ing function signatures.
>
> Okay to commit?
>
> Andreas
>
>
>  mono/metadata/ChangeLog |    7 +++++++
>  mono/metadata/null-gc.c |    3 ++-
>  2 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog
> index 01b6714..d33d169 100644
> --- a/mono/metadata/ChangeLog
> +++ b/mono/metadata/ChangeLog
> @@ -1,3 +1,10 @@
> +2009-05-10  Andreas Faerber  <andreas.faerber at web.de>
> +
> +       * null-gc.c (mono_gc_weak_link_add, mono_gc_clear_domain): Fix
> +       stub signatures.
> +
> +       Contributed unter MIT/X11 license.
> +
>  2009-05-09  Miguel de Icaza  <miguel at novell.com>
>
>        * verify.c, metadata-verifier.c: Add support for disabling the
> diff --git a/mono/metadata/null-gc.c b/mono/metadata/null-gc.c
> index 52c5524..d5af7b1 100644
> --- a/mono/metadata/null-gc.c
> +++ b/mono/metadata/null-gc.c
> @@ -103,7 +103,7 @@ mono_gc_deregister_root (char* addr)
>  }
>
>  void
> -mono_gc_weak_link_add (void **link_addr, MonoObject *obj)
> +mono_gc_weak_link_add (void **link_addr, MonoObject *obj, gboolean track)
>  {
>        *link_addr = obj;
>  }
> @@ -235,6 +235,7 @@ mono_gc_remove_weak_track_object (MonoDomain *domain,
> MonoObject *obj)
>        return NULL;
>  }
>
> +void
>  mono_gc_clear_domain (MonoDomain *domain)
>  {
>  }
> --
> 1.6.2.5
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090510/593f223c/attachment.html 


More information about the Mono-devel-list mailing list