[bind10-dev] IntElement type
Danny Mayer
mayer at pdmconsulting.net
Wed Jul 3 13:03:15 UTC 2013
On 7/3/2013 6:18 AM, fujiwara at jprs.co.jp wrote:
> In trac3015 branch, I implemented and tested.
>
> [3015] Type of IntElement is changed from long int to int64_t.
> Element::create() accepts char, short, int, long, long long, int32_t and int64_t.
> IntElement->intValue() returns int64_t.
> IntElement->getValue() and IntElement->setValue() accept int64_t only.
>
> However, strtoint64_t function does not exist.
> It is assumed that "long long" and int64_t are the same sizes.
> strtoll is used to convert string to integer.
>
> Is it acceptable ?
>
I recommend creating a strtoint64_t function for consistency.
Danny
> Regards,
>
> --
> Kazunori Fujiwara, JPRS <fujiwara at jprs.co.jp>
>
>
More information about the bind10-dev
mailing list