~ubuntu-branches/ubuntu/trusty/h5py/trusty-proposed

« back to all changes in this revision

Viewing changes to h5py/_proxy.pyx

  • Committer: Package Import Robot
  • Author(s): Soeren Sonnenburg
  • Date: 2011-10-12 12:47:45 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: package-import@ubuntu.com-20111012124745-vj0w8zil1zrt26vo
Tags: 2.0.1-1
* New upstream version.
* Remove h5py_config.pickle created on
  python setup.py clean (Closes: #643152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
            else:
141
141
                need_bkg = needs_bkg_buffer(mtype, dstype)
142
142
            if need_bkg:
143
 
                back_buf = malloc(H5Tget_size(mtype)*npoints)
 
143
                back_buf = create_buffer(H5Tget_size(dstype), H5Tget_size(mtype), npoints)
144
144
                h5py_copy(mtype, mspace, back_buf, progbuf, H5PY_GATHER)
145
145
 
146
146
            if read: