dbus/mono Arguments.cs,1.7,1.8 Makefile.am,1.13,1.14

Joe Shaw joe@freedesktop.org
Wed Jan 12 09:31:10 PST 2005


Update of /cvs/dbus/dbus/mono
In directory gabe:/tmp/cvs-serv10702/mono

Modified Files:
	Arguments.cs Makefile.am 
Log Message:
2005-01-12  Joe Shaw  <joeshaw@novell.com>

	* mono/Makefile.am: Always build the dbus DLL with --debug.

	* mono/Arguments.cs (GetDBusTypeConstructor): If the type
	is an enum, get the enum's underlying type.  Another mono
	1.1.3 fix.

Index: Arguments.cs
===================================================================
RCS file: /cvs/dbus/dbus/mono/Arguments.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Arguments.cs	27 Oct 2004 22:35:03 -0000	1.7
+++ Arguments.cs	12 Jan 2005 17:31:08 -0000	1.8
@@ -165,6 +165,8 @@
 
       if (type.IsArray)
         constructorType = typeof (System.Array);
+      else if (type.IsEnum)
+        constructorType = Enum.GetUnderlyingType (type);
       else
         constructorType = type.UnderlyingSystemType;
 

Index: Makefile.am
===================================================================
RCS file: /cvs/dbus/dbus/mono/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile.am	11 Jan 2005 22:09:16 -0000	1.13
+++ Makefile.am	12 Jan 2005 17:31:08 -0000	1.14
@@ -51,10 +51,10 @@
 all-am: $(TARGET)
 
 dbus-sharp.dll: $(DBUS_SHARP_FILES)
-	$(CSC) --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES) AssemblyInfo.cs
+	$(CSC) --debug --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES) AssemblyInfo.cs
 
 test-dbus-sharp.exe: $(TEST_DBUS_SHARP_FILES)
-	$(CSC) --unsafe --target exe -L . -r dbus-sharp.dll -pkg:gtk-sharp -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)
+	$(CSC) --debug --unsafe --target exe -L . -r dbus-sharp.dll -pkg:gtk-sharp -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)
 
 clean:
 	rm -f $(TARGET) $(NOINST_EXES)



More information about the dbus-commit mailing list