mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
Some more DllImport fixes
This commit is contained in:
parent
3139d5f239
commit
4110118d7b
3 changed files with 12 additions and 12 deletions
|
@ -159,14 +159,14 @@ namespace Gst {
|
|||
}
|
||||
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern IntPtr g_closure_new_simple (int size, IntPtr data);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern uint g_signal_connect_closure (IntPtr instance,
|
||||
string name, IntPtr closure, bool after);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern void g_closure_set_meta_marshal (IntPtr closure, IntPtr data, GClosureMarshal marshal);
|
||||
|
||||
class GTypeSignalKey {
|
||||
|
@ -299,16 +299,16 @@ namespace Gst {
|
|||
[DllImport ("gstreamersharpglue-0.10.dll") ]
|
||||
static extern IntPtr gstsharp_g_type_from_instance (IntPtr o);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern int g_signal_handler_disconnect (IntPtr o, uint handler_id);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern uint g_signal_lookup (IntPtr name, IntPtr itype);
|
||||
|
||||
[DllImport ("libglib-2.0.dll") ]
|
||||
[DllImport ("libglib-2.0-0.dll") ]
|
||||
static extern uint g_quark_from_string (IntPtr str);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern void g_signal_emitv (GLib.Value[] parameters, uint signal_id, uint detail, ref GLib.Value return_value);
|
||||
|
||||
[StructLayout (LayoutKind.Sequential) ]
|
||||
|
@ -322,7 +322,7 @@ namespace Gst {
|
|||
public IntPtr param_types;
|
||||
}
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
static extern void g_signal_query (uint signal_id, ref GSignalQuery query);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,10 +25,10 @@ public ulong Timestamp {
|
|||
[DllImport ("gstreamersharpglue-0.10.dll") ]
|
||||
extern static uint gstsharp_gst_event_get_src_offset ();
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
extern static IntPtr g_object_ref (IntPtr handle);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
extern static void g_object_unref (IntPtr handle);
|
||||
|
||||
static uint src_offset = gstsharp_gst_event_get_src_offset ();
|
||||
|
|
|
@ -25,10 +25,10 @@ public ulong Timestamp {
|
|||
[DllImport ("gstreamersharpglue-0.10.dll") ]
|
||||
extern static uint gstsharp_gst_message_get_src_offset ();
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
extern static IntPtr g_object_ref (IntPtr handle);
|
||||
|
||||
[DllImport ("libgobject-2.0.dll") ]
|
||||
[DllImport ("libgobject-2.0-0.dll") ]
|
||||
extern static void g_object_unref (IntPtr handle);
|
||||
|
||||
static uint src_offset = gstsharp_gst_message_get_src_offset ();
|
||||
|
|
Loading…
Reference in a new issue