X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsession.c;h=5e48f4a5aeee5b1aafaf5ea1e2d595d407f6a2c0;hb=3ff6cfeebe15f0122499c6524e102d8462bc5752;hp=0940617c12582076376a1999cd1ccc50e2464d03;hpb=965261008009e41e9f89efe416ed1ae5d23aadaf;p=libsigrok.git diff --git a/src/session.c b/src/session.c index 0940617c..5e48f4a5 100644 --- a/src/session.c +++ b/src/session.c @@ -53,7 +53,6 @@ struct datafeed_callback { /** Custom GLib event source for generic descriptor I/O. * @see https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html - * @internal */ struct fd_source { GSource base; @@ -158,7 +157,9 @@ static void fd_source_finalize(GSource *source) * @param session The session the event source belongs to. * @param key The key used to identify this source. * @param fd The file descriptor or HANDLE. + * @param events Events. * @param timeout_ms The timeout interval in ms, or -1 to wait indefinitely. + * * @return A new event source object, or NULL on failure. */ static GSource *fd_source_new(struct sr_session *session, void *key,