summaryrefslogtreecommitdiffstats
path: root/mono/Arguments.cs
diff options
context:
space:
mode:
authorJoe Shaw <joeshaw@novell.com>2005-01-12 17:31:08 +0000
committerJoe Shaw <joeshaw@novell.com>2005-01-12 17:31:08 +0000
commit2388bc86ee7e2b01f36ec6711608601f538eb712 (patch)
tree5caf538e68abbf177b638c501db1de880170719a /mono/Arguments.cs
parented3cfaec212027b3c5adfe805378f42c642d463c (diff)
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.
Diffstat (limited to 'mono/Arguments.cs')
-rw-r--r--mono/Arguments.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mono/Arguments.cs b/mono/Arguments.cs
index d78fbff2..b68ed5a3 100644
--- a/mono/Arguments.cs
+++ b/mono/Arguments.cs
@@ -165,6 +165,8 @@ namespace DBus
if (type.IsArray)
constructorType = typeof (System.Array);
+ else if (type.IsEnum)
+ constructorType = Enum.GetUnderlyingType (type);
else
constructorType = type.UnderlyingSystemType;