[zeromq-dev] [zproject] What is the model for int64_t
Pieter Hintjens
ph at imatix.com
Tue Jan 12 10:04:14 CET 2016
I think zclock's API is poorly designed here; signed ints make no
sense for time. It should be number/8, uint64_t. However, breaking the
API isn't allowed. We can add support for a "time" type in zproject,
which maps to int64_t.
On Tue, Jan 12, 2016 at 8:44 AM, Michal Vyskocil
<michal.vyskocil at gmail.com> wrote:
> Hi,
>
>
> In zclock class return values are int64_t, where I did not find
> respective model in zproject's API model. Can someone suggest a way
> how to deal with signed integers?
>
> Given the nature of zclock I tried to map it to time type, however
> this translates back to time_t, which is long int only, thus this will
> break API/ABI of zclock.
>
>
> --
> best regards
> Michal Vyskocil
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list