Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
burivuh authored and vicpopov committed Oct 9, 2019
1 parent de1f538 commit 6322cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/pyaloha/ccode.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __dumpdict__(self):
}


CCALLBACK = ctypes.CFUNCTYPE(
RAW_UID_CCALLBACK = ctypes.CFUNCTYPE(
None,
ctypes.c_char_p,
ctypes.POINTER(CEVENTTIME),
Expand Down Expand Up @@ -182,7 +182,7 @@ def iterate_events(stream_processor, events_limit,
))
keylist_type = ctypes.c_char_p * len(use_keys)

callback = CCALLBACK
callback = RAW_UID_CCALLBACK
if uid_format is UidFormat.PYLONG:
callback = COMPRESSED_UID_CCALLBACK

Expand Down

0 comments on commit 6322cc0

Please sign in to comment.