[zeromq-dev] [zproject] What is the model for int64_t
Michal Vyskocil
michal.vyskocil at gmail.com
Tue Jan 12 10:39:41 CET 2016
Hi
The time type in zproject maps to time_t.
I will skip the zclock for now ...
Dne 12. 1. 2016 10:05 AM napsal uživatel "Pieter Hintjens" <ph at imatix.com>:
> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160112/15aea983/attachment.htm>
More information about the zeromq-dev
mailing list