X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=proto.h;h=bba7e3f36a33b37501855f7003ff405f20e08de1;hb=76e107d68c010ee3aaede5a1eec2893f82062184;hp=f993d605d2946942d6f708e2d940a6f1a990f4f5;hpb=d00088ca6daf91270f8c2f063167eedf2644bb8f;p=libsigrok.git diff --git a/proto.h b/proto.h index f993d605..bba7e3f3 100644 --- a/proto.h +++ b/proto.h @@ -128,8 +128,8 @@ SR_API char **sr_parse_triggerstring(const struct sr_dev_inst *sdi, SR_API int sr_parse_sizestring(const char *sizestring, uint64_t *size); SR_API uint64_t sr_parse_timestring(const char *timestring); SR_API gboolean sr_parse_boolstring(const char *boolstring); -SR_API int sr_parse_period(const char *periodstr, struct sr_rational *r); -SR_API int sr_parse_voltage(const char *voltstr, struct sr_rational *r); +SR_API int sr_parse_period(const char *periodstr, uint64_t *p, uint64_t *q); +SR_API int sr_parse_voltage(const char *voltstr, uint64_t *p, uint64_t *q); /*--- version.c -------------------------------------------------------------*/