~ubuntu-branches/ubuntu/precise/h5py/precise

« back to all changes in this revision

Viewing changes to h5py/h5.pxd

  • Committer: Bazaar Package Importer
  • Author(s): Soeren Sonnenburg
  • Date: 2010-03-23 15:38:34 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100323153834-ysfm9nsr8gdnkid3
Tags: 1.3.0-1
* New upstream version.
  - Remove quilt patches.
  - Bump standards version to 3.8.4 (no changes required).
  - Switch to dpkg-source 3.0 (quilt) format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
include "defs.pxd"
14
14
 
15
 
cdef class PHIL:
16
 
 
17
 
    cdef object lock
18
 
 
19
 
    cpdef bint __enter__(self) except -1
20
 
    cpdef bint __exit__(self, a, b, c) except -1
21
 
    cpdef bint acquire(self, int blocking=*) except -1
22
 
    cpdef bint release(self) except -1
23
 
 
24
 
cpdef PHIL get_phil()
25
 
 
26
15
cdef class H5PYConfig:
27
16
 
28
17
    cdef object _r_name
50
39
# Library init.  Safe to call more than once.
51
40
cdef int init_hdf5() except -1
52
41
 
53
 
cdef extern from "typeconv.h":
54
 
 
55
 
    hid_t h5py_object_type() except *
56
 
    int h5py_register_conv() except -1
57
 
 
58
 
cdef extern from "typeproxy.h":
59
 
    ctypedef enum h5py_rw_t:
60
 
        H5PY_WRITE = 0,
61
 
        H5PY_READ
62
 
 
63
 
    herr_t H5PY_dset_rw(hid_t dset, hid_t mtype, hid_t mspace_in, hid_t fspace_in,
64
 
                   hid_t xfer_plist, void* buf, h5py_rw_t dir) except *
65
 
 
66
 
    herr_t H5PY_attr_rw(hid_t attr, hid_t mtype, void* buf, h5py_rw_t dir) except *
67
 
 
68
 
cdef hid_t get_object_type() except -1
69
 
 
70
 
cdef herr_t attr_rw(hid_t attr_id, hid_t mem_type_id, void *buf, h5py_rw_t dir) except *
71
 
 
72
 
cdef herr_t dset_rw(hid_t dataset_id, hid_t mem_type_id, hid_t mem_space_id, 
73
 
                  hid_t file_space_id, hid_t xfer_plist_id, void *outbuf,
74
 
                  h5py_rw_t dir) except *
75
42
 
76
43