Advertisement
Guest User

Untitled

a guest
Jan 13th, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. diff --git a/python/extras_pmt.py b/python/extras_pmt.py
  2. index 84bec80..e71b4d5 100644
  3. --- a/python/extras_pmt.py
  4. +++ b/python/extras_pmt.py
  5. @@ -45,7 +45,7 @@ def __pointer_to_ndarray(addr, nitems):
  6.  
  7. #re-create the blob data functions, but yield a numpy array instead
  8. def pmt_blob_data(blob):
  9. - return __pointer_to_ndarray(extras_swig.pmt_blob_rw_data(blob), extras_swig.pmt_blob_length(blob))
  10. + return __pointer_to_ndarray(extras_swig.pmt_blob_rw_data(blob), pmt.pmt_blob_length(blob))
  11.  
  12. #re-create mgr acquire by calling into python GIL-safe version
  13. class pmt_mgr:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement