Commit b3d7dfa7 authored by Andreas Schmidt's avatar Andreas Schmidt

Fix binding.

parent 9dbc32dc
Pipeline #803 passed with stages
in 57 seconds
......@@ -117,6 +117,7 @@ cdef extern from "proto/socket.h":
int PrrtSocket_connect(PrrtSocket *sock_ptr, const_char *host, const uint16_t port)
int PrrtSocket_send(PrrtSocket *sock_ptr, const uint8_t *data, const size_t data_len)
int32_t PrrtSocket_recv(PrrtSocket *sock_ptr, void *buf_ptr) nogil
bint PrrtSocket_set_sock_opt(PrrtSocket *sock_ptr, const_char *name, const uint32_t value)
cdef extern from "util/bptree.h":
ctypedef struct BPTreeNode:
......
......@@ -79,7 +79,7 @@ cdef class PrrtSocket:
return self._targetDelay
@target_delay.setter
def target_delay(self, value)
def target_delay(self, value):
self._targetDelay = value
cprrt.PrrtSocket_set_sock_opt(self._c_socket, "targetdelay", value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment