2002-12-21 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Sat, 21 Dec 2002 07:58:55 +0000 (07:58 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 21 Dec 2002 07:58:55 +0000 (07:58 -0000)
* object.h: Small change, introduce MonoMarshalByRefObject to
track the layout of that structure in the C# universe as we make
changes there.

svn path=/trunk/mono/; revision=9810

mono/metadata/object.h

index 5bd98a69a4c4aef4e09eb06c4f49bda26bb8524e..be97f7e528f6953c2cf6a2622770035a0bf27ceb 100644 (file)
@@ -61,6 +61,10 @@ typedef struct {
        MonoThreadsSync *synchronisation;
 } MonoObject;
 
+typedef struct {
+       MonoObject obj;
+} MonoMarshalByRefObject;
+
 typedef struct {
        guint32 length;
        guint32 lower_bound;
@@ -129,7 +133,8 @@ typedef struct {
 } MonoAsyncResult;
 
 typedef struct {
-       MonoObject   object;
+       MonoMarshalByRefObject object;
+       
        gpointer     handle;
        MonoBoolean  disposed;
 } MonoWaitHandle;