Skip to content

Commit 6322cc0

Browse files
burivuhvicpopov
burivuh
authored andcommitted
review fixes
1 parent de1f538 commit 6322cc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/pyaloha/ccode.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def __dumpdict__(self):
146146
}
147147

148148

149-
CCALLBACK = ctypes.CFUNCTYPE(
149+
RAW_UID_CCALLBACK = ctypes.CFUNCTYPE(
150150
None,
151151
ctypes.c_char_p,
152152
ctypes.POINTER(CEVENTTIME),
@@ -182,7 +182,7 @@ def iterate_events(stream_processor, events_limit,
182182
))
183183
keylist_type = ctypes.c_char_p * len(use_keys)
184184

185-
callback = CCALLBACK
185+
callback = RAW_UID_CCALLBACK
186186
if uid_format is UidFormat.PYLONG:
187187
callback = COMPRESSED_UID_CCALLBACK
188188

0 commit comments

Comments
 (0)