kopia lustrzana https://github.com/cirospaciari/socketify.py
moved uv.py
rodzic
c58d2e8382
commit
960e22da15
|
@ -4,7 +4,7 @@ import threading
|
|||
import time
|
||||
from queue import Queue
|
||||
|
||||
from .native import UVLoop
|
||||
from .uv import UVLoop
|
||||
|
||||
|
||||
def future_handler(future, loop, exception_handler, response):
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
from .uv import UVLoop
|
|
@ -54,7 +54,7 @@ void socketify_timer_set_repeat(socketify_timer* timer, uint64_t repeat);
|
|||
socketify_timer* socketify_create_check(socketify_loop* loop, socketify_timer_handler handler, void* user_data);
|
||||
void socketify_check_destroy(socketify_timer* timer);
|
||||
""")
|
||||
library_path = os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "libsocketify.so"))
|
||||
library_path = os.path.join(os.path.dirname(__file__), "libsocketify.so")
|
||||
|
||||
lib = ffi.dlopen(library_path)
|
||||
|
Ładowanie…
Reference in New Issue