capture: use uint for requested counter id

Also document this thing so it is more obvious what is going on with the
resulting counter ranges.
This commit is contained in:
Christian Hergert
2018-05-17 12:19:54 +01:00
parent 2282e90165
commit 3d14ce4eaa
2 changed files with 18 additions and 2 deletions

View File

@ -106,7 +106,7 @@ gboolean sp_capture_writer_flush (SpCaptureWriter *
gboolean sp_capture_writer_save_as (SpCaptureWriter *self,
const gchar *filename,
GError **error);
gint sp_capture_writer_request_counter (SpCaptureWriter *self,
guint sp_capture_writer_request_counter (SpCaptureWriter *self,
guint n_counters);
SpCaptureReader *sp_capture_writer_create_reader (SpCaptureWriter *self,
GError **error);