示例#1
0
 public static extern unsafe void g_list_free_full(GList *list, GDestroyNotify free_func);
示例#2
0
 public static extern unsafe GHashTable *g_hash_table_new_full(
     GHashFunc hash_func,
     GEqualFunc key_equal_func,
     GDestroyNotify key_destroy_func,
     GDestroyNotify value_destroy_func);
示例#3
0
 public static extern GInputStreamPtr g_memory_input_stream_new_from_data(VoidPtr data, gssize len, GDestroyNotify destroy);
示例#4
0
文件: Events.cs 项目: kangaroo/moon
		public static int AddHandler (IntPtr raw, int eventId, UnmanagedEventHandler handler, GDestroyNotify data_dtor)
		{
			return NativeMethods.event_object_add_handler (raw, eventId, handler, raw, data_dtor, false);
		}
示例#5
0
文件: Events.cs 项目: kangaroo/moon
		public static int AddHandler (INativeEventObjectWrapper obj, int eventId, UnmanagedEventHandler handler, GDestroyNotify dtor_action)
		{
			return AddHandler (obj.NativeHandle, eventId, handler, dtor_action);
		}
示例#6
0
 public static extern void g_slist_free_full(IntPtr list, GDestroyNotify freeFunc);