aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pymba/vimbadll.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pymba/vimbadll.py b/pymba/vimbadll.py
index a95c7ba..09984f0 100644
--- a/pymba/vimbadll.py
+++ b/pymba/vimbadll.py
@@ -301,6 +301,10 @@ class VimbaDLL(object):
POINTER(structs.VimbaFrame),
c_uint32) # size of frame
+ # callback for frame queue
+ frameDoneCallback = CFUNCTYPE(c_void_p, # camera handle
+ POINTER(structs.VimbaFrame)) # pointer to frame
+
# revoke a frame from the API
frameRevoke = _vimbaDLL.VmbFrameRevoke
frameRevoke.restype = c_int32