]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h.in
sr: out: Use uint8_t (not char) for buffers.
[libsigrok.git] / sigrok.h.in
index 2a7d976295b9dc87b2a12a0c790baa5790b42809..adde2da337b38ba6241da2b733af652e7dfaf224 100644 (file)
@@ -186,9 +186,10 @@ struct sr_output_format {
        char *description;
        int df_type;
        int (*init) (struct sr_output *o);
-       int (*data) (struct sr_output *o, const char *data_in,
-                    uint64_t length_in, char **data_out, uint64_t *length_out);
-       int (*event) (struct sr_output *o, int event_type, char **data_out,
+       int (*data) (struct sr_output *o, const uint8_t *data_in,
+                    uint64_t length_in, uint8_t **data_out,
+                    uint64_t *length_out);
+       int (*event) (struct sr_output *o, int event_type, uint8_t **data_out,
                      uint64_t *length_out);
 };