@@ -43,7 +43,7 @@ cdef class DNSQuestion(DNSEntry):
4343cdef class DNSRecord(DNSEntry):
4444
4545 cdef public cython.float ttl
46- cdef public cython.float created
46+ cdef public double created
4747
4848 cdef bint _suppressed_by_answer(self , DNSRecord answer)
4949
@@ -52,19 +52,19 @@ cdef class DNSRecord(DNSEntry):
5252 )
5353 cpdef bint suppressed_by(self , object msg)
5454
55- cpdef get_remaining_ttl(self , cython.float now)
55+ cpdef get_remaining_ttl(self , double now)
5656
57- cpdef get_expiration_time(self , cython.uint percent)
57+ cpdef double get_expiration_time(self , cython.uint percent)
5858
59- cpdef bint is_expired(self , cython.float now)
59+ cpdef bint is_expired(self , double now)
6060
61- cpdef bint is_stale(self , cython.float now)
61+ cpdef bint is_stale(self , double now)
6262
63- cpdef bint is_recent(self , cython.float now)
63+ cpdef bint is_recent(self , double now)
6464
6565 cpdef reset_ttl(self , DNSRecord other)
6666
67- cpdef set_created_ttl(self , cython.float now, cython.float ttl)
67+ cpdef set_created_ttl(self , double now, cython.float ttl)
6868
6969cdef class DNSAddress(DNSRecord):
7070
0 commit comments