Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fdb/ibase.py
Original file line number Diff line number Diff line change
Expand Up @@ -2188,6 +2188,15 @@ def get_key(key, sub_key):
#: C_isc_event_block(ISC_LONG, POINTER(POINTER(ISC_UCHAR)), POINTER(POINTER(ISC_UCHAR)), ISC_USHORT)
self.C_isc_event_block = self.P_isc_event_block(('isc_event_block', fb_library))
self.P_isc_event_block_args = self.C_isc_event_block.argtypes
#: fb_shutdown_callback(POINTER(ISC_STATUS), FB_SHUTDOWN_CALLBACK, c_int, c_void_p)
self.fb_shutdown_callback = fb_library.fb_shutdown_callback
self.fb_shutdown_callback.restype = ISC_STATUS
self.fb_shutdown_callback.argtypes = [POINTER(ISC_STATUS), FB_SHUTDOWN_CALLBACK,
c_int, c_void_p]
#: fb_shutdown(c_int, c_uint, c_int)
self.fb_shutdown = fb_library.fb_shutdown
self.fb_shutdown.restype = c_int
self.fb_shutdown.argtypes = [c_uint, c_int]

def isc_event_block(self, event_buffer, result_buffer, *args):
"Injects variable number of parameters into C_isc_event_block call"
Expand Down