diff options
| author | morefigs <morefigs@gmail.com> | 2015-02-25 13:16:46 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2015-02-25 13:16:46 +1100 |
| commit | 6497ba104b78686ee091ae4877255f7f78868645 (patch) | |
| tree | d3d5a0422e5e10401903a0c104f5cc55e1b4e381 | |
| parent | 262aa7ffa858d9e4ec54fe0947b795dcd3f744af (diff) | |
| download | pymba-6497ba104b78686ee091ae4877255f7f78868645.tar.gz pymba-6497ba104b78686ee091ae4877255f7f78868645.zip | |
Added callback function type
| -rw-r--r-- | pymba/vimbadll.py | 4 |
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 |
