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

Andreas Färber andreas.faerber at web.de
Sun May 10 07:20:24 EDT 2009


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-without-GC.patch
Type: application/octet-stream
Size: 1546 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090510/2aca6651/attachment.obj 


More information about the Mono-devel-list mailing list