Ryujinx-GtkSharp/gnome/Scores.custom
Todd Berman 864884b4f0 2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: Hide Scores ctor.
        * gnome/Makefile.am: add Scores.custom.
        * gnome/Scores.custom: New custom for overridable ctor.

svn path=/trunk/gtk-sharp/; revision=26958
2004-05-08 01:27:28 +00:00

13 lines
632 B
Plaintext

[DllImport("gnomeui-2")]
static extern IntPtr gnome_scores_new(uint n_scores, string names, out float scores, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(GLib.time_t_CustomMarshaler))] System.DateTime times, bool clear);
public Scores (uint n_scores, string names, out float scores, System.DateTime times, bool clear) : base (IntPtr.Zero)
{
if (GetType () != typeof (Scores)) {
CreateNativeObject (new string[0], new GLib.Value[0]);
scores = Construct (n_scores, names, times, clear);
return;
}
Raw = gnome_scores_new(n_scores, names, out scores, times, clear);
}