Skip to content

Commit caa71a9

Browse files
committed
fix: add some more types
1 parent d653ceb commit caa71a9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/zeroconf/_dns.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ cdef class DNSRecord(DNSEntry):
6969
cdef class DNSAddress(DNSRecord):
7070

7171
cdef public cython.int _hash
72-
cdef public object address
72+
cdef public bytes address
7373
cdef public object scope_id
7474

7575
cdef bint _eq(self, DNSAddress other)

src/zeroconf/_protocol/outgoing.pxd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ cdef class DNSOutgoing:
109109

110110
cpdef write_string(self, cython.bytes value)
111111

112+
cpdef write_character_string(self, cython.bytes value)
113+
112114
@cython.locals(utfstr=bytes)
113115
cpdef _write_utf(self, cython.str value)
114116

0 commit comments

Comments
 (0)