0d052516f1
* glib/MissingIntPtrCtorException.cs : new exception to throw if unable to access an IntPtr ctor on a GLib.Object subclass. We need an IntPtr ctor to be able to wrap arbitrary object handles. * glib/Object.cs : have NativeType call LookupGType. * glib/ObjectManager.cs : throw the new exception in a try/catch. svn path=/trunk/gtk-sharp/; revision=27563
20 lines
367 B
C#
20 lines
367 B
C#
// MissingIntPtrCtorException.cs : Exception for missing IntPtr ctors
|
|
//
|
|
// Authors: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// Copyright (c) 2004 Novell, Inc.
|
|
|
|
namespace GLib {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class MissingIntPtrCtorException : Exception
|
|
{
|
|
public MissingIntPtrCtorException (string msg) : base (msg)
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|
|
|