函数

GPIOPollableSourceFunc

自:2.28

声明

gboolean
(* GPollableSourceFunc) (
  GObject* pollable_stream,
  gpointer data
)

描述 [src]

这是由g_pollable_input_stream_create_source()和g_pollable_output_stream_create_source()生成的GSource回调函数的函数类型。

自:2.28

参数

pollable_stream

类型: GObject

GPollableInputStreamGPollableOutputStream

数据由函数的调用者拥有。
data

类型: gpointer

用户传入的数据。

参数可以NULL
数据由函数的调用者拥有。

返回值

类型: gboolean

如果源应该被移除,则应返回FALSE