[h5py] 16/26: Fix _global_ids import and some autofunc entries

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:20:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.1
in repository h5py.

commit e8ff4ce9ec361b0b34e0b6a1ec4aab11e8c73fa1
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Fri Nov 26 17:23:16 2010 +0000

    Fix _global_ids import and some autofunc entries
---
 h5py/auto_functions.txt | 9 +++------
 h5py/h5.pyx             | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/h5py/auto_functions.txt b/h5py/auto_functions.txt
index c494a11..c80d4d2 100644
--- a/h5py/auto_functions.txt
+++ b/h5py/auto_functions.txt
@@ -390,10 +390,8 @@
   H5T_sign_t    H5Tget_sign(hid_t type_id)
   herr_t        H5Tset_sign(hid_t type_id, H5T_sign_t sign)
 
-  herr_t        H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, 
-                                size_t *esize, size_t *mpos, size_t *msize )
-  herr_t        H5Tset_fields(hid_t type_id, size_t spos, size_t epos, 
-                                size_t esize, size_t mpos, size_t msize )
+  herr_t        H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize )
+  herr_t        H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize )
 
   size_t        H5Tget_ebias(hid_t type_id)
   herr_t        H5Tset_ebias(hid_t type_id, size_t ebias)
@@ -441,8 +439,7 @@
     hid_t H5Tdecode(unsigned char *buf)
     herr_t H5Tencode(hid_t obj_id, unsigned char *buf, size_t *nalloc)
 
-    herr_t H5Tcommit2(hid_t loc_id, char *name, hid_t dtype_id, hid_t lcpl_id,
-            hid_t tcpl_id, hid_t tapl_id) 
+    herr_t H5Tcommit2(hid_t loc_id, char *name, hid_t dtype_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id) 
 
   H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
 
diff --git a/h5py/h5.pyx b/h5py/h5.pyx
index 96f740f..572d830 100644
--- a/h5py/h5.pyx
+++ b/h5py/h5.pyx
@@ -166,7 +166,7 @@ cpdef H5PYConfig get_config():
 # === Public C API for object identifiers =====================================
 
 import weakref
-cdef object _global_ids = weakref.WeakValueDictionary()
+_global_ids = weakref.WeakValueDictionary()
 
 cdef class IDProxy:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list