mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 01:55:39 +00:00
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
21 lines
367 B
C#
21 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)
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|
|
|