~ubuntu-branches/debian/experimental/h5py/experimental

« back to all changes in this revision

Viewing changes to h5py/h5p.c

  • Committer: Bazaar Package Importer
  • Author(s): Soeren Sonnenburg
  • Date: 2009-09-24 11:08:03 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090924110803-hz0en6f43x8opgj4
Tags: 1.2.1-2
Build-depend on hdf5 >= 1.8.3 and enable api 1.8 (Closes: #548049)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by Cython 0.11.2 on Mon Aug 31 11:03:15 2009 */
 
2
 
 
3
#define PY_SSIZE_T_CLEAN
 
4
#include "Python.h"
 
5
#include "structmember.h"
 
6
#ifndef Py_PYTHON_H
 
7
    #error Python headers needed to compile C extensions, please install development version of Python.
 
8
#endif
 
9
#ifndef PY_LONG_LONG
 
10
  #define PY_LONG_LONG LONG_LONG
 
11
#endif
 
12
#ifndef DL_EXPORT
 
13
  #define DL_EXPORT(t) t
 
14
#endif
 
15
#if PY_VERSION_HEX < 0x02040000
 
16
  #define METH_COEXIST 0
 
17
  #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
 
18
#endif
 
19
#if PY_VERSION_HEX < 0x02050000
 
20
  typedef int Py_ssize_t;
 
21
  #define PY_SSIZE_T_MAX INT_MAX
 
22
  #define PY_SSIZE_T_MIN INT_MIN
 
23
  #define PY_FORMAT_SIZE_T ""
 
24
  #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
 
25
  #define PyInt_AsSsize_t(o)   PyInt_AsLong(o)
 
26
  #define PyNumber_Index(o)    PyNumber_Int(o)
 
27
  #define PyIndex_Check(o)     PyNumber_Check(o)
 
28
#endif
 
29
#if PY_VERSION_HEX < 0x02060000
 
30
  #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
 
31
  #define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)
 
32
  #define Py_SIZE(ob)   (((PyVarObject*)(ob))->ob_size)
 
33
  #define PyVarObject_HEAD_INIT(type, size) \
 
34
          PyObject_HEAD_INIT(type) size,
 
35
  #define PyType_Modified(t)
 
36
 
 
37
  typedef struct {
 
38
       void *buf;
 
39
       PyObject *obj;
 
40
       Py_ssize_t len;
 
41
       Py_ssize_t itemsize;
 
42
       int readonly;
 
43
       int ndim;
 
44
       char *format;
 
45
       Py_ssize_t *shape;
 
46
       Py_ssize_t *strides;
 
47
       Py_ssize_t *suboffsets;
 
48
       void *internal;
 
49
  } Py_buffer;
 
50
 
 
51
  #define PyBUF_SIMPLE 0
 
52
  #define PyBUF_WRITABLE 0x0001
 
53
  #define PyBUF_FORMAT 0x0004
 
54
  #define PyBUF_ND 0x0008
 
55
  #define PyBUF_STRIDES (0x0010 | PyBUF_ND)
 
56
  #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
 
57
  #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
 
58
  #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
 
59
  #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
 
60
 
 
61
#endif
 
62
#if PY_MAJOR_VERSION < 3
 
63
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
 
64
#else
 
65
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
 
66
#endif
 
67
#if PY_MAJOR_VERSION >= 3
 
68
  #define Py_TPFLAGS_CHECKTYPES 0
 
69
  #define Py_TPFLAGS_HAVE_INDEX 0
 
70
#endif
 
71
#if (PY_VERSION_HEX < 0x02060000) || (PY_MAJOR_VERSION >= 3)
 
72
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
 
73
#endif
 
74
#if PY_MAJOR_VERSION >= 3
 
75
  #define PyBaseString_Type            PyUnicode_Type
 
76
  #define PyString_Type                PyBytes_Type
 
77
  #define PyString_CheckExact          PyBytes_CheckExact
 
78
  #define PyInt_Type                   PyLong_Type
 
79
  #define PyInt_Check(op)              PyLong_Check(op)
 
80
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
 
81
  #define PyInt_FromString             PyLong_FromString
 
82
  #define PyInt_FromUnicode            PyLong_FromUnicode
 
83
  #define PyInt_FromLong               PyLong_FromLong
 
84
  #define PyInt_FromSize_t             PyLong_FromSize_t
 
85
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
 
86
  #define PyInt_AsLong                 PyLong_AsLong
 
87
  #define PyInt_AS_LONG                PyLong_AS_LONG
 
88
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
 
89
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
 
90
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
 
91
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
 
92
#else
 
93
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
 
94
  #define PyBytes_Type                 PyString_Type
 
95
#endif
 
96
#if PY_MAJOR_VERSION >= 3
 
97
  #define PyMethod_New(func, self, klass) PyInstanceMethod_New(func)
 
98
#endif
 
99
#if !defined(WIN32) && !defined(MS_WINDOWS)
 
100
  #ifndef __stdcall
 
101
    #define __stdcall
 
102
  #endif
 
103
  #ifndef __cdecl
 
104
    #define __cdecl
 
105
  #endif
 
106
  #ifndef __fastcall
 
107
    #define __fastcall
 
108
  #endif
 
109
#else
 
110
  #define _USE_MATH_DEFINES
 
111
#endif
 
112
#if PY_VERSION_HEX < 0x02050000
 
113
  #define __Pyx_GetAttrString(o,n)   PyObject_GetAttrString((o),((char *)(n)))
 
114
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a))
 
115
  #define __Pyx_DelAttrString(o,n)   PyObject_DelAttrString((o),((char *)(n)))
 
116
#else
 
117
  #define __Pyx_GetAttrString(o,n)   PyObject_GetAttrString((o),(n))
 
118
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a))
 
119
  #define __Pyx_DelAttrString(o,n)   PyObject_DelAttrString((o),(n))
 
120
#endif
 
121
#if PY_VERSION_HEX < 0x02050000
 
122
  #define __Pyx_NAMESTR(n) ((char *)(n))
 
123
  #define __Pyx_DOCSTR(n)  ((char *)(n))
 
124
#else
 
125
  #define __Pyx_NAMESTR(n) (n)
 
126
  #define __Pyx_DOCSTR(n)  (n)
 
127
#endif
 
128
#ifdef __cplusplus
 
129
#define __PYX_EXTERN_C extern "C"
 
130
#else
 
131
#define __PYX_EXTERN_C extern
 
132
#endif
 
133
#include <math.h>
 
134
#define __PYX_HAVE_API__h5py__h5p
 
135
#include "stdlib.h"
 
136
#include "string.h"
 
137
#include "time.h"
 
138
#include "unistd.h"
 
139
#include "stdint.h"
 
140
#include "compat.h"
 
141
#include "lzf_filter.h"
 
142
#include "hdf5.h"
 
143
#include "typeconv.h"
 
144
#include "typeproxy.h"
 
145
#include "numpy/arrayobject.h"
 
146
#define __PYX_USE_C99_COMPLEX defined(_Complex_I)
 
147
 
 
148
 
 
149
#ifdef __GNUC__
 
150
#define INLINE __inline__
 
151
#elif _WIN32
 
152
#define INLINE __inline
 
153
#else
 
154
#define INLINE 
 
155
#endif
 
156
 
 
157
typedef struct {PyObject **p; char *s; long n; char is_unicode; char intern; char is_identifier;} __Pyx_StringTabEntry; /*proto*/
 
158
 
 
159
 
 
160
 
 
161
static int __pyx_skip_dispatch = 0;
 
162
 
 
163
 
 
164
/* Type Conversion Predeclarations */
 
165
 
 
166
#if PY_MAJOR_VERSION < 3
 
167
#define __Pyx_PyBytes_FromString          PyString_FromString
 
168
#define __Pyx_PyBytes_FromStringAndSize   PyString_FromStringAndSize
 
169
#define __Pyx_PyBytes_AsString            PyString_AsString
 
170
#else
 
171
#define __Pyx_PyBytes_FromString          PyBytes_FromString
 
172
#define __Pyx_PyBytes_FromStringAndSize   PyBytes_FromStringAndSize
 
173
#define __Pyx_PyBytes_AsString            PyBytes_AsString
 
174
#endif
 
175
 
 
176
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
 
177
static INLINE int __Pyx_PyObject_IsTrue(PyObject*);
 
178
static INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
 
179
 
 
180
#if !defined(T_PYSSIZET)
 
181
#if PY_VERSION_HEX < 0x02050000
 
182
#define T_PYSSIZET T_INT
 
183
#elif !defined(T_LONGLONG)
 
184
#define T_PYSSIZET \
 
185
        ((sizeof(Py_ssize_t) == sizeof(int))  ? T_INT  : \
 
186
        ((sizeof(Py_ssize_t) == sizeof(long)) ? T_LONG : -1))
 
187
#else
 
188
#define T_PYSSIZET \
 
189
        ((sizeof(Py_ssize_t) == sizeof(int))          ? T_INT      : \
 
190
        ((sizeof(Py_ssize_t) == sizeof(long))         ? T_LONG     : \
 
191
        ((sizeof(Py_ssize_t) == sizeof(PY_LONG_LONG)) ? T_LONGLONG : -1)))
 
192
#endif
 
193
#endif
 
194
 
 
195
#if !defined(T_SIZET)
 
196
#if !defined(T_ULONGLONG)
 
197
#define T_SIZET \
 
198
        ((sizeof(size_t) == sizeof(unsigned int))  ? T_UINT  : \
 
199
        ((sizeof(size_t) == sizeof(unsigned long)) ? T_ULONG : -1))
 
200
#else
 
201
#define T_SIZET \
 
202
        ((sizeof(size_t) == sizeof(unsigned int))          ? T_UINT      : \
 
203
        ((sizeof(size_t) == sizeof(unsigned long))         ? T_ULONG     : \
 
204
        ((sizeof(size_t) == sizeof(unsigned PY_LONG_LONG)) ? T_ULONGLONG : -1)))
 
205
#endif
 
206
#endif
 
207
 
 
208
static INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
 
209
static INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
 
210
static INLINE size_t __Pyx_PyInt_AsSize_t(PyObject*);
 
211
 
 
212
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
 
213
 
 
214
 
 
215
#ifdef __GNUC__
 
216
/* Test for GCC > 2.95 */
 
217
#if __GNUC__ > 2 ||               (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)) 
 
218
#define likely(x)   __builtin_expect(!!(x), 1)
 
219
#define unlikely(x) __builtin_expect(!!(x), 0)
 
220
#else /* __GNUC__ > 2 ... */
 
221
#define likely(x)   (x)
 
222
#define unlikely(x) (x)
 
223
#endif /* __GNUC__ > 2 ... */
 
224
#else /* __GNUC__ */
 
225
#define likely(x)   (x)
 
226
#define unlikely(x) (x)
 
227
#endif /* __GNUC__ */
 
228
    
 
229
static PyObject *__pyx_m;
 
230
static PyObject *__pyx_b;
 
231
static PyObject *__pyx_empty_tuple;
 
232
static int __pyx_lineno;
 
233
static int __pyx_clineno = 0;
 
234
static const char * __pyx_cfilenm= __FILE__;
 
235
static const char *__pyx_filename;
 
236
static const char **__pyx_f;
 
237
 
 
238
 
 
239
#ifdef CYTHON_REFNANNY
 
240
typedef struct {
 
241
  void (*INCREF)(void*, PyObject*, int);
 
242
  void (*DECREF)(void*, PyObject*, int);
 
243
  void (*GOTREF)(void*, PyObject*, int);
 
244
  void (*GIVEREF)(void*, PyObject*, int);
 
245
  void* (*NewContext)(const char*, int, const char*);
 
246
  void (*FinishContext)(void**);
 
247
} __Pyx_RefnannyAPIStruct;
 
248
static __Pyx_RefnannyAPIStruct *__Pyx_Refnanny = NULL;
 
249
#define __Pyx_ImportRefcountAPI(name)   (__Pyx_RefnannyAPIStruct *) PyCObject_Import((char *)name, (char *)"RefnannyAPI")
 
250
#define __Pyx_INCREF(r) __Pyx_Refnanny->INCREF(__pyx_refchk, (PyObject *)(r), __LINE__)
 
251
#define __Pyx_DECREF(r) __Pyx_Refnanny->DECREF(__pyx_refchk, (PyObject *)(r), __LINE__)
 
252
#define __Pyx_GOTREF(r) __Pyx_Refnanny->GOTREF(__pyx_refchk, (PyObject *)(r), __LINE__)
 
253
#define __Pyx_GIVEREF(r) __Pyx_Refnanny->GIVEREF(__pyx_refchk, (PyObject *)(r), __LINE__)
 
254
#define __Pyx_XDECREF(r) if((r) == NULL) ; else __Pyx_DECREF(r)
 
255
#define __Pyx_SetupRefcountContext(name)   void* __pyx_refchk = __Pyx_Refnanny->NewContext((name), __LINE__, __FILE__)
 
256
#define __Pyx_FinishRefcountContext()   __Pyx_Refnanny->FinishContext(&__pyx_refchk)
 
257
#else
 
258
#define __Pyx_INCREF(r) Py_INCREF(r)
 
259
#define __Pyx_DECREF(r) Py_DECREF(r)
 
260
#define __Pyx_GOTREF(r)
 
261
#define __Pyx_GIVEREF(r)
 
262
#define __Pyx_XDECREF(r) Py_XDECREF(r)
 
263
#define __Pyx_SetupRefcountContext(name)
 
264
#define __Pyx_FinishRefcountContext()
 
265
#endif /* CYTHON_REFNANNY */
 
266
#define __Pyx_XGIVEREF(r) if((r) == NULL) ; else __Pyx_GIVEREF(r)
 
267
#define __Pyx_XGOTREF(r) if((r) == NULL) ; else __Pyx_GOTREF(r)
 
268
 
 
269
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
270
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
271
 
 
272
static int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
 
273
 
 
274
static void __Pyx_RaiseDoubleKeywordsError(
 
275
    const char* func_name, PyObject* kw_name); /*proto*/
 
276
 
 
277
static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
 
278
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/
 
279
 
 
280
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,     const char* function_name); /*proto*/
 
281
 
 
282
 
 
283
static INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
 
284
    PyObject *r;
 
285
    if (!j) return NULL;
 
286
    r = PyObject_GetItem(o, j);
 
287
    Py_DECREF(j);
 
288
    return r;
 
289
}
 
290
 
 
291
 
 
292
#define __Pyx_GetItemInt_List(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
293
                                                    __Pyx_GetItemInt_List_Fast(o, i, size <= sizeof(long)) : \
 
294
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
295
 
 
296
static INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
297
    if (likely(o != Py_None)) {
 
298
        if (likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
 
299
            PyObject *r = PyList_GET_ITEM(o, i);
 
300
            Py_INCREF(r);
 
301
            return r;
 
302
        }
 
303
        else if ((-PyList_GET_SIZE(o) <= i) & (i < 0)) {
 
304
            PyObject *r = PyList_GET_ITEM(o, PyList_GET_SIZE(o) + i);
 
305
            Py_INCREF(r);
 
306
            return r;
 
307
        }
 
308
    }
 
309
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
310
}
 
311
 
 
312
#define __Pyx_GetItemInt_Tuple(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
313
                                                    __Pyx_GetItemInt_Tuple_Fast(o, i, size <= sizeof(long)) : \
 
314
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
315
 
 
316
static INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
317
    if (likely(o != Py_None)) {
 
318
        if (likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
 
319
            PyObject *r = PyTuple_GET_ITEM(o, i);
 
320
            Py_INCREF(r);
 
321
            return r;
 
322
        }
 
323
        else if ((-PyTuple_GET_SIZE(o) <= i) & (i < 0)) {
 
324
            PyObject *r = PyTuple_GET_ITEM(o, PyTuple_GET_SIZE(o) + i);
 
325
            Py_INCREF(r);
 
326
            return r;
 
327
        }
 
328
    }
 
329
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
330
}
 
331
 
 
332
 
 
333
#define __Pyx_GetItemInt(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
334
                                                    __Pyx_GetItemInt_Fast(o, i, size <= sizeof(long)) : \
 
335
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
336
 
 
337
static INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
338
    PyObject *r;
 
339
    if (PyList_CheckExact(o) && ((0 <= i) & (i < PyList_GET_SIZE(o)))) {
 
340
        r = PyList_GET_ITEM(o, i);
 
341
        Py_INCREF(r);
 
342
    }
 
343
    else if (PyTuple_CheckExact(o) && ((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
 
344
        r = PyTuple_GET_ITEM(o, i);
 
345
        Py_INCREF(r);
 
346
    }
 
347
    else if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_item && (likely(i >= 0))) {
 
348
        r = PySequence_GetItem(o, i);
 
349
    }
 
350
    else {
 
351
        r = __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
352
    }
 
353
    return r;
 
354
}
 
355
 
 
356
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
 
357
    const char *name, int exact); /*proto*/
 
358
 
 
359
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/
 
360
 
 
361
static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
 
362
 
 
363
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
364
 
 
365
static INLINE int __Pyx_StrEq(const char *, const char *); /*proto*/
 
366
 
 
367
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
 
368
 
 
369
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
 
370
 
 
371
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
 
372
 
 
373
static INLINE char __Pyx_PyInt_AsChar(PyObject *);
 
374
 
 
375
static INLINE short __Pyx_PyInt_AsShort(PyObject *);
 
376
 
 
377
static INLINE int __Pyx_PyInt_AsInt(PyObject *);
 
378
 
 
379
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
 
380
 
 
381
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
 
382
 
 
383
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
 
384
 
 
385
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
 
386
 
 
387
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
 
388
 
 
389
static INLINE long __Pyx_PyInt_AsLong(PyObject *);
 
390
 
 
391
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
 
392
 
 
393
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
 
394
 
 
395
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
 
396
 
 
397
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig); /*proto*/
 
398
 
 
399
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, long size);  /*proto*/
 
400
 
 
401
static PyObject *__Pyx_ImportModule(const char *name); /*proto*/
 
402
 
 
403
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr); /*proto*/
 
404
 
 
405
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig); /*proto*/
 
406
 
 
407
static void __Pyx_AddTraceback(const char *funcname); /*proto*/
 
408
 
 
409
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
 
410
 
 
411
/* Type declarations */
 
412
 
 
413
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":21
 
414
 *     cpdef bint __enter__(self) except -1
 
415
 *     cpdef bint __exit__(self, a, b, c) except -1
 
416
 *     cpdef bint acquire(self, int blocking=*) except -1             # <<<<<<<<<<<<<<
 
417
 *     cpdef bint release(self) except -1
 
418
 * 
 
419
 */
 
420
 
 
421
struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire {
 
422
  int __pyx_n;
 
423
  int blocking;
 
424
};
 
425
 
 
426
/* "/home/tachyon/pydev/h5py/h5py/utils.pxd":20
 
427
 * cdef void efree(void* ptr)
 
428
 * 
 
429
 * cpdef int check_numpy_read(ndarray arr, hid_t space_id=*) except -1             # <<<<<<<<<<<<<<
 
430
 * cpdef int check_numpy_write(ndarray arr, hid_t space_id=*) except -1
 
431
 * 
 
432
 */
 
433
 
 
434
struct __pyx_opt_args_4h5py_5utils_check_numpy_read {
 
435
  int __pyx_n;
 
436
  hid_t space_id;
 
437
};
 
438
 
 
439
/* "/home/tachyon/pydev/h5py/h5py/utils.pxd":21
 
440
 * 
 
441
 * cpdef int check_numpy_read(ndarray arr, hid_t space_id=*) except -1
 
442
 * cpdef int check_numpy_write(ndarray arr, hid_t space_id=*) except -1             # <<<<<<<<<<<<<<
 
443
 * 
 
444
 * cdef int convert_tuple(object tuple, hsize_t *dims, hsize_t rank) except -1
 
445
 */
 
446
 
 
447
struct __pyx_opt_args_4h5py_5utils_check_numpy_write {
 
448
  int __pyx_n;
 
449
  hid_t space_id;
 
450
};
 
451
 
 
452
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":72
 
453
 * 
 
454
 * cdef TypeID typewrap(hid_t id_)
 
455
 * cpdef TypeID py_create(object dtype, bint logical=*)             # <<<<<<<<<<<<<<
 
456
 * 
 
457
 * 
 
458
 */
 
459
 
 
460
struct __pyx_opt_args_4h5py_3h5t_py_create {
 
461
  int __pyx_n;
 
462
  int logical;
 
463
};
 
464
 
 
465
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":39
 
466
 * cpdef H5PYConfig get_config()
 
467
 * 
 
468
 * cdef class ObjectID:             # <<<<<<<<<<<<<<
 
469
 * 
 
470
 *     cdef object __weakref__
 
471
 */
 
472
 
 
473
struct __pyx_obj_4h5py_2h5_ObjectID {
 
474
  PyObject_HEAD
 
475
  PyObject *__weakref__;
 
476
  hid_t id;
 
477
  int _locked;
 
478
  PyObject *_hash;
 
479
};
 
480
 
 
481
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":23
 
482
 * # --- Base classes ---
 
483
 * 
 
484
 * cdef class PropID(ObjectID):             # <<<<<<<<<<<<<<
 
485
 *     """ Base class for all property lists """
 
486
 *     pass
 
487
 */
 
488
 
 
489
struct __pyx_obj_4h5py_3h5p_PropID {
 
490
  struct __pyx_obj_4h5py_2h5_ObjectID __pyx_base;
 
491
};
 
492
 
 
493
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":33
 
494
 *     pass
 
495
 * 
 
496
 * cdef class PropInstanceID(PropID):             # <<<<<<<<<<<<<<
 
497
 *     """ Represents an instance of a property list class (i.e. an actual list
 
498
 *         which can be passed on to other API functions).
 
499
 */
 
500
 
 
501
struct __pyx_obj_4h5py_3h5p_PropInstanceID {
 
502
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
 
503
};
 
504
 
 
505
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":62
 
506
 * # --- Object access ---
 
507
 * 
 
508
 * cdef class PropFAID(PropInstanceID):             # <<<<<<<<<<<<<<
 
509
 *     """ File access property list """
 
510
 *     pass
 
511
 */
 
512
 
 
513
struct __pyx_obj_4h5py_3h5p_PropFAID {
 
514
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
 
515
};
 
516
 
 
517
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":17
 
518
 * from h5 cimport class ObjectID
 
519
 * 
 
520
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
 
521
 * 
 
522
 *     cdef object py_dtype(self)
 
523
 */
 
524
 
 
525
struct __pyx_obj_4h5py_3h5t_TypeID {
 
526
  struct __pyx_obj_4h5py_2h5_ObjectID __pyx_base;
 
527
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtab;
 
528
};
 
529
 
 
530
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":40
 
531
 *     pass
 
532
 * 
 
533
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
 
534
 *     pass
 
535
 * 
 
536
 */
 
537
 
 
538
struct __pyx_obj_4h5py_3h5t_TypeBitfieldID {
 
539
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
540
};
 
541
 
 
542
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":39
 
543
 *     pass
 
544
 * 
 
545
 * cdef class PropCreateID(PropInstanceID):             # <<<<<<<<<<<<<<
 
546
 *     """ Base class for all object creation lists.
 
547
 * 
 
548
 */
 
549
 
 
550
struct __pyx_obj_4h5py_3h5p_PropCreateID {
 
551
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
 
552
};
 
553
 
 
554
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":55
 
555
 *     pass
 
556
 * 
 
557
 * cdef class PropFCID(PropCreateID):             # <<<<<<<<<<<<<<
 
558
 *     """ File creation property list """
 
559
 *     pass
 
560
 */
 
561
 
 
562
struct __pyx_obj_4h5py_3h5p_PropFCID {
 
563
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
 
564
};
 
565
 
 
566
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":27
 
567
 *     pass
 
568
 * 
 
569
 * cdef class PropClassID(PropID):             # <<<<<<<<<<<<<<
 
570
 *     """ Represents an HDF5 property list class.  These can be either (locked)
 
571
 *         library-defined classes or user-created classes.
 
572
 */
 
573
 
 
574
struct __pyx_obj_4h5py_3h5p_PropClassID {
 
575
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
 
576
};
 
577
 
 
578
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":59
 
579
 * # --- Enums & compound types ---
 
580
 * 
 
581
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
 
582
 *     pass
 
583
 * 
 
584
 */
 
585
 
 
586
struct __pyx_obj_4h5py_3h5t_TypeCompositeID {
 
587
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
588
};
 
589
 
 
590
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":66
 
591
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
 
592
 * 
 
593
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
 
594
 *     pass
 
595
 * 
 
596
 */
 
597
 
 
598
struct __pyx_obj_4h5py_3h5t_TypeCompoundID {
 
599
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
 
600
};
 
601
 
 
602
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":15
 
603
 * include "defs.pxd"
 
604
 * 
 
605
 * cdef class PHIL:             # <<<<<<<<<<<<<<
 
606
 * 
 
607
 *     cdef object lock
 
608
 */
 
609
 
 
610
struct __pyx_obj_4h5py_2h5_PHIL {
 
611
  PyObject_HEAD
 
612
  struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtab;
 
613
  PyObject *lock;
 
614
};
 
615
 
 
616
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":33
 
617
 *     pass
 
618
 * 
 
619
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
 
620
 *     # Non-string vlens
 
621
 *     pass
 
622
 */
 
623
 
 
624
struct __pyx_obj_4h5py_3h5t_TypeVlenID {
 
625
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
626
};
 
627
 
 
628
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":51
 
629
 * # --- Object creation ---
 
630
 * 
 
631
 * cdef class PropDCID(PropCreateID):             # <<<<<<<<<<<<<<
 
632
 *     """ Dataset creation property list """
 
633
 *     pass
 
634
 */
 
635
 
 
636
struct __pyx_obj_4h5py_3h5p_PropDCID {
 
637
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
 
638
};
 
639
 
 
640
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":37
 
641
 *     pass
 
642
 * 
 
643
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
 
644
 *     pass
 
645
 * 
 
646
 */
 
647
 
 
648
struct __pyx_obj_4h5py_3h5t_TypeTimeID {
 
649
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
650
};
 
651
 
 
652
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":23
 
653
 * # --- Top-level classes ---
 
654
 * 
 
655
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
 
656
 *     pass
 
657
 * 
 
658
 */
 
659
 
 
660
struct __pyx_obj_4h5py_3h5t_TypeArrayID {
 
661
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
662
};
 
663
 
 
664
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":48
 
665
 * # --- Numeric atomic types ---
 
666
 * 
 
667
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
 
668
 *     pass
 
669
 * 
 
670
 */
 
671
 
 
672
struct __pyx_obj_4h5py_3h5t_TypeAtomicID {
 
673
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
674
};
 
675
 
 
676
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":54
 
677
 *     pass
 
678
 * 
 
679
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
 
680
 *     pass
 
681
 * 
 
682
 */
 
683
 
 
684
struct __pyx_obj_4h5py_3h5t_TypeFloatID {
 
685
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
 
686
};
 
687
 
 
688
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":29
 
689
 *     pass
 
690
 * 
 
691
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
 
692
 *     # Both vlen and fixed-len strings
 
693
 *     pass
 
694
 */
 
695
 
 
696
struct __pyx_obj_4h5py_3h5t_TypeStringID {
 
697
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
698
};
 
699
 
 
700
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":26
 
701
 *     pass
 
702
 * 
 
703
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
 
704
 *     pass
 
705
 * 
 
706
 */
 
707
 
 
708
struct __pyx_obj_4h5py_3h5t_TypeOpaqueID {
 
709
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
710
};
 
711
 
 
712
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":62
 
713
 *     pass
 
714
 * 
 
715
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
 
716
 * 
 
717
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
 
718
 */
 
719
 
 
720
struct __pyx_obj_4h5py_3h5t_TypeEnumID {
 
721
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
 
722
};
 
723
 
 
724
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":26
 
725
 * cpdef PHIL get_phil()
 
726
 * 
 
727
 * cdef class H5PYConfig:             # <<<<<<<<<<<<<<
 
728
 * 
 
729
 *     cdef object _r_name
 
730
 */
 
731
 
 
732
struct __pyx_obj_4h5py_2h5_H5PYConfig {
 
733
  PyObject_HEAD
 
734
  PyObject *_r_name;
 
735
  PyObject *_i_name;
 
736
  PyObject *_f_name;
 
737
  PyObject *_t_name;
 
738
  PyObject *API_16;
 
739
  PyObject *API_18;
 
740
  PyObject *DEBUG;
 
741
  PyObject *THREADS;
 
742
};
 
743
 
 
744
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":46
 
745
 *     pass
 
746
 * 
 
747
 * cdef class PropCopyID(PropInstanceID):             # <<<<<<<<<<<<<<
 
748
 *     """ Property list for copying objects (as in h5o.copy) """
 
749
 * 
 
750
 */
 
751
 
 
752
struct __pyx_obj_4h5py_3h5p_PropCopyID {
 
753
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
 
754
};
 
755
 
 
756
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":51
 
757
 *     pass
 
758
 * 
 
759
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
 
760
 *     pass
 
761
 * 
 
762
 */
 
763
 
 
764
struct __pyx_obj_4h5py_3h5t_TypeIntegerID {
 
765
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
 
766
};
 
767
 
 
768
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":43
 
769
 *     pass
 
770
 * 
 
771
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
 
772
 *     pass
 
773
 * 
 
774
 */
 
775
 
 
776
struct __pyx_obj_4h5py_3h5t_TypeReferenceID {
 
777
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
 
778
};
 
779
 
 
780
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":66
 
781
 *     pass
 
782
 * 
 
783
 * cdef class PropDXID(PropInstanceID):             # <<<<<<<<<<<<<<
 
784
 *     """ Dataset transfer property list """
 
785
 *     pass
 
786
 */
 
787
 
 
788
struct __pyx_obj_4h5py_3h5p_PropDXID {
 
789
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
 
790
};
 
791
 
 
792
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":46
 
793
 *     cdef object _hash
 
794
 * 
 
795
 * cdef class SmartStruct:             # <<<<<<<<<<<<<<
 
796
 *     cdef object __weakref__
 
797
 *     cdef object _title
 
798
 */
 
799
 
 
800
struct __pyx_obj_4h5py_2h5_SmartStruct {
 
801
  PyObject_HEAD
 
802
  PyObject *__weakref__;
 
803
  PyObject *_title;
 
804
};
 
805
 
 
806
 
 
807
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":17
 
808
 * from h5 cimport class ObjectID
 
809
 * 
 
810
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
 
811
 * 
 
812
 *     cdef object py_dtype(self)
 
813
 */
 
814
 
 
815
struct __pyx_vtabstruct_4h5py_3h5t_TypeID {
 
816
  PyObject *(*py_dtype)(struct __pyx_obj_4h5py_3h5t_TypeID *);
 
817
};
 
818
static struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtabptr_4h5py_3h5t_TypeID;
 
819
 
 
820
 
 
821
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":59
 
822
 * # --- Enums & compound types ---
 
823
 * 
 
824
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
 
825
 *     pass
 
826
 * 
 
827
 */
 
828
 
 
829
struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID {
 
830
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
831
};
 
832
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID *__pyx_vtabptr_4h5py_3h5t_TypeCompositeID;
 
833
 
 
834
 
 
835
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":66
 
836
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
 
837
 * 
 
838
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
 
839
 *     pass
 
840
 * 
 
841
 */
 
842
 
 
843
struct __pyx_vtabstruct_4h5py_3h5t_TypeCompoundID {
 
844
  struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID __pyx_base;
 
845
};
 
846
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompoundID *__pyx_vtabptr_4h5py_3h5t_TypeCompoundID;
 
847
 
 
848
 
 
849
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":33
 
850
 *     pass
 
851
 * 
 
852
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
 
853
 *     # Non-string vlens
 
854
 *     pass
 
855
 */
 
856
 
 
857
struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID {
 
858
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
859
};
 
860
static struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID *__pyx_vtabptr_4h5py_3h5t_TypeVlenID;
 
861
 
 
862
 
 
863
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":23
 
864
 * # --- Top-level classes ---
 
865
 * 
 
866
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
 
867
 *     pass
 
868
 * 
 
869
 */
 
870
 
 
871
struct __pyx_vtabstruct_4h5py_3h5t_TypeArrayID {
 
872
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
873
};
 
874
static struct __pyx_vtabstruct_4h5py_3h5t_TypeArrayID *__pyx_vtabptr_4h5py_3h5t_TypeArrayID;
 
875
 
 
876
 
 
877
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":48
 
878
 * # --- Numeric atomic types ---
 
879
 * 
 
880
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
 
881
 *     pass
 
882
 * 
 
883
 */
 
884
 
 
885
struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID {
 
886
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
887
};
 
888
static struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID *__pyx_vtabptr_4h5py_3h5t_TypeAtomicID;
 
889
 
 
890
 
 
891
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":51
 
892
 *     pass
 
893
 * 
 
894
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
 
895
 *     pass
 
896
 * 
 
897
 */
 
898
 
 
899
struct __pyx_vtabstruct_4h5py_3h5t_TypeIntegerID {
 
900
  struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID __pyx_base;
 
901
};
 
902
static struct __pyx_vtabstruct_4h5py_3h5t_TypeIntegerID *__pyx_vtabptr_4h5py_3h5t_TypeIntegerID;
 
903
 
 
904
 
 
905
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":43
 
906
 *     pass
 
907
 * 
 
908
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
 
909
 *     pass
 
910
 * 
 
911
 */
 
912
 
 
913
struct __pyx_vtabstruct_4h5py_3h5t_TypeReferenceID {
 
914
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
915
};
 
916
static struct __pyx_vtabstruct_4h5py_3h5t_TypeReferenceID *__pyx_vtabptr_4h5py_3h5t_TypeReferenceID;
 
917
 
 
918
 
 
919
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":29
 
920
 *     pass
 
921
 * 
 
922
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
 
923
 *     # Both vlen and fixed-len strings
 
924
 *     pass
 
925
 */
 
926
 
 
927
struct __pyx_vtabstruct_4h5py_3h5t_TypeStringID {
 
928
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
929
};
 
930
static struct __pyx_vtabstruct_4h5py_3h5t_TypeStringID *__pyx_vtabptr_4h5py_3h5t_TypeStringID;
 
931
 
 
932
 
 
933
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":15
 
934
 * include "defs.pxd"
 
935
 * 
 
936
 * cdef class PHIL:             # <<<<<<<<<<<<<<
 
937
 * 
 
938
 *     cdef object lock
 
939
 */
 
940
 
 
941
struct __pyx_vtabstruct_4h5py_2h5_PHIL {
 
942
  int (*__enter__)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
 
943
  int (*__exit__)(struct __pyx_obj_4h5py_2h5_PHIL *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch);
 
944
  int (*acquire)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire *__pyx_optional_args);
 
945
  int (*release)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
 
946
};
 
947
static struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtabptr_4h5py_2h5_PHIL;
 
948
 
 
949
 
 
950
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":37
 
951
 *     pass
 
952
 * 
 
953
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
 
954
 *     pass
 
955
 * 
 
956
 */
 
957
 
 
958
struct __pyx_vtabstruct_4h5py_3h5t_TypeTimeID {
 
959
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
960
};
 
961
static struct __pyx_vtabstruct_4h5py_3h5t_TypeTimeID *__pyx_vtabptr_4h5py_3h5t_TypeTimeID;
 
962
 
 
963
 
 
964
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":40
 
965
 *     pass
 
966
 * 
 
967
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
 
968
 *     pass
 
969
 * 
 
970
 */
 
971
 
 
972
struct __pyx_vtabstruct_4h5py_3h5t_TypeBitfieldID {
 
973
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
974
};
 
975
static struct __pyx_vtabstruct_4h5py_3h5t_TypeBitfieldID *__pyx_vtabptr_4h5py_3h5t_TypeBitfieldID;
 
976
 
 
977
 
 
978
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":26
 
979
 *     pass
 
980
 * 
 
981
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
 
982
 *     pass
 
983
 * 
 
984
 */
 
985
 
 
986
struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID {
 
987
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
 
988
};
 
989
static struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID *__pyx_vtabptr_4h5py_3h5t_TypeOpaqueID;
 
990
 
 
991
 
 
992
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":54
 
993
 *     pass
 
994
 * 
 
995
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
 
996
 *     pass
 
997
 * 
 
998
 */
 
999
 
 
1000
struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID {
 
1001
  struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID __pyx_base;
 
1002
};
 
1003
static struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID *__pyx_vtabptr_4h5py_3h5t_TypeFloatID;
 
1004
 
 
1005
 
 
1006
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":62
 
1007
 *     pass
 
1008
 * 
 
1009
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
 
1010
 * 
 
1011
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
 
1012
 */
 
1013
 
 
1014
struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID {
 
1015
  struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID __pyx_base;
 
1016
  int (*enum_convert)(struct __pyx_obj_4h5py_3h5t_TypeEnumID *, PY_LONG_LONG *, int);
 
1017
};
 
1018
static struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *__pyx_vtabptr_4h5py_3h5t_TypeEnumID;
 
1019
/* Module declarations from h5py.h5 */
 
1020
 
 
1021
static PyTypeObject *__pyx_ptype_4h5py_2h5_PHIL = 0;
 
1022
static PyTypeObject *__pyx_ptype_4h5py_2h5_H5PYConfig = 0;
 
1023
static PyTypeObject *__pyx_ptype_4h5py_2h5_ObjectID = 0;
 
1024
static PyTypeObject *__pyx_ptype_4h5py_2h5_SmartStruct = 0;
 
1025
static struct __pyx_obj_4h5py_2h5_PHIL *(*__pyx_f_4h5py_2h5_get_phil)(int __pyx_skip_dispatch); /*proto*/
 
1026
static struct __pyx_obj_4h5py_2h5_H5PYConfig *(*__pyx_f_4h5py_2h5_get_config)(int __pyx_skip_dispatch); /*proto*/
 
1027
static int (*__pyx_f_4h5py_2h5_init_hdf5)(void); /*proto*/
 
1028
static hid_t (*__pyx_f_4h5py_2h5_get_object_type)(void); /*proto*/
 
1029
static herr_t (*__pyx_f_4h5py_2h5_attr_rw)(hid_t, hid_t, void *, h5py_rw_t); /*proto*/
 
1030
static herr_t (*__pyx_f_4h5py_2h5_dset_rw)(hid_t, hid_t, hid_t, hid_t, hid_t, void *, h5py_rw_t); /*proto*/
 
1031
/* Module declarations from numpy */
 
1032
 
 
1033
/* Module declarations from h5py.numpy */
 
1034
 
 
1035
static PyTypeObject *__pyx_ptype_4h5py_5numpy_dtype = 0;
 
1036
static PyTypeObject *__pyx_ptype_4h5py_5numpy_ndarray = 0;
 
1037
/* Module declarations from h5py.utils */
 
1038
 
 
1039
static void *(*__pyx_f_4h5py_5utils_emalloc)(size_t); /*proto*/
 
1040
static void (*__pyx_f_4h5py_5utils_efree)(void *); /*proto*/
 
1041
static int (*__pyx_f_4h5py_5utils_check_numpy_read)(PyArrayObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_5utils_check_numpy_read *__pyx_optional_args); /*proto*/
 
1042
static int (*__pyx_f_4h5py_5utils_check_numpy_write)(PyArrayObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_5utils_check_numpy_write *__pyx_optional_args); /*proto*/
 
1043
static int (*__pyx_f_4h5py_5utils_convert_tuple)(PyObject *, hsize_t *, hsize_t); /*proto*/
 
1044
static PyObject *(*__pyx_f_4h5py_5utils_convert_dims)(hsize_t *, hsize_t); /*proto*/
 
1045
static int (*__pyx_f_4h5py_5utils_require_tuple)(PyObject *, int, int, char *); /*proto*/
 
1046
static PyObject *(*__pyx_f_4h5py_5utils_create_numpy_hsize)(int, hsize_t *); /*proto*/
 
1047
static PyObject *(*__pyx_f_4h5py_5utils_create_hsize_array)(PyObject *); /*proto*/
 
1048
/* Module declarations from h5py.h5t */
 
1049
 
 
1050
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeID = 0;
 
1051
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeArrayID = 0;
 
1052
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeOpaqueID = 0;
 
1053
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeStringID = 0;
 
1054
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeVlenID = 0;
 
1055
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeTimeID = 0;
 
1056
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeBitfieldID = 0;
 
1057
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeReferenceID = 0;
 
1058
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeAtomicID = 0;
 
1059
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeIntegerID = 0;
 
1060
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeFloatID = 0;
 
1061
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeCompositeID = 0;
 
1062
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeEnumID = 0;
 
1063
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeCompoundID = 0;
 
1064
static struct __pyx_obj_4h5py_3h5t_TypeID *(*__pyx_f_4h5py_3h5t_typewrap)(hid_t); /*proto*/
 
1065
static struct __pyx_obj_4h5py_3h5t_TypeID *(*__pyx_f_4h5py_3h5t_py_create)(PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5t_py_create *__pyx_optional_args); /*proto*/
 
1066
/* Module declarations from h5py.h5p */
 
1067
 
 
1068
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropID = 0;
 
1069
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropClassID = 0;
 
1070
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropInstanceID = 0;
 
1071
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropCreateID = 0;
 
1072
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropCopyID = 0;
 
1073
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropDCID = 0;
 
1074
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropFCID = 0;
 
1075
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropFAID = 0;
 
1076
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropDXID = 0;
 
1077
static size_t __pyx_k_233;
 
1078
static hid_t __pyx_f_4h5py_3h5p_pdefault(struct __pyx_obj_4h5py_3h5p_PropID *); /*proto*/
 
1079
static PyObject *__pyx_f_4h5py_3h5p_propwrap(hid_t); /*proto*/
 
1080
static PyObject *__pyx_f_4h5py_3h5p_lockcls(hid_t); /*proto*/
 
1081
#define __Pyx_MODULE_NAME "h5py.h5p"
 
1082
int __pyx_module_is_main_h5py__h5p = 0;
 
1083
 
 
1084
/* Implementation of h5py.h5p */
 
1085
static char __pyx_k_232[] = "\n    HDF5 property list interface.\n";
 
1086
static char __pyx_k___main__[] = "__main__";
 
1087
static PyObject *__pyx_kp___main__;
 
1088
static char __pyx_k_equal[] = "equal";
 
1089
static PyObject *__pyx_kp_equal;
 
1090
static char __pyx_k___richcmp__[] = "__richcmp__";
 
1091
static PyObject *__pyx_kp___richcmp__;
 
1092
static char __pyx_k___hash__[] = "__hash__";
 
1093
static PyObject *__pyx_kp___hash__;
 
1094
static char __pyx_k_copy[] = "copy";
 
1095
static PyObject *__pyx_kp_copy;
 
1096
static char __pyx_k__close[] = "_close";
 
1097
static PyObject *__pyx_kp__close;
 
1098
static char __pyx_k_get_class[] = "get_class";
 
1099
static PyObject *__pyx_kp_get_class;
 
1100
static char __pyx_k_get_version[] = "get_version";
 
1101
static PyObject *__pyx_kp_get_version;
 
1102
static char __pyx_k_set_userblock[] = "set_userblock";
 
1103
static PyObject *__pyx_kp_set_userblock;
 
1104
static char __pyx_k_get_userblock[] = "get_userblock";
 
1105
static PyObject *__pyx_kp_get_userblock;
 
1106
static char __pyx_k_set_sizes[] = "set_sizes";
 
1107
static PyObject *__pyx_kp_set_sizes;
 
1108
static char __pyx_k_get_sizes[] = "get_sizes";
 
1109
static PyObject *__pyx_kp_get_sizes;
 
1110
static char __pyx_k_set_layout[] = "set_layout";
 
1111
static PyObject *__pyx_kp_set_layout;
 
1112
static char __pyx_k_get_layout[] = "get_layout";
 
1113
static PyObject *__pyx_kp_get_layout;
 
1114
static char __pyx_k_set_chunk[] = "set_chunk";
 
1115
static PyObject *__pyx_kp_set_chunk;
 
1116
static char __pyx_k_get_chunk[] = "get_chunk";
 
1117
static PyObject *__pyx_kp_get_chunk;
 
1118
static char __pyx_k_set_fill_value[] = "set_fill_value";
 
1119
static PyObject *__pyx_kp_set_fill_value;
 
1120
static char __pyx_k_get_fill_value[] = "get_fill_value";
 
1121
static PyObject *__pyx_kp_get_fill_value;
 
1122
static char __pyx_k_fill_value_defined[] = "fill_value_defined";
 
1123
static PyObject *__pyx_kp_fill_value_defined;
 
1124
static char __pyx_k_set_fill_time[] = "set_fill_time";
 
1125
static PyObject *__pyx_kp_set_fill_time;
 
1126
static char __pyx_k_get_fill_time[] = "get_fill_time";
 
1127
static PyObject *__pyx_kp_get_fill_time;
 
1128
static char __pyx_k_set_alloc_time[] = "set_alloc_time";
 
1129
static PyObject *__pyx_kp_set_alloc_time;
 
1130
static char __pyx_k_get_alloc_time[] = "get_alloc_time";
 
1131
static PyObject *__pyx_kp_get_alloc_time;
 
1132
static char __pyx_k_set_filter[] = "set_filter";
 
1133
static PyObject *__pyx_kp_set_filter;
 
1134
static char __pyx_k_all_filters_avail[] = "all_filters_avail";
 
1135
static PyObject *__pyx_kp_all_filters_avail;
 
1136
static char __pyx_k_get_nfilters[] = "get_nfilters";
 
1137
static PyObject *__pyx_kp_get_nfilters;
 
1138
static char __pyx_k_get_filter[] = "get_filter";
 
1139
static PyObject *__pyx_kp_get_filter;
 
1140
static char __pyx_k__has_filter[] = "_has_filter";
 
1141
static PyObject *__pyx_kp__has_filter;
 
1142
static char __pyx_k_get_filter_by_id[] = "get_filter_by_id";
 
1143
static PyObject *__pyx_kp_get_filter_by_id;
 
1144
static char __pyx_k_remove_filter[] = "remove_filter";
 
1145
static PyObject *__pyx_kp_remove_filter;
 
1146
static char __pyx_k_set_deflate[] = "set_deflate";
 
1147
static PyObject *__pyx_kp_set_deflate;
 
1148
static char __pyx_k_230[] = "set_fletcher32";
 
1149
static PyObject *__pyx_kp_230;
 
1150
static char __pyx_k_set_shuffle[] = "set_shuffle";
 
1151
static PyObject *__pyx_kp_set_shuffle;
 
1152
static char __pyx_k_set_szip[] = "set_szip";
 
1153
static PyObject *__pyx_kp_set_szip;
 
1154
static char __pyx_k_set_fclose_degree[] = "set_fclose_degree";
 
1155
static PyObject *__pyx_kp_set_fclose_degree;
 
1156
static char __pyx_k_get_fclose_degree[] = "get_fclose_degree";
 
1157
static PyObject *__pyx_kp_get_fclose_degree;
 
1158
static char __pyx_k_set_fapl_core[] = "set_fapl_core";
 
1159
static PyObject *__pyx_kp_set_fapl_core;
 
1160
static char __pyx_k_get_fapl_core[] = "get_fapl_core";
 
1161
static PyObject *__pyx_kp_get_fapl_core;
 
1162
static char __pyx_k_set_fapl_family[] = "set_fapl_family";
 
1163
static PyObject *__pyx_kp_set_fapl_family;
 
1164
static char __pyx_k_get_fapl_family[] = "get_fapl_family";
 
1165
static PyObject *__pyx_kp_get_fapl_family;
 
1166
static char __pyx_k_set_fapl_log[] = "set_fapl_log";
 
1167
static PyObject *__pyx_kp_set_fapl_log;
 
1168
static char __pyx_k_231[] = "set_fapl_sec2";
 
1169
static PyObject *__pyx_kp_231;
 
1170
static char __pyx_k_set_fapl_stdio[] = "set_fapl_stdio";
 
1171
static PyObject *__pyx_kp_set_fapl_stdio;
 
1172
static char __pyx_k_get_driver[] = "get_driver";
 
1173
static PyObject *__pyx_kp_get_driver;
 
1174
static char __pyx_k_set_cache[] = "set_cache";
 
1175
static PyObject *__pyx_kp_set_cache;
 
1176
static char __pyx_k_get_cache[] = "get_cache";
 
1177
static PyObject *__pyx_kp_get_cache;
 
1178
static char __pyx_k_set_sieve_buf_size[] = "set_sieve_buf_size";
 
1179
static PyObject *__pyx_kp_set_sieve_buf_size;
 
1180
static char __pyx_k_get_sieve_buf_size[] = "get_sieve_buf_size";
 
1181
static PyObject *__pyx_kp_get_sieve_buf_size;
 
1182
static char __pyx_k_cls[] = "cls";
 
1183
static PyObject *__pyx_kp_cls;
 
1184
static char __pyx_k_plist[] = "plist";
 
1185
static PyObject *__pyx_kp_plist;
 
1186
static char __pyx_k_self[] = "self";
 
1187
static PyObject *__pyx_kp_self;
 
1188
static char __pyx_k_other[] = "other";
 
1189
static PyObject *__pyx_kp_other;
 
1190
static char __pyx_k_how[] = "how";
 
1191
static PyObject *__pyx_kp_how;
 
1192
static char __pyx_k_size[] = "size";
 
1193
static PyObject *__pyx_kp_size;
 
1194
static char __pyx_k_addr[] = "addr";
 
1195
static PyObject *__pyx_kp_addr;
 
1196
static char __pyx_k_layout_code[] = "layout_code";
 
1197
static PyObject *__pyx_kp_layout_code;
 
1198
static char __pyx_k_chunksize[] = "chunksize";
 
1199
static PyObject *__pyx_kp_chunksize;
 
1200
static char __pyx_k_value[] = "value";
 
1201
static PyObject *__pyx_kp_value;
 
1202
static char __pyx_k_fill_time[] = "fill_time";
 
1203
static PyObject *__pyx_kp_fill_time;
 
1204
static char __pyx_k_alloc_time[] = "alloc_time";
 
1205
static PyObject *__pyx_kp_alloc_time;
 
1206
static char __pyx_k_filter_code[] = "filter_code";
 
1207
static PyObject *__pyx_kp_filter_code;
 
1208
static char __pyx_k_flags[] = "flags";
 
1209
static PyObject *__pyx_kp_flags;
 
1210
static char __pyx_k_values[] = "values";
 
1211
static PyObject *__pyx_kp_values;
 
1212
static char __pyx_k_filter_idx[] = "filter_idx";
 
1213
static PyObject *__pyx_kp_filter_idx;
 
1214
static char __pyx_k_filter_class[] = "filter_class";
 
1215
static PyObject *__pyx_kp_filter_class;
 
1216
static char __pyx_k_level[] = "level";
 
1217
static PyObject *__pyx_kp_level;
 
1218
static char __pyx_k_options[] = "options";
 
1219
static PyObject *__pyx_kp_options;
 
1220
static char __pyx_k_pixels_per_block[] = "pixels_per_block";
 
1221
static PyObject *__pyx_kp_pixels_per_block;
 
1222
static char __pyx_k_close_degree[] = "close_degree";
 
1223
static PyObject *__pyx_kp_close_degree;
 
1224
static char __pyx_k_block_size[] = "block_size";
 
1225
static PyObject *__pyx_kp_block_size;
 
1226
static char __pyx_k_backing_store[] = "backing_store";
 
1227
static PyObject *__pyx_kp_backing_store;
 
1228
static char __pyx_k_memb_size[] = "memb_size";
 
1229
static PyObject *__pyx_kp_memb_size;
 
1230
static char __pyx_k_memb_fapl[] = "memb_fapl";
 
1231
static PyObject *__pyx_kp_memb_fapl;
 
1232
static char __pyx_k_logfile[] = "logfile";
 
1233
static PyObject *__pyx_kp_logfile;
 
1234
static char __pyx_k_buf_size[] = "buf_size";
 
1235
static PyObject *__pyx_kp_buf_size;
 
1236
static char __pyx_k_mdc[] = "mdc";
 
1237
static PyObject *__pyx_kp_mdc;
 
1238
static char __pyx_k_rdcc[] = "rdcc";
 
1239
static PyObject *__pyx_kp_rdcc;
 
1240
static char __pyx_k_rdcc_nbytes[] = "rdcc_nbytes";
 
1241
static PyObject *__pyx_kp_rdcc_nbytes;
 
1242
static char __pyx_k_rdcc_w0[] = "rdcc_w0";
 
1243
static PyObject *__pyx_kp_rdcc_w0;
 
1244
static char __pyx_k___doc__[] = "__doc__";
 
1245
static PyObject *__pyx_kp___doc__;
 
1246
static char __pyx_k__sync[] = "_sync";
 
1247
static PyObject *__pyx_kp__sync;
 
1248
static char __pyx_k_sync[] = "sync";
 
1249
static PyObject *__pyx_kp_sync;
 
1250
static char __pyx_k_nosync[] = "nosync";
 
1251
static PyObject *__pyx_kp_nosync;
 
1252
static char __pyx_k_NO_CLASS[] = "NO_CLASS";
 
1253
static PyObject *__pyx_kp_NO_CLASS;
 
1254
static char __pyx_k_FILE_CREATE[] = "FILE_CREATE";
 
1255
static PyObject *__pyx_kp_FILE_CREATE;
 
1256
static char __pyx_k_FILE_ACCESS[] = "FILE_ACCESS";
 
1257
static PyObject *__pyx_kp_FILE_ACCESS;
 
1258
static char __pyx_k_DATASET_CREATE[] = "DATASET_CREATE";
 
1259
static PyObject *__pyx_kp_DATASET_CREATE;
 
1260
static char __pyx_k_DATASET_XFER[] = "DATASET_XFER";
 
1261
static PyObject *__pyx_kp_DATASET_XFER;
 
1262
static char __pyx_k_DEFAULT[] = "DEFAULT";
 
1263
static PyObject *__pyx_kp_DEFAULT;
 
1264
static char __pyx_k_create[] = "create";
 
1265
static PyObject *__pyx_kp_create;
 
1266
static char __pyx_k_ValueError[] = "ValueError";
 
1267
static PyObject *__pyx_kp_ValueError;
 
1268
static char __pyx_k_NotImplemented[] = "NotImplemented";
 
1269
static PyObject *__pyx_kp_NotImplemented;
 
1270
static char __pyx_k_TypeError[] = "TypeError";
 
1271
static PyObject *__pyx_kp_TypeError;
 
1272
static char __pyx_k_dtype[] = "dtype";
 
1273
static PyObject *__pyx_kp_dtype;
 
1274
static PyObject *__pyx_kp_232;
 
1275
static PyObject *__pyx_builtin_ValueError;
 
1276
static PyObject *__pyx_builtin_NotImplemented;
 
1277
static PyObject *__pyx_builtin_TypeError;
 
1278
static PyObject *__pyx_kp_234;
 
1279
static char __pyx_k_234[] = "No class found for ID %d";
 
1280
static PyObject *__pyx_kp_235;
 
1281
static char __pyx_k_235[] = "Property lists are unhashable";
 
1282
static char __pyx_k_236[] = "chunksize";
 
1283
static char __pyx_k_237[] = "values";
 
1284
static PyObject *__pyx_kp_238;
 
1285
static char __pyx_k_238[] = "Filter index must be a non-negative integer";
 
1286
 
 
1287
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":36
 
1288
 * # === C API ===================================================================
 
1289
 * 
 
1290
 * cdef hid_t pdefault(PropID pid):             # <<<<<<<<<<<<<<
 
1291
 * 
 
1292
 *     if pid is None:
 
1293
 */
 
1294
 
 
1295
static  hid_t __pyx_f_4h5py_3h5p_pdefault(struct __pyx_obj_4h5py_3h5p_PropID *__pyx_v_pid) {
 
1296
  hid_t __pyx_r;
 
1297
  int __pyx_t_1;
 
1298
  __Pyx_SetupRefcountContext("pdefault");
 
1299
 
 
1300
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":38
 
1301
 * cdef hid_t pdefault(PropID pid):
 
1302
 * 
 
1303
 *     if pid is None:             # <<<<<<<<<<<<<<
 
1304
 *         return <hid_t>H5P_DEFAULT
 
1305
 *     return pid.id
 
1306
 */
 
1307
  __pyx_t_1 = (((PyObject *)__pyx_v_pid) == Py_None);
 
1308
  if (__pyx_t_1) {
 
1309
 
 
1310
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":39
 
1311
 * 
 
1312
 *     if pid is None:
 
1313
 *         return <hid_t>H5P_DEFAULT             # <<<<<<<<<<<<<<
 
1314
 *     return pid.id
 
1315
 * 
 
1316
 */
 
1317
    __pyx_r = ((hid_t)H5P_DEFAULT);
 
1318
    goto __pyx_L0;
 
1319
    goto __pyx_L3;
 
1320
  }
 
1321
  __pyx_L3:;
 
1322
 
 
1323
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":40
 
1324
 *     if pid is None:
 
1325
 *         return <hid_t>H5P_DEFAULT
 
1326
 *     return pid.id             # <<<<<<<<<<<<<<
 
1327
 * 
 
1328
 * cdef object propwrap(hid_t id_in):
 
1329
 */
 
1330
  __pyx_r = __pyx_v_pid->__pyx_base.id;
 
1331
  goto __pyx_L0;
 
1332
 
 
1333
  __pyx_r = 0;
 
1334
  __pyx_L0:;
 
1335
  __Pyx_FinishRefcountContext();
 
1336
  return __pyx_r;
 
1337
}
 
1338
 
 
1339
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":42
 
1340
 *     return pid.id
 
1341
 * 
 
1342
 * cdef object propwrap(hid_t id_in):             # <<<<<<<<<<<<<<
 
1343
 * 
 
1344
 *     clsid = H5Pget_class(id_in)
 
1345
 */
 
1346
 
 
1347
static  PyObject *__pyx_f_4h5py_3h5p_propwrap(hid_t __pyx_v_id_in) {
 
1348
  PyObject *__pyx_v_clsid;
 
1349
  PyObject *__pyx_v_pcls;
 
1350
  PyObject *__pyx_r = NULL;
 
1351
  int __pyx_t_1;
 
1352
  PyObject *__pyx_t_2 = NULL;
 
1353
  hid_t __pyx_t_3;
 
1354
  htri_t __pyx_t_4;
 
1355
  PyObject *__pyx_t_5 = NULL;
 
1356
  herr_t __pyx_t_6;
 
1357
  __Pyx_SetupRefcountContext("propwrap");
 
1358
  __pyx_v_clsid = Py_None; __Pyx_INCREF(Py_None);
 
1359
  __pyx_v_pcls = Py_None; __Pyx_INCREF(Py_None);
 
1360
 
 
1361
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":44
 
1362
 * cdef object propwrap(hid_t id_in):
 
1363
 * 
 
1364
 *     clsid = H5Pget_class(id_in)             # <<<<<<<<<<<<<<
 
1365
 *     try:
 
1366
 *         if H5Pequal(clsid, H5P_FILE_CREATE):
 
1367
 */
 
1368
  __pyx_t_1 = H5Pget_class(__pyx_v_id_in); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1369
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1370
  __Pyx_GOTREF(__pyx_t_2);
 
1371
  __Pyx_DECREF(__pyx_v_clsid);
 
1372
  __pyx_v_clsid = __pyx_t_2;
 
1373
  __pyx_t_2 = 0;
 
1374
 
 
1375
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":45
 
1376
 * 
 
1377
 *     clsid = H5Pget_class(id_in)
 
1378
 *     try:             # <<<<<<<<<<<<<<
 
1379
 *         if H5Pequal(clsid, H5P_FILE_CREATE):
 
1380
 *             pcls = PropFCID
 
1381
 */
 
1382
  /*try:*/ {
 
1383
 
 
1384
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":46
 
1385
 *     clsid = H5Pget_class(id_in)
 
1386
 *     try:
 
1387
 *         if H5Pequal(clsid, H5P_FILE_CREATE):             # <<<<<<<<<<<<<<
 
1388
 *             pcls = PropFCID
 
1389
 *         elif H5Pequal(clsid, H5P_FILE_ACCESS):
 
1390
 */
 
1391
    __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_clsid); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1392
    __pyx_t_4 = H5Pequal(__pyx_t_3, H5P_FILE_CREATE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1393
    if (__pyx_t_4) {
 
1394
 
 
1395
      /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":47
 
1396
 *     try:
 
1397
 *         if H5Pequal(clsid, H5P_FILE_CREATE):
 
1398
 *             pcls = PropFCID             # <<<<<<<<<<<<<<
 
1399
 *         elif H5Pequal(clsid, H5P_FILE_ACCESS):
 
1400
 *             pcls = PropFAID
 
1401
 */
 
1402
      __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropFCID)));
 
1403
      __Pyx_DECREF(__pyx_v_pcls);
 
1404
      __pyx_v_pcls = ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropFCID));
 
1405
      goto __pyx_L6;
 
1406
    }
 
1407
 
 
1408
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":48
 
1409
 *         if H5Pequal(clsid, H5P_FILE_CREATE):
 
1410
 *             pcls = PropFCID
 
1411
 *         elif H5Pequal(clsid, H5P_FILE_ACCESS):             # <<<<<<<<<<<<<<
 
1412
 *             pcls = PropFAID
 
1413
 *         elif H5Pequal(clsid, H5P_DATASET_CREATE):
 
1414
 */
 
1415
    __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_clsid); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1416
    __pyx_t_4 = H5Pequal(__pyx_t_3, H5P_FILE_ACCESS); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1417
    if (__pyx_t_4) {
 
1418
 
 
1419
      /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":49
 
1420
 *             pcls = PropFCID
 
1421
 *         elif H5Pequal(clsid, H5P_FILE_ACCESS):
 
1422
 *             pcls = PropFAID             # <<<<<<<<<<<<<<
 
1423
 *         elif H5Pequal(clsid, H5P_DATASET_CREATE):
 
1424
 *             pcls = PropDCID
 
1425
 */
 
1426
      __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropFAID)));
 
1427
      __Pyx_DECREF(__pyx_v_pcls);
 
1428
      __pyx_v_pcls = ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropFAID));
 
1429
      goto __pyx_L6;
 
1430
    }
 
1431
 
 
1432
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":50
 
1433
 *         elif H5Pequal(clsid, H5P_FILE_ACCESS):
 
1434
 *             pcls = PropFAID
 
1435
 *         elif H5Pequal(clsid, H5P_DATASET_CREATE):             # <<<<<<<<<<<<<<
 
1436
 *             pcls = PropDCID
 
1437
 *         elif H5Pequal(clsid, H5P_DATASET_XFER):
 
1438
 */
 
1439
    __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_clsid); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1440
    __pyx_t_4 = H5Pequal(__pyx_t_3, H5P_DATASET_CREATE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1441
    if (__pyx_t_4) {
 
1442
 
 
1443
      /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":51
 
1444
 *             pcls = PropFAID
 
1445
 *         elif H5Pequal(clsid, H5P_DATASET_CREATE):
 
1446
 *             pcls = PropDCID             # <<<<<<<<<<<<<<
 
1447
 *         elif H5Pequal(clsid, H5P_DATASET_XFER):
 
1448
 *             pcls = PropDXID
 
1449
 */
 
1450
      __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropDCID)));
 
1451
      __Pyx_DECREF(__pyx_v_pcls);
 
1452
      __pyx_v_pcls = ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropDCID));
 
1453
      goto __pyx_L6;
 
1454
    }
 
1455
 
 
1456
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":52
 
1457
 *         elif H5Pequal(clsid, H5P_DATASET_CREATE):
 
1458
 *             pcls = PropDCID
 
1459
 *         elif H5Pequal(clsid, H5P_DATASET_XFER):             # <<<<<<<<<<<<<<
 
1460
 *             pcls = PropDXID
 
1461
 *         else:
 
1462
 */
 
1463
    __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_clsid); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1464
    __pyx_t_4 = H5Pequal(__pyx_t_3, H5P_DATASET_XFER); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1465
    if (__pyx_t_4) {
 
1466
 
 
1467
      /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":53
 
1468
 *             pcls = PropDCID
 
1469
 *         elif H5Pequal(clsid, H5P_DATASET_XFER):
 
1470
 *             pcls = PropDXID             # <<<<<<<<<<<<<<
 
1471
 *         else:
 
1472
 *             IF H5PY_18API:
 
1473
 */
 
1474
      __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropDXID)));
 
1475
      __Pyx_DECREF(__pyx_v_pcls);
 
1476
      __pyx_v_pcls = ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropDXID));
 
1477
      goto __pyx_L6;
 
1478
    }
 
1479
    /*else*/ {
 
1480
 
 
1481
      /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":67
 
1482
 *                     raise ValueError("No class found for ID %d" % id_in)
 
1483
 *             ELSE:
 
1484
 *                 raise ValueError("No class found for ID %d" % id_in)             # <<<<<<<<<<<<<<
 
1485
 * 
 
1486
 *         return pcls(id_in)
 
1487
 */
 
1488
      __pyx_t_2 = PyInt_FromLong(__pyx_v_id_in); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1489
      __Pyx_GOTREF(__pyx_t_2);
 
1490
      __pyx_t_5 = PyNumber_Remainder(__pyx_kp_234, __pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1491
      __Pyx_GOTREF(__pyx_t_5);
 
1492
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
1493
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1494
      __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
1495
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5);
 
1496
      __Pyx_GIVEREF(__pyx_t_5);
 
1497
      __pyx_t_5 = 0;
 
1498
      __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1499
      __Pyx_GOTREF(__pyx_t_5);
 
1500
      __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
1501
      __Pyx_Raise(__pyx_t_5, 0, 0);
 
1502
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
1503
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1504
    }
 
1505
    __pyx_L6:;
 
1506
 
 
1507
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":69
 
1508
 *                 raise ValueError("No class found for ID %d" % id_in)
 
1509
 * 
 
1510
 *         return pcls(id_in)             # <<<<<<<<<<<<<<
 
1511
 *     finally:
 
1512
 *         H5Pclose_class(clsid)
 
1513
 */
 
1514
    __Pyx_XDECREF(__pyx_r);
 
1515
    __pyx_t_5 = PyInt_FromLong(__pyx_v_id_in); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1516
    __Pyx_GOTREF(__pyx_t_5);
 
1517
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1518
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
1519
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5);
 
1520
    __Pyx_GIVEREF(__pyx_t_5);
 
1521
    __pyx_t_5 = 0;
 
1522
    __pyx_t_5 = PyObject_Call(__pyx_v_pcls, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
1523
    __Pyx_GOTREF(__pyx_t_5);
 
1524
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
1525
    __pyx_r = __pyx_t_5;
 
1526
    __pyx_t_5 = 0;
 
1527
    goto __pyx_L3;
 
1528
  }
 
1529
  /*finally:*/ {
 
1530
    int __pyx_why;
 
1531
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
 
1532
    int __pyx_exc_lineno;
 
1533
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
1534
    __pyx_why = 0; goto __pyx_L5;
 
1535
    __pyx_L3: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
1536
    __pyx_why = 3; goto __pyx_L5;
 
1537
    __pyx_L4: {
 
1538
      __pyx_why = 4;
 
1539
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
 
1540
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
 
1541
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
 
1542
      __pyx_exc_lineno = __pyx_lineno;
 
1543
      goto __pyx_L5;
 
1544
    }
 
1545
    __pyx_L5:;
 
1546
 
 
1547
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":71
 
1548
 *         return pcls(id_in)
 
1549
 *     finally:
 
1550
 *         H5Pclose_class(clsid)             # <<<<<<<<<<<<<<
 
1551
 * 
 
1552
 * cdef object lockcls(hid_t id_in):
 
1553
 */
 
1554
    __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_clsid); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
 
1555
    __pyx_t_6 = H5Pclose_class(__pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
 
1556
    goto __pyx_L8;
 
1557
    __pyx_L7_error:;
 
1558
    if (__pyx_why == 4) {
 
1559
      Py_XDECREF(__pyx_exc_type);
 
1560
      Py_XDECREF(__pyx_exc_value);
 
1561
      Py_XDECREF(__pyx_exc_tb);
 
1562
    }
 
1563
    goto __pyx_L1_error;
 
1564
    __pyx_L8:;
 
1565
    switch (__pyx_why) {
 
1566
      case 3: goto __pyx_L0;
 
1567
      case 4: {
 
1568
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
 
1569
        __pyx_lineno = __pyx_exc_lineno;
 
1570
        __pyx_exc_type = 0;
 
1571
        __pyx_exc_value = 0;
 
1572
        __pyx_exc_tb = 0;
 
1573
        goto __pyx_L1_error;
 
1574
      }
 
1575
    }
 
1576
  }
 
1577
 
 
1578
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
1579
  goto __pyx_L0;
 
1580
  __pyx_L1_error:;
 
1581
  __Pyx_XDECREF(__pyx_t_2);
 
1582
  __Pyx_XDECREF(__pyx_t_5);
 
1583
  __Pyx_AddTraceback("h5py.h5p.propwrap");
 
1584
  __pyx_r = 0;
 
1585
  __pyx_L0:;
 
1586
  __Pyx_DECREF(__pyx_v_clsid);
 
1587
  __Pyx_DECREF(__pyx_v_pcls);
 
1588
  __Pyx_XGIVEREF(__pyx_r);
 
1589
  __Pyx_FinishRefcountContext();
 
1590
  return __pyx_r;
 
1591
}
 
1592
 
 
1593
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":73
 
1594
 *         H5Pclose_class(clsid)
 
1595
 * 
 
1596
 * cdef object lockcls(hid_t id_in):             # <<<<<<<<<<<<<<
 
1597
 *     cdef PropClassID pid
 
1598
 *     pid = PropClassID(id_in)
 
1599
 */
 
1600
 
 
1601
static  PyObject *__pyx_f_4h5py_3h5p_lockcls(hid_t __pyx_v_id_in) {
 
1602
  struct __pyx_obj_4h5py_3h5p_PropClassID *__pyx_v_pid;
 
1603
  PyObject *__pyx_r = NULL;
 
1604
  PyObject *__pyx_t_1 = NULL;
 
1605
  PyObject *__pyx_t_2 = NULL;
 
1606
  __Pyx_SetupRefcountContext("lockcls");
 
1607
  __pyx_v_pid = ((struct __pyx_obj_4h5py_3h5p_PropClassID *)Py_None); __Pyx_INCREF(Py_None);
 
1608
 
 
1609
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":75
 
1610
 * cdef object lockcls(hid_t id_in):
 
1611
 *     cdef PropClassID pid
 
1612
 *     pid = PropClassID(id_in)             # <<<<<<<<<<<<<<
 
1613
 *     pid._locked = 1
 
1614
 *     return pid
 
1615
 */
 
1616
  __pyx_t_1 = PyInt_FromLong(__pyx_v_id_in); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1617
  __Pyx_GOTREF(__pyx_t_1);
 
1618
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1619
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
1620
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
 
1621
  __Pyx_GIVEREF(__pyx_t_1);
 
1622
  __pyx_t_1 = 0;
 
1623
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropClassID)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1624
  __Pyx_GOTREF(__pyx_t_1);
 
1625
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
1626
  if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5p_PropClassID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1627
  __Pyx_DECREF(((PyObject *)__pyx_v_pid));
 
1628
  __pyx_v_pid = ((struct __pyx_obj_4h5py_3h5p_PropClassID *)__pyx_t_1);
 
1629
  __pyx_t_1 = 0;
 
1630
 
 
1631
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":76
 
1632
 *     cdef PropClassID pid
 
1633
 *     pid = PropClassID(id_in)
 
1634
 *     pid._locked = 1             # <<<<<<<<<<<<<<
 
1635
 *     return pid
 
1636
 * 
 
1637
 */
 
1638
  __pyx_v_pid->__pyx_base.__pyx_base._locked = 1;
 
1639
 
 
1640
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":77
 
1641
 *     pid = PropClassID(id_in)
 
1642
 *     pid._locked = 1
 
1643
 *     return pid             # <<<<<<<<<<<<<<
 
1644
 * 
 
1645
 * 
 
1646
 */
 
1647
  __Pyx_XDECREF(__pyx_r);
 
1648
  __Pyx_INCREF(((PyObject *)__pyx_v_pid));
 
1649
  __pyx_r = ((PyObject *)__pyx_v_pid);
 
1650
  goto __pyx_L0;
 
1651
 
 
1652
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
1653
  goto __pyx_L0;
 
1654
  __pyx_L1_error:;
 
1655
  __Pyx_XDECREF(__pyx_t_1);
 
1656
  __Pyx_XDECREF(__pyx_t_2);
 
1657
  __Pyx_AddTraceback("h5py.h5p.lockcls");
 
1658
  __pyx_r = 0;
 
1659
  __pyx_L0:;
 
1660
  __Pyx_DECREF((PyObject *)__pyx_v_pid);
 
1661
  __Pyx_XGIVEREF(__pyx_r);
 
1662
  __Pyx_FinishRefcountContext();
 
1663
  return __pyx_r;
 
1664
}
 
1665
 
 
1666
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":125
 
1667
 * ELSE:
 
1668
 *     @sync
 
1669
 *     def create(PropClassID cls not None):             # <<<<<<<<<<<<<<
 
1670
 *         """(PropClassID cls) => PropID
 
1671
 * 
 
1672
 */
 
1673
 
 
1674
static PyObject *__pyx_pf_4h5py_3h5p_create(PyObject *__pyx_self, PyObject *__pyx_v_cls); /*proto*/
 
1675
static char __pyx_doc_4h5py_3h5p_create[] = "(PropClassID cls) => PropID\n        \n        Create a new property list as an instance of a class; classes are:\n\n        - FILE_CREATE\n        - FILE_ACCESS\n        - DATASET_CREATE\n        - DATASET_XFER\n        ";
 
1676
static PyObject *__pyx_pf_4h5py_3h5p_create(PyObject *__pyx_self, PyObject *__pyx_v_cls) {
 
1677
  hid_t __pyx_v_newid;
 
1678
  PyObject *__pyx_r = NULL;
 
1679
  hid_t __pyx_t_1;
 
1680
  PyObject *__pyx_t_2 = NULL;
 
1681
  __Pyx_SetupRefcountContext("create");
 
1682
  __pyx_self = __pyx_self;
 
1683
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_cls), __pyx_ptype_4h5py_3h5p_PropClassID, 0, "cls", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1684
 
 
1685
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":136
 
1686
 *         """
 
1687
 *         cdef hid_t newid
 
1688
 *         newid = H5Pcreate(cls.id)             # <<<<<<<<<<<<<<
 
1689
 *         return propwrap(newid)
 
1690
 * 
 
1691
 */
 
1692
  __pyx_t_1 = H5Pcreate(((struct __pyx_obj_4h5py_3h5p_PropClassID *)__pyx_v_cls)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1693
  __pyx_v_newid = __pyx_t_1;
 
1694
 
 
1695
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":137
 
1696
 *         cdef hid_t newid
 
1697
 *         newid = H5Pcreate(cls.id)
 
1698
 *         return propwrap(newid)             # <<<<<<<<<<<<<<
 
1699
 * 
 
1700
 * # === Class API ===============================================================
 
1701
 */
 
1702
  __Pyx_XDECREF(__pyx_r);
 
1703
  __pyx_t_2 = __pyx_f_4h5py_3h5p_propwrap(__pyx_v_newid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1704
  __Pyx_GOTREF(__pyx_t_2);
 
1705
  __pyx_r = __pyx_t_2;
 
1706
  __pyx_t_2 = 0;
 
1707
  goto __pyx_L0;
 
1708
 
 
1709
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
1710
  goto __pyx_L0;
 
1711
  __pyx_L1_error:;
 
1712
  __Pyx_XDECREF(__pyx_t_2);
 
1713
  __Pyx_AddTraceback("h5py.h5p.create");
 
1714
  __pyx_r = NULL;
 
1715
  __pyx_L0:;
 
1716
  __Pyx_XGIVEREF(__pyx_r);
 
1717
  __Pyx_FinishRefcountContext();
 
1718
  return __pyx_r;
 
1719
}
 
1720
 
 
1721
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":148
 
1722
 * 
 
1723
 *     @sync
 
1724
 *     def equal(self, PropID plist not None):             # <<<<<<<<<<<<<<
 
1725
 *         """(PropID plist) => BOOL
 
1726
 * 
 
1727
 */
 
1728
 
 
1729
static PyObject *__pyx_pf_4h5py_3h5p_6PropID_equal(PyObject *__pyx_v_self, PyObject *__pyx_v_plist); /*proto*/
 
1730
static char __pyx_doc_4h5py_3h5p_6PropID_equal[] = "(PropID plist) => BOOL\n\n        Compare this property list (or class) to another for equality.\n        ";
 
1731
static PyObject *__pyx_pf_4h5py_3h5p_6PropID_equal(PyObject *__pyx_v_self, PyObject *__pyx_v_plist) {
 
1732
  PyObject *__pyx_r = NULL;
 
1733
  htri_t __pyx_t_1;
 
1734
  PyObject *__pyx_t_2 = NULL;
 
1735
  __Pyx_SetupRefcountContext("equal");
 
1736
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_plist), __pyx_ptype_4h5py_3h5p_PropID, 0, "plist", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1737
 
 
1738
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":153
 
1739
 *         Compare this property list (or class) to another for equality.
 
1740
 *         """
 
1741
 *         return <bint>(H5Pequal(self.id, plist.id))             # <<<<<<<<<<<<<<
 
1742
 * 
 
1743
 *     def __richcmp__(self, object other, int how):
 
1744
 */
 
1745
  __Pyx_XDECREF(__pyx_r);
 
1746
  __pyx_t_1 = H5Pequal(((struct __pyx_obj_4h5py_3h5p_PropID *)__pyx_v_self)->__pyx_base.id, ((struct __pyx_obj_4h5py_3h5p_PropID *)__pyx_v_plist)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1747
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1748
  __Pyx_GOTREF(__pyx_t_2);
 
1749
  __pyx_r = __pyx_t_2;
 
1750
  __pyx_t_2 = 0;
 
1751
  goto __pyx_L0;
 
1752
 
 
1753
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
1754
  goto __pyx_L0;
 
1755
  __pyx_L1_error:;
 
1756
  __Pyx_XDECREF(__pyx_t_2);
 
1757
  __Pyx_AddTraceback("h5py.h5p.PropID.equal");
 
1758
  __pyx_r = NULL;
 
1759
  __pyx_L0:;
 
1760
  __Pyx_XGIVEREF(__pyx_r);
 
1761
  __Pyx_FinishRefcountContext();
 
1762
  return __pyx_r;
 
1763
}
 
1764
 
 
1765
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":155
 
1766
 *         return <bint>(H5Pequal(self.id, plist.id))
 
1767
 * 
 
1768
 *     def __richcmp__(self, object other, int how):             # <<<<<<<<<<<<<<
 
1769
 *         cdef bint truthval = 0
 
1770
 *         if how != 2 and how != 3:
 
1771
 */
 
1772
 
 
1773
static PyObject *__pyx_pf_4h5py_3h5p_6PropID___richcmp__(PyObject *__pyx_v_self, PyObject *__pyx_v_other, int __pyx_v_how); /*proto*/
 
1774
static PyObject *__pyx_pf_4h5py_3h5p_6PropID___richcmp__(PyObject *__pyx_v_self, PyObject *__pyx_v_other, int __pyx_v_how) {
 
1775
  int __pyx_v_truthval;
 
1776
  PyObject *__pyx_r = NULL;
 
1777
  int __pyx_t_1;
 
1778
  PyObject *__pyx_t_2 = NULL;
 
1779
  PyObject *__pyx_t_3 = NULL;
 
1780
  PyObject *__pyx_t_4 = NULL;
 
1781
  __Pyx_SetupRefcountContext("__richcmp__");
 
1782
 
 
1783
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":156
 
1784
 * 
 
1785
 *     def __richcmp__(self, object other, int how):
 
1786
 *         cdef bint truthval = 0             # <<<<<<<<<<<<<<
 
1787
 *         if how != 2 and how != 3:
 
1788
 *             return NotImplemented
 
1789
 */
 
1790
  __pyx_v_truthval = 0;
 
1791
 
 
1792
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":157
 
1793
 *     def __richcmp__(self, object other, int how):
 
1794
 *         cdef bint truthval = 0
 
1795
 *         if how != 2 and how != 3:             # <<<<<<<<<<<<<<
 
1796
 *             return NotImplemented
 
1797
 *         if type(self) == type(other):
 
1798
 */
 
1799
  if ((__pyx_v_how != 2)) {
 
1800
    __pyx_t_1 = (__pyx_v_how != 3);
 
1801
  } else {
 
1802
    __pyx_t_1 = (__pyx_v_how != 2);
 
1803
  }
 
1804
  if (__pyx_t_1) {
 
1805
 
 
1806
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":158
 
1807
 *         cdef bint truthval = 0
 
1808
 *         if how != 2 and how != 3:
 
1809
 *             return NotImplemented             # <<<<<<<<<<<<<<
 
1810
 *         if type(self) == type(other):
 
1811
 *             truthval = self.equal(other)
 
1812
 */
 
1813
    __Pyx_XDECREF(__pyx_r);
 
1814
    __Pyx_INCREF(__pyx_builtin_NotImplemented);
 
1815
    __pyx_r = __pyx_builtin_NotImplemented;
 
1816
    goto __pyx_L0;
 
1817
    goto __pyx_L5;
 
1818
  }
 
1819
  __pyx_L5:;
 
1820
 
 
1821
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":159
 
1822
 *         if how != 2 and how != 3:
 
1823
 *             return NotImplemented
 
1824
 *         if type(self) == type(other):             # <<<<<<<<<<<<<<
 
1825
 *             truthval = self.equal(other)
 
1826
 * 
 
1827
 */
 
1828
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1829
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
1830
  __Pyx_INCREF(__pyx_v_self);
 
1831
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self);
 
1832
  __Pyx_GIVEREF(__pyx_v_self);
 
1833
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyType_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1834
  __Pyx_GOTREF(__pyx_t_3);
 
1835
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
1836
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1837
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
1838
  __Pyx_INCREF(__pyx_v_other);
 
1839
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_other);
 
1840
  __Pyx_GIVEREF(__pyx_v_other);
 
1841
  __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)&PyType_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1842
  __Pyx_GOTREF(__pyx_t_4);
 
1843
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
1844
  __pyx_t_2 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1845
  __Pyx_GOTREF(__pyx_t_2);
 
1846
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
1847
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
1848
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1849
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
1850
  if (__pyx_t_1) {
 
1851
 
 
1852
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":160
 
1853
 *             return NotImplemented
 
1854
 *         if type(self) == type(other):
 
1855
 *             truthval = self.equal(other)             # <<<<<<<<<<<<<<
 
1856
 * 
 
1857
 *         if how == 2:
 
1858
 */
 
1859
    __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_equal); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1860
    __Pyx_GOTREF(__pyx_t_2);
 
1861
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1862
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
1863
    __Pyx_INCREF(__pyx_v_other);
 
1864
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_other);
 
1865
    __Pyx_GIVEREF(__pyx_v_other);
 
1866
    __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1867
    __Pyx_GOTREF(__pyx_t_3);
 
1868
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
1869
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
1870
    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1871
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
1872
    __pyx_v_truthval = __pyx_t_1;
 
1873
    goto __pyx_L6;
 
1874
  }
 
1875
  __pyx_L6:;
 
1876
 
 
1877
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":162
 
1878
 *             truthval = self.equal(other)
 
1879
 * 
 
1880
 *         if how == 2:             # <<<<<<<<<<<<<<
 
1881
 *             return truthval
 
1882
 *         return not truthval
 
1883
 */
 
1884
  __pyx_t_1 = (__pyx_v_how == 2);
 
1885
  if (__pyx_t_1) {
 
1886
 
 
1887
    /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":163
 
1888
 * 
 
1889
 *         if how == 2:
 
1890
 *             return truthval             # <<<<<<<<<<<<<<
 
1891
 *         return not truthval
 
1892
 * 
 
1893
 */
 
1894
    __Pyx_XDECREF(__pyx_r);
 
1895
    __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_truthval); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1896
    __Pyx_GOTREF(__pyx_t_3);
 
1897
    __pyx_r = __pyx_t_3;
 
1898
    __pyx_t_3 = 0;
 
1899
    goto __pyx_L0;
 
1900
    goto __pyx_L7;
 
1901
  }
 
1902
  __pyx_L7:;
 
1903
 
 
1904
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":164
 
1905
 *         if how == 2:
 
1906
 *             return truthval
 
1907
 *         return not truthval             # <<<<<<<<<<<<<<
 
1908
 * 
 
1909
 *     def __hash__(self):
 
1910
 */
 
1911
  __Pyx_XDECREF(__pyx_r);
 
1912
  __pyx_t_3 = __Pyx_PyBool_FromLong((!__pyx_v_truthval)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1913
  __Pyx_GOTREF(__pyx_t_3);
 
1914
  __pyx_r = __pyx_t_3;
 
1915
  __pyx_t_3 = 0;
 
1916
  goto __pyx_L0;
 
1917
 
 
1918
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
1919
  goto __pyx_L0;
 
1920
  __pyx_L1_error:;
 
1921
  __Pyx_XDECREF(__pyx_t_2);
 
1922
  __Pyx_XDECREF(__pyx_t_3);
 
1923
  __Pyx_XDECREF(__pyx_t_4);
 
1924
  __Pyx_AddTraceback("h5py.h5p.PropID.__richcmp__");
 
1925
  __pyx_r = NULL;
 
1926
  __pyx_L0:;
 
1927
  __Pyx_XGIVEREF(__pyx_r);
 
1928
  __Pyx_FinishRefcountContext();
 
1929
  return __pyx_r;
 
1930
}
 
1931
 
 
1932
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":166
 
1933
 *         return not truthval
 
1934
 * 
 
1935
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 
1936
 *         raise TypeError("Property lists are unhashable")
 
1937
 * 
 
1938
 */
 
1939
 
 
1940
static long __pyx_pf_4h5py_3h5p_6PropID___hash__(PyObject *__pyx_v_self); /*proto*/
 
1941
static long __pyx_pf_4h5py_3h5p_6PropID___hash__(PyObject *__pyx_v_self) {
 
1942
  long __pyx_r;
 
1943
  PyObject *__pyx_t_1 = NULL;
 
1944
  PyObject *__pyx_t_2 = NULL;
 
1945
  __Pyx_SetupRefcountContext("__hash__");
 
1946
 
 
1947
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":167
 
1948
 * 
 
1949
 *     def __hash__(self):
 
1950
 *         raise TypeError("Property lists are unhashable")             # <<<<<<<<<<<<<<
 
1951
 * 
 
1952
 * cdef class PropClassID(PropID):
 
1953
 */
 
1954
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1955
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
1956
  __Pyx_INCREF(__pyx_kp_235);
 
1957
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_235);
 
1958
  __Pyx_GIVEREF(__pyx_kp_235);
 
1959
  __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1960
  __Pyx_GOTREF(__pyx_t_2);
 
1961
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
1962
  __Pyx_Raise(__pyx_t_2, 0, 0);
 
1963
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
1964
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1965
 
 
1966
  __pyx_r = 0;
 
1967
  goto __pyx_L0;
 
1968
  __pyx_L1_error:;
 
1969
  __Pyx_XDECREF(__pyx_t_1);
 
1970
  __Pyx_XDECREF(__pyx_t_2);
 
1971
  __Pyx_AddTraceback("h5py.h5p.PropID.__hash__");
 
1972
  __pyx_r = -1;
 
1973
  __pyx_L0:;
 
1974
  __Pyx_FinishRefcountContext();
 
1975
  return __pyx_r;
 
1976
}
 
1977
 
 
1978
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":178
 
1979
 *     """
 
1980
 * 
 
1981
 *     def __richcmp__(self, object other, int how):             # <<<<<<<<<<<<<<
 
1982
 *         return PropID.__richcmp__(self, other, how)
 
1983
 * 
 
1984
 */
 
1985
 
 
1986
static PyObject *__pyx_pf_4h5py_3h5p_11PropClassID___richcmp__(PyObject *__pyx_v_self, PyObject *__pyx_v_other, int __pyx_v_how); /*proto*/
 
1987
static PyObject *__pyx_pf_4h5py_3h5p_11PropClassID___richcmp__(PyObject *__pyx_v_self, PyObject *__pyx_v_other, int __pyx_v_how) {
 
1988
  PyObject *__pyx_r = NULL;
 
1989
  PyObject *__pyx_t_1 = NULL;
 
1990
  PyObject *__pyx_t_2 = NULL;
 
1991
  PyObject *__pyx_t_3 = NULL;
 
1992
  __Pyx_SetupRefcountContext("__richcmp__");
 
1993
 
 
1994
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":179
 
1995
 * 
 
1996
 *     def __richcmp__(self, object other, int how):
 
1997
 *         return PropID.__richcmp__(self, other, how)             # <<<<<<<<<<<<<<
 
1998
 * 
 
1999
 *     def __hash__(self):
 
2000
 */
 
2001
  __Pyx_XDECREF(__pyx_r);
 
2002
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropID)), __pyx_kp___richcmp__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2003
  __Pyx_GOTREF(__pyx_t_1);
 
2004
  __pyx_t_2 = PyInt_FromLong(__pyx_v_how); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2005
  __Pyx_GOTREF(__pyx_t_2);
 
2006
  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2007
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
2008
  __Pyx_INCREF(__pyx_v_self);
 
2009
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_self);
 
2010
  __Pyx_GIVEREF(__pyx_v_self);
 
2011
  __Pyx_INCREF(__pyx_v_other);
 
2012
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_other);
 
2013
  __Pyx_GIVEREF(__pyx_v_other);
 
2014
  PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
 
2015
  __Pyx_GIVEREF(__pyx_t_2);
 
2016
  __pyx_t_2 = 0;
 
2017
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2018
  __Pyx_GOTREF(__pyx_t_2);
 
2019
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
2020
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
2021
  __pyx_r = __pyx_t_2;
 
2022
  __pyx_t_2 = 0;
 
2023
  goto __pyx_L0;
 
2024
 
 
2025
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2026
  goto __pyx_L0;
 
2027
  __pyx_L1_error:;
 
2028
  __Pyx_XDECREF(__pyx_t_1);
 
2029
  __Pyx_XDECREF(__pyx_t_2);
 
2030
  __Pyx_XDECREF(__pyx_t_3);
 
2031
  __Pyx_AddTraceback("h5py.h5p.PropClassID.__richcmp__");
 
2032
  __pyx_r = NULL;
 
2033
  __pyx_L0:;
 
2034
  __Pyx_XGIVEREF(__pyx_r);
 
2035
  __Pyx_FinishRefcountContext();
 
2036
  return __pyx_r;
 
2037
}
 
2038
 
 
2039
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":181
 
2040
 *         return PropID.__richcmp__(self, other, how)
 
2041
 * 
 
2042
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 
2043
 *         """ Since classes are library-created and immutable, they are uniquely
 
2044
 *             identified by their HDF5 identifiers.
 
2045
 */
 
2046
 
 
2047
static long __pyx_pf_4h5py_3h5p_11PropClassID___hash__(PyObject *__pyx_v_self); /*proto*/
 
2048
static char __pyx_doc_4h5py_3h5p_11PropClassID___hash__[] = " Since classes are library-created and immutable, they are uniquely\n            identified by their HDF5 identifiers.\n        ";
 
2049
static long __pyx_pf_4h5py_3h5p_11PropClassID___hash__(PyObject *__pyx_v_self) {
 
2050
  long __pyx_r;
 
2051
  PyObject *__pyx_t_1 = NULL;
 
2052
  long __pyx_t_2;
 
2053
  __Pyx_SetupRefcountContext("__hash__");
 
2054
 
 
2055
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":185
 
2056
 *             identified by their HDF5 identifiers.
 
2057
 *         """
 
2058
 *         return hash(self.id)             # <<<<<<<<<<<<<<
 
2059
 * 
 
2060
 * cdef class PropInstanceID(PropID):
 
2061
 */
 
2062
  __pyx_t_1 = PyInt_FromLong(((struct __pyx_obj_4h5py_3h5p_PropClassID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2063
  __Pyx_GOTREF(__pyx_t_1);
 
2064
  __pyx_t_2 = PyObject_Hash(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2065
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
2066
  __pyx_r = __pyx_t_2;
 
2067
  goto __pyx_L0;
 
2068
 
 
2069
  __pyx_r = 0;
 
2070
  goto __pyx_L0;
 
2071
  __pyx_L1_error:;
 
2072
  __Pyx_XDECREF(__pyx_t_1);
 
2073
  __Pyx_AddTraceback("h5py.h5p.PropClassID.__hash__");
 
2074
  __pyx_r = -1;
 
2075
  __pyx_L0:;
 
2076
  __Pyx_FinishRefcountContext();
 
2077
  return __pyx_r;
 
2078
}
 
2079
 
 
2080
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":198
 
2081
 * 
 
2082
 *     @sync
 
2083
 *     def copy(self):             # <<<<<<<<<<<<<<
 
2084
 *         """() => PropList newid
 
2085
 * 
 
2086
 */
 
2087
 
 
2088
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID_copy(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2089
static char __pyx_doc_4h5py_3h5p_14PropInstanceID_copy[] = "() => PropList newid\n\n         Create a new copy of an existing property list object.\n        ";
 
2090
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID_copy(PyObject *__pyx_v_self, PyObject *unused) {
 
2091
  PyObject *__pyx_r = NULL;
 
2092
  PyObject *__pyx_t_1 = NULL;
 
2093
  PyObject *__pyx_t_2 = NULL;
 
2094
  hid_t __pyx_t_3;
 
2095
  PyObject *__pyx_t_4 = NULL;
 
2096
  __Pyx_SetupRefcountContext("copy");
 
2097
 
 
2098
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":203
 
2099
 *          Create a new copy of an existing property list object.
 
2100
 *         """
 
2101
 *         return type(self)(H5Pcopy(self.id))             # <<<<<<<<<<<<<<
 
2102
 * 
 
2103
 *     @sync
 
2104
 */
 
2105
  __Pyx_XDECREF(__pyx_r);
 
2106
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2107
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
2108
  __Pyx_INCREF(__pyx_v_self);
 
2109
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self);
 
2110
  __Pyx_GIVEREF(__pyx_v_self);
 
2111
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyType_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2112
  __Pyx_GOTREF(__pyx_t_2);
 
2113
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
2114
  __pyx_t_3 = H5Pcopy(((struct __pyx_obj_4h5py_3h5p_PropInstanceID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2115
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2116
  __Pyx_GOTREF(__pyx_t_1);
 
2117
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2118
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
2119
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
 
2120
  __Pyx_GIVEREF(__pyx_t_1);
 
2121
  __pyx_t_1 = 0;
 
2122
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2123
  __Pyx_GOTREF(__pyx_t_1);
 
2124
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
2125
  __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
2126
  __pyx_r = __pyx_t_1;
 
2127
  __pyx_t_1 = 0;
 
2128
  goto __pyx_L0;
 
2129
 
 
2130
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2131
  goto __pyx_L0;
 
2132
  __pyx_L1_error:;
 
2133
  __Pyx_XDECREF(__pyx_t_1);
 
2134
  __Pyx_XDECREF(__pyx_t_2);
 
2135
  __Pyx_XDECREF(__pyx_t_4);
 
2136
  __Pyx_AddTraceback("h5py.h5p.PropInstanceID.copy");
 
2137
  __pyx_r = NULL;
 
2138
  __pyx_L0:;
 
2139
  __Pyx_XGIVEREF(__pyx_r);
 
2140
  __Pyx_FinishRefcountContext();
 
2141
  return __pyx_r;
 
2142
}
 
2143
 
 
2144
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":206
 
2145
 * 
 
2146
 *     @sync
 
2147
 *     def _close(self):             # <<<<<<<<<<<<<<
 
2148
 *         """()
 
2149
 * 
 
2150
 */
 
2151
 
 
2152
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID__close(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2153
static char __pyx_doc_4h5py_3h5p_14PropInstanceID__close[] = "()\n    \n        Terminate access through this identifier.  You shouldn't have to\n        do this manually, as propery lists are automatically deleted when\n        their Python wrappers are freed.\n        ";
 
2154
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID__close(PyObject *__pyx_v_self, PyObject *unused) {
 
2155
  PyObject *__pyx_r = NULL;
 
2156
  herr_t __pyx_t_1;
 
2157
  __Pyx_SetupRefcountContext("_close");
 
2158
 
 
2159
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":213
 
2160
 *         their Python wrappers are freed.
 
2161
 *         """
 
2162
 *         H5Pclose(self.id)             # <<<<<<<<<<<<<<
 
2163
 * 
 
2164
 *     @sync
 
2165
 */
 
2166
  __pyx_t_1 = H5Pclose(((struct __pyx_obj_4h5py_3h5p_PropInstanceID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2167
 
 
2168
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2169
  goto __pyx_L0;
 
2170
  __pyx_L1_error:;
 
2171
  __Pyx_AddTraceback("h5py.h5p.PropInstanceID._close");
 
2172
  __pyx_r = NULL;
 
2173
  __pyx_L0:;
 
2174
  __Pyx_XGIVEREF(__pyx_r);
 
2175
  __Pyx_FinishRefcountContext();
 
2176
  return __pyx_r;
 
2177
}
 
2178
 
 
2179
/* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":216
 
2180
 * 
 
2181
 *     @sync
 
2182
 *     def get_class(self):             # <<<<<<<<<<<<<<
 
2183
 *         """() => PropClassID
 
2184
 * 
 
2185
 */
 
2186
 
 
2187
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID_get_class(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2188
static char __pyx_doc_4h5py_3h5p_14PropInstanceID_get_class[] = "() => PropClassID\n\n        Determine the class of a property list object.\n        ";
 
2189
static PyObject *__pyx_pf_4h5py_3h5p_14PropInstanceID_get_class(PyObject *__pyx_v_self, PyObject *unused) {
 
2190
  PyObject *__pyx_r = NULL;
 
2191
  int __pyx_t_1;
 
2192
  PyObject *__pyx_t_2 = NULL;
 
2193
  PyObject *__pyx_t_3 = NULL;
 
2194
  __Pyx_SetupRefcountContext("get_class");
 
2195
 
 
2196
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":221
 
2197
 *         Determine the class of a property list object.
 
2198
 *         """
 
2199
 *         return PropClassID(H5Pget_class(self.id))             # <<<<<<<<<<<<<<
 
2200
 * 
 
2201
 * cdef class PropCreateID(PropInstanceID):
 
2202
 */
 
2203
  __Pyx_XDECREF(__pyx_r);
 
2204
  __pyx_t_1 = H5Pget_class(((struct __pyx_obj_4h5py_3h5p_PropInstanceID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2205
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2206
  __Pyx_GOTREF(__pyx_t_2);
 
2207
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2208
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
2209
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
 
2210
  __Pyx_GIVEREF(__pyx_t_2);
 
2211
  __pyx_t_2 = 0;
 
2212
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropClassID)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2213
  __Pyx_GOTREF(__pyx_t_2);
 
2214
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
2215
  __pyx_r = __pyx_t_2;
 
2216
  __pyx_t_2 = 0;
 
2217
  goto __pyx_L0;
 
2218
 
 
2219
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2220
  goto __pyx_L0;
 
2221
  __pyx_L1_error:;
 
2222
  __Pyx_XDECREF(__pyx_t_2);
 
2223
  __Pyx_XDECREF(__pyx_t_3);
 
2224
  __Pyx_AddTraceback("h5py.h5p.PropInstanceID.get_class");
 
2225
  __pyx_r = NULL;
 
2226
  __pyx_L0:;
 
2227
  __Pyx_XGIVEREF(__pyx_r);
 
2228
  __Pyx_FinishRefcountContext();
 
2229
  return __pyx_r;
 
2230
}
 
2231
 
 
2232
/* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":20
 
2233
 * 
 
2234
 *     @sync
 
2235
 *     def get_version(self):             # <<<<<<<<<<<<<<
 
2236
 *         """() => TUPLE version_info
 
2237
 * 
 
2238
 */
 
2239
 
 
2240
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_version(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2241
static char __pyx_doc_4h5py_3h5p_8PropFCID_get_version[] = "() => TUPLE version_info\n\n        Determine version information of various file attributes. \n        Elements are:\n\n        0.  UINT Super block version number\n        1.  UINT Freelist version number\n        2.  UINT Symbol table version number\n        3.  UINT Shared object header version number\n        ";
 
2242
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_version(PyObject *__pyx_v_self, PyObject *unused) {
 
2243
  unsigned int __pyx_v_super_;
 
2244
  unsigned int __pyx_v_freelist;
 
2245
  unsigned int __pyx_v_stab;
 
2246
  unsigned int __pyx_v_shhdr;
 
2247
  PyObject *__pyx_r = NULL;
 
2248
  herr_t __pyx_t_1;
 
2249
  PyObject *__pyx_t_2 = NULL;
 
2250
  PyObject *__pyx_t_3 = NULL;
 
2251
  PyObject *__pyx_t_4 = NULL;
 
2252
  PyObject *__pyx_t_5 = NULL;
 
2253
  PyObject *__pyx_t_6 = NULL;
 
2254
  __Pyx_SetupRefcountContext("get_version");
 
2255
 
 
2256
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":37
 
2257
 *         cdef unsigned int shhdr
 
2258
 * 
 
2259
 *         H5Pget_version(self.id, &super_, &freelist, &stab, &shhdr)             # <<<<<<<<<<<<<<
 
2260
 * 
 
2261
 *         return (super_, freelist, stab, shhdr)
 
2262
 */
 
2263
  __pyx_t_1 = H5Pget_version(((struct __pyx_obj_4h5py_3h5p_PropFCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_super_), (&__pyx_v_freelist), (&__pyx_v_stab), (&__pyx_v_shhdr)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2264
 
 
2265
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":39
 
2266
 *         H5Pget_version(self.id, &super_, &freelist, &stab, &shhdr)
 
2267
 * 
 
2268
 *         return (super_, freelist, stab, shhdr)             # <<<<<<<<<<<<<<
 
2269
 * 
 
2270
 *     @sync
 
2271
 */
 
2272
  __Pyx_XDECREF(__pyx_r);
 
2273
  __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_super_); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2274
  __Pyx_GOTREF(__pyx_t_2);
 
2275
  __pyx_t_3 = PyLong_FromUnsignedLong(__pyx_v_freelist); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2276
  __Pyx_GOTREF(__pyx_t_3);
 
2277
  __pyx_t_4 = PyLong_FromUnsignedLong(__pyx_v_stab); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2278
  __Pyx_GOTREF(__pyx_t_4);
 
2279
  __pyx_t_5 = PyLong_FromUnsignedLong(__pyx_v_shhdr); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2280
  __Pyx_GOTREF(__pyx_t_5);
 
2281
  __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2282
  __Pyx_GOTREF(((PyObject *)__pyx_t_6));
 
2283
  PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
 
2284
  __Pyx_GIVEREF(__pyx_t_2);
 
2285
  PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3);
 
2286
  __Pyx_GIVEREF(__pyx_t_3);
 
2287
  PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4);
 
2288
  __Pyx_GIVEREF(__pyx_t_4);
 
2289
  PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_t_5);
 
2290
  __Pyx_GIVEREF(__pyx_t_5);
 
2291
  __pyx_t_2 = 0;
 
2292
  __pyx_t_3 = 0;
 
2293
  __pyx_t_4 = 0;
 
2294
  __pyx_t_5 = 0;
 
2295
  __pyx_r = ((PyObject *)__pyx_t_6);
 
2296
  __pyx_t_6 = 0;
 
2297
  goto __pyx_L0;
 
2298
 
 
2299
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2300
  goto __pyx_L0;
 
2301
  __pyx_L1_error:;
 
2302
  __Pyx_XDECREF(__pyx_t_2);
 
2303
  __Pyx_XDECREF(__pyx_t_3);
 
2304
  __Pyx_XDECREF(__pyx_t_4);
 
2305
  __Pyx_XDECREF(__pyx_t_5);
 
2306
  __Pyx_XDECREF(__pyx_t_6);
 
2307
  __Pyx_AddTraceback("h5py.h5p.PropFCID.get_version");
 
2308
  __pyx_r = NULL;
 
2309
  __pyx_L0:;
 
2310
  __Pyx_XGIVEREF(__pyx_r);
 
2311
  __Pyx_FinishRefcountContext();
 
2312
  return __pyx_r;
 
2313
}
 
2314
 
 
2315
/* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":42
 
2316
 * 
 
2317
 *     @sync
 
2318
 *     def set_userblock(self, hsize_t size):             # <<<<<<<<<<<<<<
 
2319
 *         """(INT/LONG size)
 
2320
 * 
 
2321
 */
 
2322
 
 
2323
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_set_userblock(PyObject *__pyx_v_self, PyObject *__pyx_arg_size); /*proto*/
 
2324
static char __pyx_doc_4h5py_3h5p_8PropFCID_set_userblock[] = "(INT/LONG size)\n\n        Set the file user block size, in bytes.  \n        Must be a power of 2, and at least 512.\n        ";
 
2325
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_set_userblock(PyObject *__pyx_v_self, PyObject *__pyx_arg_size) {
 
2326
  hsize_t __pyx_v_size;
 
2327
  PyObject *__pyx_r = NULL;
 
2328
  herr_t __pyx_t_1;
 
2329
  __Pyx_SetupRefcountContext("set_userblock");
 
2330
  assert(__pyx_arg_size); {
 
2331
    __pyx_v_size = __Pyx_PyInt_AsLongLong(__pyx_arg_size); if (unlikely((__pyx_v_size == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2332
  }
 
2333
  goto __pyx_L4_argument_unpacking_done;
 
2334
  __pyx_L3_error:;
 
2335
  __Pyx_AddTraceback("h5py.h5p.PropFCID.set_userblock");
 
2336
  return NULL;
 
2337
  __pyx_L4_argument_unpacking_done:;
 
2338
 
 
2339
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":48
 
2340
 *         Must be a power of 2, and at least 512.
 
2341
 *         """
 
2342
 *         H5Pset_userblock(self.id, size)             # <<<<<<<<<<<<<<
 
2343
 * 
 
2344
 *     @sync
 
2345
 */
 
2346
  __pyx_t_1 = H5Pset_userblock(((struct __pyx_obj_4h5py_3h5p_PropFCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2347
 
 
2348
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2349
  goto __pyx_L0;
 
2350
  __pyx_L1_error:;
 
2351
  __Pyx_AddTraceback("h5py.h5p.PropFCID.set_userblock");
 
2352
  __pyx_r = NULL;
 
2353
  __pyx_L0:;
 
2354
  __Pyx_XGIVEREF(__pyx_r);
 
2355
  __Pyx_FinishRefcountContext();
 
2356
  return __pyx_r;
 
2357
}
 
2358
 
 
2359
/* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":51
 
2360
 * 
 
2361
 *     @sync
 
2362
 *     def get_userblock(self):             # <<<<<<<<<<<<<<
 
2363
 *         """() => LONG size
 
2364
 * 
 
2365
 */
 
2366
 
 
2367
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_userblock(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2368
static char __pyx_doc_4h5py_3h5p_8PropFCID_get_userblock[] = "() => LONG size\n\n        Determine the user block size, in bytes.\n        ";
 
2369
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_userblock(PyObject *__pyx_v_self, PyObject *unused) {
 
2370
  hsize_t __pyx_v_size;
 
2371
  PyObject *__pyx_r = NULL;
 
2372
  herr_t __pyx_t_1;
 
2373
  PyObject *__pyx_t_2 = NULL;
 
2374
  __Pyx_SetupRefcountContext("get_userblock");
 
2375
 
 
2376
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":57
 
2377
 *         """
 
2378
 *         cdef hsize_t size
 
2379
 *         H5Pget_userblock(self.id, &size)             # <<<<<<<<<<<<<<
 
2380
 *         return size
 
2381
 * 
 
2382
 */
 
2383
  __pyx_t_1 = H5Pget_userblock(((struct __pyx_obj_4h5py_3h5p_PropFCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_size)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2384
 
 
2385
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":58
 
2386
 *         cdef hsize_t size
 
2387
 *         H5Pget_userblock(self.id, &size)
 
2388
 *         return size             # <<<<<<<<<<<<<<
 
2389
 * 
 
2390
 *     @sync
 
2391
 */
 
2392
  __Pyx_XDECREF(__pyx_r);
 
2393
  __pyx_t_2 = PyLong_FromLongLong(__pyx_v_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2394
  __Pyx_GOTREF(__pyx_t_2);
 
2395
  __pyx_r = __pyx_t_2;
 
2396
  __pyx_t_2 = 0;
 
2397
  goto __pyx_L0;
 
2398
 
 
2399
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2400
  goto __pyx_L0;
 
2401
  __pyx_L1_error:;
 
2402
  __Pyx_XDECREF(__pyx_t_2);
 
2403
  __Pyx_AddTraceback("h5py.h5p.PropFCID.get_userblock");
 
2404
  __pyx_r = NULL;
 
2405
  __pyx_L0:;
 
2406
  __Pyx_XGIVEREF(__pyx_r);
 
2407
  __Pyx_FinishRefcountContext();
 
2408
  return __pyx_r;
 
2409
}
 
2410
 
 
2411
/* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":61
 
2412
 * 
 
2413
 *     @sync
 
2414
 *     def set_sizes(self, size_t addr, size_t size):             # <<<<<<<<<<<<<<
 
2415
 *         """(UINT addr, UINT size)
 
2416
 * 
 
2417
 */
 
2418
 
 
2419
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_set_sizes(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
2420
static char __pyx_doc_4h5py_3h5p_8PropFCID_set_sizes[] = "(UINT addr, UINT size)\n\n        Set the addressing offsets and lengths for objects \n        in an HDF5 file, in bytes.\n        ";
 
2421
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_set_sizes(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
2422
  size_t __pyx_v_addr;
 
2423
  size_t __pyx_v_size;
 
2424
  PyObject *__pyx_r = NULL;
 
2425
  herr_t __pyx_t_1;
 
2426
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_addr,&__pyx_kp_size,0};
 
2427
  __Pyx_SetupRefcountContext("set_sizes");
 
2428
  if (unlikely(__pyx_kwds)) {
 
2429
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
2430
    PyObject* values[2] = {0,0};
 
2431
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
2432
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
2433
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
2434
      case  0: break;
 
2435
      default: goto __pyx_L5_argtuple_error;
 
2436
    }
 
2437
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
2438
      case  0:
 
2439
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_addr);
 
2440
      if (likely(values[0])) kw_args--;
 
2441
      else goto __pyx_L5_argtuple_error;
 
2442
      case  1:
 
2443
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_size);
 
2444
      if (likely(values[1])) kw_args--;
 
2445
      else {
 
2446
        __Pyx_RaiseArgtupleInvalid("set_sizes", 1, 2, 2, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2447
      }
 
2448
    }
 
2449
    if (unlikely(kw_args > 0)) {
 
2450
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_sizes") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2451
    }
 
2452
    __pyx_v_addr = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_addr == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2453
    __pyx_v_size = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2454
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
 
2455
    goto __pyx_L5_argtuple_error;
 
2456
  } else {
 
2457
    __pyx_v_addr = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_addr == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2458
    __pyx_v_size = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2459
  }
 
2460
  goto __pyx_L4_argument_unpacking_done;
 
2461
  __pyx_L5_argtuple_error:;
 
2462
  __Pyx_RaiseArgtupleInvalid("set_sizes", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2463
  __pyx_L3_error:;
 
2464
  __Pyx_AddTraceback("h5py.h5p.PropFCID.set_sizes");
 
2465
  return NULL;
 
2466
  __pyx_L4_argument_unpacking_done:;
 
2467
 
 
2468
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":67
 
2469
 *         in an HDF5 file, in bytes.
 
2470
 *         """
 
2471
 *         H5Pset_sizes(self.id, addr, size)             # <<<<<<<<<<<<<<
 
2472
 * 
 
2473
 *     @sync
 
2474
 */
 
2475
  __pyx_t_1 = H5Pset_sizes(((struct __pyx_obj_4h5py_3h5p_PropFCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_addr, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2476
 
 
2477
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2478
  goto __pyx_L0;
 
2479
  __pyx_L1_error:;
 
2480
  __Pyx_AddTraceback("h5py.h5p.PropFCID.set_sizes");
 
2481
  __pyx_r = NULL;
 
2482
  __pyx_L0:;
 
2483
  __Pyx_XGIVEREF(__pyx_r);
 
2484
  __Pyx_FinishRefcountContext();
 
2485
  return __pyx_r;
 
2486
}
 
2487
 
 
2488
/* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":70
 
2489
 * 
 
2490
 *     @sync
 
2491
 *     def get_sizes(self):             # <<<<<<<<<<<<<<
 
2492
 *         """() => TUPLE sizes
 
2493
 * 
 
2494
 */
 
2495
 
 
2496
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_sizes(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2497
static char __pyx_doc_4h5py_3h5p_8PropFCID_get_sizes[] = "() => TUPLE sizes\n\n        Determine addressing offsets and lengths for objects in an \n        HDF5 file, in bytes.  Return value is a 2-tuple with values:\n\n        0.  UINT Address offsets\n        1.  UINT Lengths\n        ";
 
2498
static PyObject *__pyx_pf_4h5py_3h5p_8PropFCID_get_sizes(PyObject *__pyx_v_self, PyObject *unused) {
 
2499
  size_t __pyx_v_addr;
 
2500
  size_t __pyx_v_size;
 
2501
  PyObject *__pyx_r = NULL;
 
2502
  herr_t __pyx_t_1;
 
2503
  PyObject *__pyx_t_2 = NULL;
 
2504
  PyObject *__pyx_t_3 = NULL;
 
2505
  PyObject *__pyx_t_4 = NULL;
 
2506
  __Pyx_SetupRefcountContext("get_sizes");
 
2507
 
 
2508
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":81
 
2509
 *         cdef size_t addr
 
2510
 *         cdef size_t size
 
2511
 *         H5Pget_sizes(self.id, &addr, &size)             # <<<<<<<<<<<<<<
 
2512
 *         return (addr, size)
 
2513
 * 
 
2514
 */
 
2515
  __pyx_t_1 = H5Pget_sizes(((struct __pyx_obj_4h5py_3h5p_PropFCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_addr), (&__pyx_v_size)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2516
 
 
2517
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":82
 
2518
 *         cdef size_t size
 
2519
 *         H5Pget_sizes(self.id, &addr, &size)
 
2520
 *         return (addr, size)             # <<<<<<<<<<<<<<
 
2521
 * 
 
2522
 */
 
2523
  __Pyx_XDECREF(__pyx_r);
 
2524
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_addr); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2525
  __Pyx_GOTREF(__pyx_t_2);
 
2526
  __pyx_t_3 = __Pyx_PyInt_FromSize_t(__pyx_v_size); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2527
  __Pyx_GOTREF(__pyx_t_3);
 
2528
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2529
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
2530
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
 
2531
  __Pyx_GIVEREF(__pyx_t_2);
 
2532
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
 
2533
  __Pyx_GIVEREF(__pyx_t_3);
 
2534
  __pyx_t_2 = 0;
 
2535
  __pyx_t_3 = 0;
 
2536
  __pyx_r = ((PyObject *)__pyx_t_4);
 
2537
  __pyx_t_4 = 0;
 
2538
  goto __pyx_L0;
 
2539
 
 
2540
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2541
  goto __pyx_L0;
 
2542
  __pyx_L1_error:;
 
2543
  __Pyx_XDECREF(__pyx_t_2);
 
2544
  __Pyx_XDECREF(__pyx_t_3);
 
2545
  __Pyx_XDECREF(__pyx_t_4);
 
2546
  __Pyx_AddTraceback("h5py.h5p.PropFCID.get_sizes");
 
2547
  __pyx_r = NULL;
 
2548
  __pyx_L0:;
 
2549
  __Pyx_XGIVEREF(__pyx_r);
 
2550
  __Pyx_FinishRefcountContext();
 
2551
  return __pyx_r;
 
2552
}
 
2553
 
 
2554
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":20
 
2555
 * 
 
2556
 *     @sync
 
2557
 *     def set_layout(self, int layout_code):             # <<<<<<<<<<<<<<
 
2558
 *         """(INT layout_code)
 
2559
 * 
 
2560
 */
 
2561
 
 
2562
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_layout(PyObject *__pyx_v_self, PyObject *__pyx_arg_layout_code); /*proto*/
 
2563
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_layout[] = "(INT layout_code)\n\n        Set dataset storage strategy; legal values are:\n\n        - h5d.COMPACT\n        - h5d.CONTIGUOUS\n        - h5d.CHUNKED\n        ";
 
2564
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_layout(PyObject *__pyx_v_self, PyObject *__pyx_arg_layout_code) {
 
2565
  int __pyx_v_layout_code;
 
2566
  PyObject *__pyx_r = NULL;
 
2567
  herr_t __pyx_t_1;
 
2568
  __Pyx_SetupRefcountContext("set_layout");
 
2569
  assert(__pyx_arg_layout_code); {
 
2570
    __pyx_v_layout_code = __Pyx_PyInt_AsInt(__pyx_arg_layout_code); if (unlikely((__pyx_v_layout_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2571
  }
 
2572
  goto __pyx_L4_argument_unpacking_done;
 
2573
  __pyx_L3_error:;
 
2574
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_layout");
 
2575
  return NULL;
 
2576
  __pyx_L4_argument_unpacking_done:;
 
2577
 
 
2578
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":29
 
2579
 *         - h5d.CHUNKED
 
2580
 *         """
 
2581
 *         H5Pset_layout(self.id, layout_code)             # <<<<<<<<<<<<<<
 
2582
 * 
 
2583
 *     @sync
 
2584
 */
 
2585
  __pyx_t_1 = H5Pset_layout(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_layout_code); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2586
 
 
2587
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2588
  goto __pyx_L0;
 
2589
  __pyx_L1_error:;
 
2590
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_layout");
 
2591
  __pyx_r = NULL;
 
2592
  __pyx_L0:;
 
2593
  __Pyx_XGIVEREF(__pyx_r);
 
2594
  __Pyx_FinishRefcountContext();
 
2595
  return __pyx_r;
 
2596
}
 
2597
 
 
2598
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":32
 
2599
 * 
 
2600
 *     @sync
 
2601
 *     def get_layout(self):             # <<<<<<<<<<<<<<
 
2602
 *         """() => INT layout_code
 
2603
 * 
 
2604
 */
 
2605
 
 
2606
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_layout(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2607
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_layout[] = "() => INT layout_code\n\n        Determine the storage strategy of a dataset; legal values are:\n\n        - h5d.COMPACT\n        - h5d.CONTIGUOUS\n        - h5d.CHUNKED\n        ";
 
2608
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_layout(PyObject *__pyx_v_self, PyObject *unused) {
 
2609
  PyObject *__pyx_r = NULL;
 
2610
  H5D_layout_t __pyx_t_1;
 
2611
  PyObject *__pyx_t_2 = NULL;
 
2612
  __Pyx_SetupRefcountContext("get_layout");
 
2613
 
 
2614
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":41
 
2615
 *         - h5d.CHUNKED
 
2616
 *         """
 
2617
 *         return <int>H5Pget_layout(self.id)             # <<<<<<<<<<<<<<
 
2618
 * 
 
2619
 *     @sync
 
2620
 */
 
2621
  __Pyx_XDECREF(__pyx_r);
 
2622
  __pyx_t_1 = H5Pget_layout(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2623
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2624
  __Pyx_GOTREF(__pyx_t_2);
 
2625
  __pyx_r = __pyx_t_2;
 
2626
  __pyx_t_2 = 0;
 
2627
  goto __pyx_L0;
 
2628
 
 
2629
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2630
  goto __pyx_L0;
 
2631
  __pyx_L1_error:;
 
2632
  __Pyx_XDECREF(__pyx_t_2);
 
2633
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_layout");
 
2634
  __pyx_r = NULL;
 
2635
  __pyx_L0:;
 
2636
  __Pyx_XGIVEREF(__pyx_r);
 
2637
  __Pyx_FinishRefcountContext();
 
2638
  return __pyx_r;
 
2639
}
 
2640
 
 
2641
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":44
 
2642
 * 
 
2643
 *     @sync
 
2644
 *     def set_chunk(self, object chunksize):             # <<<<<<<<<<<<<<
 
2645
 *         """(TUPLE chunksize)
 
2646
 * 
 
2647
 */
 
2648
 
 
2649
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_chunk(PyObject *__pyx_v_self, PyObject *__pyx_v_chunksize); /*proto*/
 
2650
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_chunk[] = "(TUPLE chunksize)\n\n        Set the dataset chunk size.  It's up to you to provide \n        values which are compatible with your dataset.\n        ";
 
2651
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_chunk(PyObject *__pyx_v_self, PyObject *__pyx_v_chunksize) {
 
2652
  int __pyx_v_rank;
 
2653
  hsize_t *__pyx_v_dims;
 
2654
  PyObject *__pyx_r = NULL;
 
2655
  int __pyx_t_1;
 
2656
  Py_ssize_t __pyx_t_2;
 
2657
  void *__pyx_t_3;
 
2658
  herr_t __pyx_t_4;
 
2659
  __Pyx_SetupRefcountContext("set_chunk");
 
2660
 
 
2661
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":52
 
2662
 *         cdef int rank
 
2663
 *         cdef hsize_t* dims
 
2664
 *         dims = NULL             # <<<<<<<<<<<<<<
 
2665
 * 
 
2666
 *         require_tuple(chunksize, 0, -1, "chunksize")
 
2667
 */
 
2668
  __pyx_v_dims = NULL;
 
2669
 
 
2670
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":54
 
2671
 *         dims = NULL
 
2672
 * 
 
2673
 *         require_tuple(chunksize, 0, -1, "chunksize")             # <<<<<<<<<<<<<<
 
2674
 *         rank = len(chunksize)
 
2675
 * 
 
2676
 */
 
2677
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_chunksize, 0, -1, __pyx_k_236); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2678
 
 
2679
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":55
 
2680
 * 
 
2681
 *         require_tuple(chunksize, 0, -1, "chunksize")
 
2682
 *         rank = len(chunksize)             # <<<<<<<<<<<<<<
 
2683
 * 
 
2684
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2685
 */
 
2686
  __pyx_t_2 = PyObject_Length(__pyx_v_chunksize); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2687
  __pyx_v_rank = __pyx_t_2;
 
2688
 
 
2689
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":57
 
2690
 *         rank = len(chunksize)
 
2691
 * 
 
2692
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
 
2693
 *         try:
 
2694
 *             convert_tuple(chunksize, dims, rank)
 
2695
 */
 
2696
  __pyx_t_3 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_3 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2697
  __pyx_v_dims = ((hsize_t *)__pyx_t_3);
 
2698
 
 
2699
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":58
 
2700
 * 
 
2701
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2702
 *         try:             # <<<<<<<<<<<<<<
 
2703
 *             convert_tuple(chunksize, dims, rank)
 
2704
 *             H5Pset_chunk(self.id, rank, dims)
 
2705
 */
 
2706
  /*try:*/ {
 
2707
 
 
2708
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":59
 
2709
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2710
 *         try:
 
2711
 *             convert_tuple(chunksize, dims, rank)             # <<<<<<<<<<<<<<
 
2712
 *             H5Pset_chunk(self.id, rank, dims)
 
2713
 *         finally:
 
2714
 */
 
2715
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_tuple(__pyx_v_chunksize, __pyx_v_dims, __pyx_v_rank); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
2716
 
 
2717
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":60
 
2718
 *         try:
 
2719
 *             convert_tuple(chunksize, dims, rank)
 
2720
 *             H5Pset_chunk(self.id, rank, dims)             # <<<<<<<<<<<<<<
 
2721
 *         finally:
 
2722
 *             efree(dims)
 
2723
 */
 
2724
    __pyx_t_4 = H5Pset_chunk(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_rank, __pyx_v_dims); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
2725
  }
 
2726
  /*finally:*/ {
 
2727
    int __pyx_why;
 
2728
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
 
2729
    int __pyx_exc_lineno;
 
2730
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
2731
    __pyx_why = 0; goto __pyx_L7;
 
2732
    __pyx_L6: {
 
2733
      __pyx_why = 4;
 
2734
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
 
2735
      __pyx_exc_lineno = __pyx_lineno;
 
2736
      goto __pyx_L7;
 
2737
    }
 
2738
    __pyx_L7:;
 
2739
 
 
2740
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":62
 
2741
 *             H5Pset_chunk(self.id, rank, dims)
 
2742
 *         finally:
 
2743
 *             efree(dims)             # <<<<<<<<<<<<<<
 
2744
 * 
 
2745
 *     @sync
 
2746
 */
 
2747
    __pyx_f_4h5py_5utils_efree(__pyx_v_dims);
 
2748
    switch (__pyx_why) {
 
2749
      case 4: {
 
2750
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
 
2751
        __pyx_lineno = __pyx_exc_lineno;
 
2752
        __pyx_exc_type = 0;
 
2753
        __pyx_exc_value = 0;
 
2754
        __pyx_exc_tb = 0;
 
2755
        goto __pyx_L1_error;
 
2756
      }
 
2757
    }
 
2758
  }
 
2759
 
 
2760
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2761
  goto __pyx_L0;
 
2762
  __pyx_L1_error:;
 
2763
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_chunk");
 
2764
  __pyx_r = NULL;
 
2765
  __pyx_L0:;
 
2766
  __Pyx_XGIVEREF(__pyx_r);
 
2767
  __Pyx_FinishRefcountContext();
 
2768
  return __pyx_r;
 
2769
}
 
2770
 
 
2771
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":65
 
2772
 * 
 
2773
 *     @sync
 
2774
 *     def get_chunk(self):             # <<<<<<<<<<<<<<
 
2775
 *         """() => TUPLE chunk_dimensions
 
2776
 * 
 
2777
 */
 
2778
 
 
2779
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_chunk(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
2780
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_chunk[] = "() => TUPLE chunk_dimensions\n\n        Obtain the dataset chunk size, as a tuple.\n        ";
 
2781
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_chunk(PyObject *__pyx_v_self, PyObject *unused) {
 
2782
  int __pyx_v_rank;
 
2783
  hsize_t *__pyx_v_dims;
 
2784
  PyObject *__pyx_v_tpl;
 
2785
  PyObject *__pyx_r = NULL;
 
2786
  int __pyx_t_1;
 
2787
  void *__pyx_t_2;
 
2788
  PyObject *__pyx_t_3 = NULL;
 
2789
  __Pyx_SetupRefcountContext("get_chunk");
 
2790
  __pyx_v_tpl = Py_None; __Pyx_INCREF(Py_None);
 
2791
 
 
2792
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":73
 
2793
 *         cdef hsize_t *dims
 
2794
 * 
 
2795
 *         rank = H5Pget_chunk(self.id, 0, NULL)             # <<<<<<<<<<<<<<
 
2796
 *         assert rank >= 0
 
2797
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2798
 */
 
2799
  __pyx_t_1 = H5Pget_chunk(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, 0, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2800
  __pyx_v_rank = __pyx_t_1;
 
2801
 
 
2802
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":74
 
2803
 * 
 
2804
 *         rank = H5Pget_chunk(self.id, 0, NULL)
 
2805
 *         assert rank >= 0             # <<<<<<<<<<<<<<
 
2806
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2807
 * 
 
2808
 */
 
2809
  #ifndef PYREX_WITHOUT_ASSERTIONS
 
2810
  if (unlikely(!(__pyx_v_rank >= 0))) {
 
2811
    PyErr_SetNone(PyExc_AssertionError);
 
2812
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2813
  }
 
2814
  #endif
 
2815
 
 
2816
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":75
 
2817
 *         rank = H5Pget_chunk(self.id, 0, NULL)
 
2818
 *         assert rank >= 0
 
2819
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
 
2820
 * 
 
2821
 *         try:
 
2822
 */
 
2823
  __pyx_t_2 = __pyx_f_4h5py_5utils_emalloc(((sizeof(hsize_t)) * __pyx_v_rank)); if (unlikely(__pyx_t_2 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2824
  __pyx_v_dims = ((hsize_t *)__pyx_t_2);
 
2825
 
 
2826
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":77
 
2827
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
 
2828
 * 
 
2829
 *         try:             # <<<<<<<<<<<<<<
 
2830
 *             H5Pget_chunk(self.id, rank, dims)
 
2831
 *             tpl = convert_dims(dims, rank)
 
2832
 */
 
2833
  /*try:*/ {
 
2834
 
 
2835
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":78
 
2836
 * 
 
2837
 *         try:
 
2838
 *             H5Pget_chunk(self.id, rank, dims)             # <<<<<<<<<<<<<<
 
2839
 *             tpl = convert_dims(dims, rank)
 
2840
 *             return tpl
 
2841
 */
 
2842
    __pyx_t_1 = H5Pget_chunk(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_rank, __pyx_v_dims); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
2843
 
 
2844
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":79
 
2845
 *         try:
 
2846
 *             H5Pget_chunk(self.id, rank, dims)
 
2847
 *             tpl = convert_dims(dims, rank)             # <<<<<<<<<<<<<<
 
2848
 *             return tpl
 
2849
 *         finally:
 
2850
 */
 
2851
    __pyx_t_3 = __pyx_f_4h5py_5utils_convert_dims(__pyx_v_dims, __pyx_v_rank); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
2852
    __Pyx_GOTREF(__pyx_t_3);
 
2853
    __Pyx_DECREF(__pyx_v_tpl);
 
2854
    __pyx_v_tpl = __pyx_t_3;
 
2855
    __pyx_t_3 = 0;
 
2856
 
 
2857
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":80
 
2858
 *             H5Pget_chunk(self.id, rank, dims)
 
2859
 *             tpl = convert_dims(dims, rank)
 
2860
 *             return tpl             # <<<<<<<<<<<<<<
 
2861
 *         finally:
 
2862
 *             efree(dims)
 
2863
 */
 
2864
    __Pyx_XDECREF(__pyx_r);
 
2865
    __Pyx_INCREF(__pyx_v_tpl);
 
2866
    __pyx_r = __pyx_v_tpl;
 
2867
    goto __pyx_L5;
 
2868
  }
 
2869
  /*finally:*/ {
 
2870
    int __pyx_why;
 
2871
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
 
2872
    int __pyx_exc_lineno;
 
2873
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
2874
    __pyx_why = 0; goto __pyx_L7;
 
2875
    __pyx_L5: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
2876
    __pyx_why = 3; goto __pyx_L7;
 
2877
    __pyx_L6: {
 
2878
      __pyx_why = 4;
 
2879
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
2880
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
 
2881
      __pyx_exc_lineno = __pyx_lineno;
 
2882
      goto __pyx_L7;
 
2883
    }
 
2884
    __pyx_L7:;
 
2885
 
 
2886
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":82
 
2887
 *             return tpl
 
2888
 *         finally:
 
2889
 *             efree(dims)             # <<<<<<<<<<<<<<
 
2890
 * 
 
2891
 *     @sync
 
2892
 */
 
2893
    __pyx_f_4h5py_5utils_efree(__pyx_v_dims);
 
2894
    switch (__pyx_why) {
 
2895
      case 3: goto __pyx_L0;
 
2896
      case 4: {
 
2897
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
 
2898
        __pyx_lineno = __pyx_exc_lineno;
 
2899
        __pyx_exc_type = 0;
 
2900
        __pyx_exc_value = 0;
 
2901
        __pyx_exc_tb = 0;
 
2902
        goto __pyx_L1_error;
 
2903
      }
 
2904
    }
 
2905
  }
 
2906
 
 
2907
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2908
  goto __pyx_L0;
 
2909
  __pyx_L1_error:;
 
2910
  __Pyx_XDECREF(__pyx_t_3);
 
2911
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_chunk");
 
2912
  __pyx_r = NULL;
 
2913
  __pyx_L0:;
 
2914
  __Pyx_DECREF(__pyx_v_tpl);
 
2915
  __Pyx_XGIVEREF(__pyx_r);
 
2916
  __Pyx_FinishRefcountContext();
 
2917
  return __pyx_r;
 
2918
}
 
2919
 
 
2920
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":85
 
2921
 * 
 
2922
 *     @sync
 
2923
 *     def set_fill_value(self, ndarray value not None):             # <<<<<<<<<<<<<<
 
2924
 *         """(NDARRAY value)
 
2925
 * 
 
2926
 */
 
2927
 
 
2928
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_value(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
 
2929
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_fill_value[] = "(NDARRAY value)\n\n        Set the dataset fill value.  The object provided should be an\n        0-dimensional NumPy array; otherwise, the value will be read from\n        the first element.\n        ";
 
2930
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_value(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
 
2931
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_tid;
 
2932
  PyObject *__pyx_r = NULL;
 
2933
  struct __pyx_opt_args_4h5py_5utils_check_numpy_read __pyx_1;
 
2934
  int __pyx_t_1;
 
2935
  PyObject *__pyx_t_2 = NULL;
 
2936
  PyObject *__pyx_t_3 = NULL;
 
2937
  herr_t __pyx_t_4;
 
2938
  __Pyx_SetupRefcountContext("set_fill_value");
 
2939
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
 
2940
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_value), __pyx_ptype_4h5py_5numpy_ndarray, 0, "value", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2941
 
 
2942
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":94
 
2943
 *         cdef TypeID tid
 
2944
 * 
 
2945
 *         check_numpy_read(value, -1)             # <<<<<<<<<<<<<<
 
2946
 *         tid = py_create(value.dtype)
 
2947
 *         H5Pset_fill_value(self.id, tid.id, value.data)
 
2948
 */
 
2949
  __pyx_1.__pyx_n = 1;
 
2950
  __pyx_1.space_id = -1;
 
2951
  __pyx_t_1 = __pyx_f_4h5py_5utils_check_numpy_read(((PyArrayObject *)__pyx_v_value), 0, &__pyx_1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2952
 
 
2953
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":95
 
2954
 * 
 
2955
 *         check_numpy_read(value, -1)
 
2956
 *         tid = py_create(value.dtype)             # <<<<<<<<<<<<<<
 
2957
 *         H5Pset_fill_value(self.id, tid.id, value.data)
 
2958
 * 
 
2959
 */
 
2960
  __pyx_t_2 = PyObject_GetAttr(__pyx_v_value, __pyx_kp_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2961
  __Pyx_GOTREF(__pyx_t_2);
 
2962
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_t_2, 0, NULL)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2963
  __Pyx_GOTREF(__pyx_t_3);
 
2964
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
2965
  __Pyx_DECREF(((PyObject *)__pyx_v_tid));
 
2966
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
 
2967
  __pyx_t_3 = 0;
 
2968
 
 
2969
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":96
 
2970
 *         check_numpy_read(value, -1)
 
2971
 *         tid = py_create(value.dtype)
 
2972
 *         H5Pset_fill_value(self.id, tid.id, value.data)             # <<<<<<<<<<<<<<
 
2973
 * 
 
2974
 *     @sync
 
2975
 */
 
2976
  __pyx_t_4 = H5Pset_fill_value(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_tid->__pyx_base.id, ((PyArrayObject *)__pyx_v_value)->data); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2977
 
 
2978
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
2979
  goto __pyx_L0;
 
2980
  __pyx_L1_error:;
 
2981
  __Pyx_XDECREF(__pyx_t_2);
 
2982
  __Pyx_XDECREF(__pyx_t_3);
 
2983
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_fill_value");
 
2984
  __pyx_r = NULL;
 
2985
  __pyx_L0:;
 
2986
  __Pyx_DECREF((PyObject *)__pyx_v_tid);
 
2987
  __Pyx_XGIVEREF(__pyx_r);
 
2988
  __Pyx_FinishRefcountContext();
 
2989
  return __pyx_r;
 
2990
}
 
2991
 
 
2992
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":99
 
2993
 * 
 
2994
 *     @sync
 
2995
 *     def get_fill_value(self, ndarray value not None):             # <<<<<<<<<<<<<<
 
2996
 *         """(NDARRAY value)
 
2997
 * 
 
2998
 */
 
2999
 
 
3000
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_value(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
 
3001
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_fill_value[] = "(NDARRAY value)\n\n        Read the dataset fill value into a NumPy array.  It will be\n        converted to match the array dtype.  If the array has nonzero\n        rank, only the first element will contain the value.\n        ";
 
3002
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_value(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
 
3003
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_tid;
 
3004
  PyObject *__pyx_r = NULL;
 
3005
  struct __pyx_opt_args_4h5py_5utils_check_numpy_write __pyx_1;
 
3006
  int __pyx_t_1;
 
3007
  PyObject *__pyx_t_2 = NULL;
 
3008
  PyObject *__pyx_t_3 = NULL;
 
3009
  herr_t __pyx_t_4;
 
3010
  __Pyx_SetupRefcountContext("get_fill_value");
 
3011
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
 
3012
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_value), __pyx_ptype_4h5py_5numpy_ndarray, 0, "value", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3013
 
 
3014
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":108
 
3015
 *         cdef TypeID tid
 
3016
 * 
 
3017
 *         check_numpy_write(value, -1)             # <<<<<<<<<<<<<<
 
3018
 *         tid = py_create(value.dtype)
 
3019
 *         H5Pget_fill_value(self.id, tid.id, value.data)
 
3020
 */
 
3021
  __pyx_1.__pyx_n = 1;
 
3022
  __pyx_1.space_id = -1;
 
3023
  __pyx_t_1 = __pyx_f_4h5py_5utils_check_numpy_write(((PyArrayObject *)__pyx_v_value), 0, &__pyx_1); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3024
 
 
3025
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":109
 
3026
 * 
 
3027
 *         check_numpy_write(value, -1)
 
3028
 *         tid = py_create(value.dtype)             # <<<<<<<<<<<<<<
 
3029
 *         H5Pget_fill_value(self.id, tid.id, value.data)
 
3030
 * 
 
3031
 */
 
3032
  __pyx_t_2 = PyObject_GetAttr(__pyx_v_value, __pyx_kp_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3033
  __Pyx_GOTREF(__pyx_t_2);
 
3034
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_t_2, 0, NULL)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3035
  __Pyx_GOTREF(__pyx_t_3);
 
3036
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
3037
  __Pyx_DECREF(((PyObject *)__pyx_v_tid));
 
3038
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
 
3039
  __pyx_t_3 = 0;
 
3040
 
 
3041
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":110
 
3042
 *         check_numpy_write(value, -1)
 
3043
 *         tid = py_create(value.dtype)
 
3044
 *         H5Pget_fill_value(self.id, tid.id, value.data)             # <<<<<<<<<<<<<<
 
3045
 * 
 
3046
 *     @sync
 
3047
 */
 
3048
  __pyx_t_4 = H5Pget_fill_value(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_tid->__pyx_base.id, ((PyArrayObject *)__pyx_v_value)->data); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3049
 
 
3050
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3051
  goto __pyx_L0;
 
3052
  __pyx_L1_error:;
 
3053
  __Pyx_XDECREF(__pyx_t_2);
 
3054
  __Pyx_XDECREF(__pyx_t_3);
 
3055
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_fill_value");
 
3056
  __pyx_r = NULL;
 
3057
  __pyx_L0:;
 
3058
  __Pyx_DECREF((PyObject *)__pyx_v_tid);
 
3059
  __Pyx_XGIVEREF(__pyx_r);
 
3060
  __Pyx_FinishRefcountContext();
 
3061
  return __pyx_r;
 
3062
}
 
3063
 
 
3064
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":113
 
3065
 * 
 
3066
 *     @sync
 
3067
 *     def fill_value_defined(self):             # <<<<<<<<<<<<<<
 
3068
 *         """() => INT fill_status
 
3069
 * 
 
3070
 */
 
3071
 
 
3072
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_fill_value_defined(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3073
static char __pyx_doc_4h5py_3h5p_8PropDCID_fill_value_defined[] = "() => INT fill_status\n\n        Determine the status of the dataset fill value.  Return values are:\n\n        - h5d.FILL_VALUE_UNDEFINED\n        - h5d.FILL_VALUE_DEFAULT\n        - h5d.FILL_VALUE_USER_DEFINED\n        ";
 
3074
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_fill_value_defined(PyObject *__pyx_v_self, PyObject *unused) {
 
3075
  H5D_fill_value_t __pyx_v_val;
 
3076
  PyObject *__pyx_r = NULL;
 
3077
  herr_t __pyx_t_1;
 
3078
  PyObject *__pyx_t_2 = NULL;
 
3079
  __Pyx_SetupRefcountContext("fill_value_defined");
 
3080
 
 
3081
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":123
 
3082
 *         """
 
3083
 *         cdef H5D_fill_value_t val
 
3084
 *         H5Pfill_value_defined(self.id, &val)             # <<<<<<<<<<<<<<
 
3085
 *         return <int>val
 
3086
 * 
 
3087
 */
 
3088
  __pyx_t_1 = H5Pfill_value_defined(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_val)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3089
 
 
3090
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":124
 
3091
 *         cdef H5D_fill_value_t val
 
3092
 *         H5Pfill_value_defined(self.id, &val)
 
3093
 *         return <int>val             # <<<<<<<<<<<<<<
 
3094
 * 
 
3095
 *     @sync
 
3096
 */
 
3097
  __Pyx_XDECREF(__pyx_r);
 
3098
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_val)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3099
  __Pyx_GOTREF(__pyx_t_2);
 
3100
  __pyx_r = __pyx_t_2;
 
3101
  __pyx_t_2 = 0;
 
3102
  goto __pyx_L0;
 
3103
 
 
3104
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3105
  goto __pyx_L0;
 
3106
  __pyx_L1_error:;
 
3107
  __Pyx_XDECREF(__pyx_t_2);
 
3108
  __Pyx_AddTraceback("h5py.h5p.PropDCID.fill_value_defined");
 
3109
  __pyx_r = NULL;
 
3110
  __pyx_L0:;
 
3111
  __Pyx_XGIVEREF(__pyx_r);
 
3112
  __Pyx_FinishRefcountContext();
 
3113
  return __pyx_r;
 
3114
}
 
3115
 
 
3116
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":127
 
3117
 * 
 
3118
 *     @sync
 
3119
 *     def set_fill_time(self, int fill_time):             # <<<<<<<<<<<<<<
 
3120
 *         """(INT fill_time)
 
3121
 * 
 
3122
 */
 
3123
 
 
3124
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_time(PyObject *__pyx_v_self, PyObject *__pyx_arg_fill_time); /*proto*/
 
3125
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_fill_time[] = "(INT fill_time)\n\n        Define when fill values are written to the dataset.  Legal\n        values (defined in module h5d) are:\n\n        - h5d.FILL_TIME_ALLOC\n        - h5d.FILL_TIME_NEVER\n        - h5d.FILL_TIME_IFSET\n        ";
 
3126
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_time(PyObject *__pyx_v_self, PyObject *__pyx_arg_fill_time) {
 
3127
  int __pyx_v_fill_time;
 
3128
  PyObject *__pyx_r = NULL;
 
3129
  herr_t __pyx_t_1;
 
3130
  __Pyx_SetupRefcountContext("set_fill_time");
 
3131
  assert(__pyx_arg_fill_time); {
 
3132
    __pyx_v_fill_time = __Pyx_PyInt_AsInt(__pyx_arg_fill_time); if (unlikely((__pyx_v_fill_time == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3133
  }
 
3134
  goto __pyx_L4_argument_unpacking_done;
 
3135
  __pyx_L3_error:;
 
3136
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_fill_time");
 
3137
  return NULL;
 
3138
  __pyx_L4_argument_unpacking_done:;
 
3139
 
 
3140
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":137
 
3141
 *         - h5d.FILL_TIME_IFSET
 
3142
 *         """
 
3143
 *         H5Pset_fill_time(self.id, <H5D_fill_time_t>fill_time)             # <<<<<<<<<<<<<<
 
3144
 * 
 
3145
 *     @sync
 
3146
 */
 
3147
  __pyx_t_1 = H5Pset_fill_time(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, ((H5D_fill_time_t)__pyx_v_fill_time)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3148
 
 
3149
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3150
  goto __pyx_L0;
 
3151
  __pyx_L1_error:;
 
3152
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_fill_time");
 
3153
  __pyx_r = NULL;
 
3154
  __pyx_L0:;
 
3155
  __Pyx_XGIVEREF(__pyx_r);
 
3156
  __Pyx_FinishRefcountContext();
 
3157
  return __pyx_r;
 
3158
}
 
3159
 
 
3160
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":140
 
3161
 * 
 
3162
 *     @sync
 
3163
 *     def get_fill_time(self):             # <<<<<<<<<<<<<<
 
3164
 *         """ () => INT
 
3165
 * 
 
3166
 */
 
3167
 
 
3168
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_time(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3169
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_fill_time[] = " () => INT\n\n        Determine when fill values are written to the dataset.  Legal\n        values (defined in module h5d) are:\n\n        - h5d.FILL_TIME_ALLOC\n        - h5d.FILL_TIME_NEVER\n        - h5d.FILL_TIME_IFSET\n        ";
 
3170
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_time(PyObject *__pyx_v_self, PyObject *unused) {
 
3171
  H5D_fill_time_t __pyx_v_fill_time;
 
3172
  PyObject *__pyx_r = NULL;
 
3173
  herr_t __pyx_t_1;
 
3174
  PyObject *__pyx_t_2 = NULL;
 
3175
  __Pyx_SetupRefcountContext("get_fill_time");
 
3176
 
 
3177
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":151
 
3178
 *         """
 
3179
 *         cdef H5D_fill_time_t fill_time
 
3180
 *         H5Pget_fill_time(self.id, &fill_time)             # <<<<<<<<<<<<<<
 
3181
 *         return <int>fill_time
 
3182
 * 
 
3183
 */
 
3184
  __pyx_t_1 = H5Pget_fill_time(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_fill_time)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3185
 
 
3186
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":152
 
3187
 *         cdef H5D_fill_time_t fill_time
 
3188
 *         H5Pget_fill_time(self.id, &fill_time)
 
3189
 *         return <int>fill_time             # <<<<<<<<<<<<<<
 
3190
 * 
 
3191
 *     @sync
 
3192
 */
 
3193
  __Pyx_XDECREF(__pyx_r);
 
3194
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_fill_time)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3195
  __Pyx_GOTREF(__pyx_t_2);
 
3196
  __pyx_r = __pyx_t_2;
 
3197
  __pyx_t_2 = 0;
 
3198
  goto __pyx_L0;
 
3199
 
 
3200
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3201
  goto __pyx_L0;
 
3202
  __pyx_L1_error:;
 
3203
  __Pyx_XDECREF(__pyx_t_2);
 
3204
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_fill_time");
 
3205
  __pyx_r = NULL;
 
3206
  __pyx_L0:;
 
3207
  __Pyx_XGIVEREF(__pyx_r);
 
3208
  __Pyx_FinishRefcountContext();
 
3209
  return __pyx_r;
 
3210
}
 
3211
 
 
3212
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":155
 
3213
 * 
 
3214
 *     @sync
 
3215
 *     def set_alloc_time(self, int alloc_time):             # <<<<<<<<<<<<<<
 
3216
 *         """(INT alloc_time)
 
3217
 * 
 
3218
 */
 
3219
 
 
3220
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_alloc_time(PyObject *__pyx_v_self, PyObject *__pyx_arg_alloc_time); /*proto*/
 
3221
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_alloc_time[] = "(INT alloc_time)\n\n        Set the storage space allocation time.  One of h5d.ALLOC_TIME*.\n        ";
 
3222
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_alloc_time(PyObject *__pyx_v_self, PyObject *__pyx_arg_alloc_time) {
 
3223
  int __pyx_v_alloc_time;
 
3224
  PyObject *__pyx_r = NULL;
 
3225
  herr_t __pyx_t_1;
 
3226
  __Pyx_SetupRefcountContext("set_alloc_time");
 
3227
  assert(__pyx_arg_alloc_time); {
 
3228
    __pyx_v_alloc_time = __Pyx_PyInt_AsInt(__pyx_arg_alloc_time); if (unlikely((__pyx_v_alloc_time == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3229
  }
 
3230
  goto __pyx_L4_argument_unpacking_done;
 
3231
  __pyx_L3_error:;
 
3232
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_alloc_time");
 
3233
  return NULL;
 
3234
  __pyx_L4_argument_unpacking_done:;
 
3235
 
 
3236
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":160
 
3237
 *         Set the storage space allocation time.  One of h5d.ALLOC_TIME*.
 
3238
 *         """
 
3239
 *         H5Pset_alloc_time(self.id, <H5D_alloc_time_t>alloc_time)             # <<<<<<<<<<<<<<
 
3240
 * 
 
3241
 *     @sync
 
3242
 */
 
3243
  __pyx_t_1 = H5Pset_alloc_time(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, ((H5D_alloc_time_t)__pyx_v_alloc_time)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3244
 
 
3245
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3246
  goto __pyx_L0;
 
3247
  __pyx_L1_error:;
 
3248
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_alloc_time");
 
3249
  __pyx_r = NULL;
 
3250
  __pyx_L0:;
 
3251
  __Pyx_XGIVEREF(__pyx_r);
 
3252
  __Pyx_FinishRefcountContext();
 
3253
  return __pyx_r;
 
3254
}
 
3255
 
 
3256
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":163
 
3257
 * 
 
3258
 *     @sync
 
3259
 *     def get_alloc_time(self):             # <<<<<<<<<<<<<<
 
3260
 *         """() => INT alloc_time
 
3261
 * 
 
3262
 */
 
3263
 
 
3264
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_alloc_time(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3265
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_alloc_time[] = "() => INT alloc_time\n\n        Get the storage space allocation time.  One of h5d.ALLOC_TIME*.\n        ";
 
3266
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_alloc_time(PyObject *__pyx_v_self, PyObject *unused) {
 
3267
  H5D_alloc_time_t __pyx_v_alloc_time;
 
3268
  PyObject *__pyx_r = NULL;
 
3269
  herr_t __pyx_t_1;
 
3270
  PyObject *__pyx_t_2 = NULL;
 
3271
  __Pyx_SetupRefcountContext("get_alloc_time");
 
3272
 
 
3273
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":169
 
3274
 *         """
 
3275
 *         cdef H5D_alloc_time_t alloc_time
 
3276
 *         H5Pget_alloc_time(self.id, &alloc_time)             # <<<<<<<<<<<<<<
 
3277
 *         return <int>alloc_time
 
3278
 * 
 
3279
 */
 
3280
  __pyx_t_1 = H5Pget_alloc_time(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_alloc_time)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3281
 
 
3282
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":170
 
3283
 *         cdef H5D_alloc_time_t alloc_time
 
3284
 *         H5Pget_alloc_time(self.id, &alloc_time)
 
3285
 *         return <int>alloc_time             # <<<<<<<<<<<<<<
 
3286
 * 
 
3287
 * 
 
3288
 */
 
3289
  __Pyx_XDECREF(__pyx_r);
 
3290
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_alloc_time)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3291
  __Pyx_GOTREF(__pyx_t_2);
 
3292
  __pyx_r = __pyx_t_2;
 
3293
  __pyx_t_2 = 0;
 
3294
  goto __pyx_L0;
 
3295
 
 
3296
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3297
  goto __pyx_L0;
 
3298
  __pyx_L1_error:;
 
3299
  __Pyx_XDECREF(__pyx_t_2);
 
3300
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_alloc_time");
 
3301
  __pyx_r = NULL;
 
3302
  __pyx_L0:;
 
3303
  __Pyx_XGIVEREF(__pyx_r);
 
3304
  __Pyx_FinishRefcountContext();
 
3305
  return __pyx_r;
 
3306
}
 
3307
 
 
3308
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":176
 
3309
 * 
 
3310
 *     @sync
 
3311
 *     def set_filter(self, int filter_code, unsigned int flags=0, object values=None):             # <<<<<<<<<<<<<<
 
3312
 *         """(INT filter_code, UINT flags=0, TUPLE values=None)
 
3313
 * 
 
3314
 */
 
3315
 
 
3316
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_filter(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
3317
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_filter[] = "(INT filter_code, UINT flags=0, TUPLE values=None)\n\n        Set a filter in the pipeline.  Params are:\n\n        filter_code\n            One of the following:\n\n            - h5z.FILTER_DEFLATE\n            - h5z.FILTER_SHUFFLE\n            - h5z.FILTER_FLETCHER32\n            - h5z.FILTER_SZIP\n\n        flags\n            Bit flags (h5z.FLAG*) setting filter properties\n\n        values\n            TUPLE of UINTs giving auxiliary data for the filter\n        ";
 
3318
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_filter(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
3319
  int __pyx_v_filter_code;
 
3320
  unsigned int __pyx_v_flags;
 
3321
  PyObject *__pyx_v_values = 0;
 
3322
  size_t __pyx_v_nelements;
 
3323
  unsigned int *__pyx_v_cd_values;
 
3324
  int __pyx_v_i;
 
3325
  PyObject *__pyx_r = NULL;
 
3326
  PyObject *__pyx_1 = 0;
 
3327
  int __pyx_t_1;
 
3328
  int __pyx_t_2;
 
3329
  Py_ssize_t __pyx_t_3;
 
3330
  int __pyx_t_4;
 
3331
  void *__pyx_t_5;
 
3332
  size_t __pyx_t_6;
 
3333
  PyObject *__pyx_t_7 = NULL;
 
3334
  PyObject *__pyx_t_8 = NULL;
 
3335
  unsigned int __pyx_t_9;
 
3336
  herr_t __pyx_t_10;
 
3337
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_filter_code,&__pyx_kp_flags,&__pyx_kp_values,0};
 
3338
  __Pyx_SetupRefcountContext("set_filter");
 
3339
  if (unlikely(__pyx_kwds)) {
 
3340
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
3341
    PyObject* values[3] = {0,0,0};
 
3342
    values[2] = Py_None;
 
3343
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
3344
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
 
3345
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
3346
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
3347
      case  0: break;
 
3348
      default: goto __pyx_L5_argtuple_error;
 
3349
    }
 
3350
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
3351
      case  0:
 
3352
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_filter_code);
 
3353
      if (likely(values[0])) kw_args--;
 
3354
      else goto __pyx_L5_argtuple_error;
 
3355
      case  1:
 
3356
      if (kw_args > 1) {
 
3357
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_flags);
 
3358
        if (unlikely(value)) { values[1] = value; kw_args--; }
 
3359
      }
 
3360
      case  2:
 
3361
      if (kw_args > 1) {
 
3362
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_values);
 
3363
        if (unlikely(value)) { values[2] = value; kw_args--; }
 
3364
      }
 
3365
    }
 
3366
    if (unlikely(kw_args > 0)) {
 
3367
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_filter") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3368
    }
 
3369
    __pyx_v_filter_code = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_filter_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3370
    if (values[1]) {
 
3371
      __pyx_v_flags = __Pyx_PyInt_AsUnsignedInt(values[1]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3372
    } else {
 
3373
      __pyx_v_flags = 0;
 
3374
    }
 
3375
    __pyx_v_values = values[2];
 
3376
  } else {
 
3377
    __pyx_v_flags = 0;
 
3378
    __pyx_v_values = Py_None;
 
3379
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
3380
      case  3: __pyx_v_values = PyTuple_GET_ITEM(__pyx_args, 2);
 
3381
      case  2: __pyx_v_flags = __Pyx_PyInt_AsUnsignedInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3382
      case  1: __pyx_v_filter_code = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_filter_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3383
      break;
 
3384
      default: goto __pyx_L5_argtuple_error;
 
3385
    }
 
3386
  }
 
3387
  goto __pyx_L4_argument_unpacking_done;
 
3388
  __pyx_L5_argtuple_error:;
 
3389
  __Pyx_RaiseArgtupleInvalid("set_filter", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3390
  __pyx_L3_error:;
 
3391
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_filter");
 
3392
  return NULL;
 
3393
  __pyx_L4_argument_unpacking_done:;
 
3394
 
 
3395
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":198
 
3396
 *         cdef unsigned int *cd_values
 
3397
 *         cdef int i
 
3398
 *         cd_values = NULL             # <<<<<<<<<<<<<<
 
3399
 * 
 
3400
 *         require_tuple(values, 1, -1, "values")
 
3401
 */
 
3402
  __pyx_v_cd_values = NULL;
 
3403
 
 
3404
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":200
 
3405
 *         cd_values = NULL
 
3406
 * 
 
3407
 *         require_tuple(values, 1, -1, "values")             # <<<<<<<<<<<<<<
 
3408
 * 
 
3409
 *         try:
 
3410
 */
 
3411
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_values, 1, -1, __pyx_k_237); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3412
 
 
3413
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":202
 
3414
 *         require_tuple(values, 1, -1, "values")
 
3415
 * 
 
3416
 *         try:             # <<<<<<<<<<<<<<
 
3417
 *             if values is None or len(values) == 0:
 
3418
 *                 nelements = 0
 
3419
 */
 
3420
  /*try:*/ {
 
3421
 
 
3422
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":203
 
3423
 * 
 
3424
 *         try:
 
3425
 *             if values is None or len(values) == 0:             # <<<<<<<<<<<<<<
 
3426
 *                 nelements = 0
 
3427
 *                 cd_values = NULL
 
3428
 */
 
3429
    __pyx_t_2 = (__pyx_v_values == Py_None);
 
3430
    if (!__pyx_t_2) {
 
3431
      __pyx_t_3 = PyObject_Length(__pyx_v_values); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3432
      __pyx_t_4 = (__pyx_t_3 == 0);
 
3433
    } else {
 
3434
      __pyx_t_4 = __pyx_t_2;
 
3435
    }
 
3436
    if (__pyx_t_4) {
 
3437
 
 
3438
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":204
 
3439
 *         try:
 
3440
 *             if values is None or len(values) == 0:
 
3441
 *                 nelements = 0             # <<<<<<<<<<<<<<
 
3442
 *                 cd_values = NULL
 
3443
 *             else:
 
3444
 */
 
3445
      __pyx_v_nelements = 0;
 
3446
 
 
3447
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":205
 
3448
 *             if values is None or len(values) == 0:
 
3449
 *                 nelements = 0
 
3450
 *                 cd_values = NULL             # <<<<<<<<<<<<<<
 
3451
 *             else:
 
3452
 *                 nelements = len(values)
 
3453
 */
 
3454
      __pyx_v_cd_values = NULL;
 
3455
      goto __pyx_L9;
 
3456
    }
 
3457
    /*else*/ {
 
3458
 
 
3459
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":207
 
3460
 *                 cd_values = NULL
 
3461
 *             else:
 
3462
 *                 nelements = len(values)             # <<<<<<<<<<<<<<
 
3463
 *                 cd_values = <unsigned int*>emalloc(sizeof(unsigned int)*nelements)
 
3464
 * 
 
3465
 */
 
3466
      __pyx_t_3 = PyObject_Length(__pyx_v_values); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3467
      __pyx_v_nelements = __pyx_t_3;
 
3468
 
 
3469
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":208
 
3470
 *             else:
 
3471
 *                 nelements = len(values)
 
3472
 *                 cd_values = <unsigned int*>emalloc(sizeof(unsigned int)*nelements)             # <<<<<<<<<<<<<<
 
3473
 * 
 
3474
 *                 for i from 0<=i<nelements:
 
3475
 */
 
3476
      __pyx_t_5 = __pyx_f_4h5py_5utils_emalloc(((sizeof(unsigned int)) * __pyx_v_nelements)); if (unlikely(__pyx_t_5 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3477
      __pyx_v_cd_values = ((unsigned int *)__pyx_t_5);
 
3478
 
 
3479
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":210
 
3480
 *                 cd_values = <unsigned int*>emalloc(sizeof(unsigned int)*nelements)
 
3481
 * 
 
3482
 *                 for i from 0<=i<nelements:             # <<<<<<<<<<<<<<
 
3483
 *                     cd_values[i] = int(values[i])
 
3484
 * 
 
3485
 */
 
3486
      __pyx_t_6 = __pyx_v_nelements;
 
3487
      for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_6; __pyx_v_i++) {
 
3488
 
 
3489
        /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":211
 
3490
 * 
 
3491
 *                 for i from 0<=i<nelements:
 
3492
 *                     cd_values[i] = int(values[i])             # <<<<<<<<<<<<<<
 
3493
 * 
 
3494
 *             H5Pset_filter(self.id, <H5Z_filter_t>filter_code, flags, nelements, cd_values)
 
3495
 */
 
3496
        __pyx_1 = __Pyx_GetItemInt(__pyx_v_values, __pyx_v_i, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3497
        __Pyx_GOTREF(__pyx_1);
 
3498
        __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3499
        __Pyx_GOTREF(((PyObject *)__pyx_t_7));
 
3500
        PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_1);
 
3501
        __Pyx_GIVEREF(__pyx_1);
 
3502
        __pyx_1 = 0;
 
3503
        __pyx_t_8 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), ((PyObject *)__pyx_t_7), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3504
        __Pyx_GOTREF(__pyx_t_8);
 
3505
        __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
 
3506
        __pyx_t_9 = __Pyx_PyInt_AsUnsignedInt(__pyx_t_8); if (unlikely((__pyx_t_9 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3507
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
3508
        (__pyx_v_cd_values[__pyx_v_i]) = __pyx_t_9;
 
3509
      }
 
3510
    }
 
3511
    __pyx_L9:;
 
3512
 
 
3513
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":213
 
3514
 *                     cd_values[i] = int(values[i])
 
3515
 * 
 
3516
 *             H5Pset_filter(self.id, <H5Z_filter_t>filter_code, flags, nelements, cd_values)             # <<<<<<<<<<<<<<
 
3517
 *         finally:
 
3518
 *             efree(cd_values)
 
3519
 */
 
3520
    __pyx_t_10 = H5Pset_filter(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, ((H5Z_filter_t)__pyx_v_filter_code), __pyx_v_flags, __pyx_v_nelements, __pyx_v_cd_values); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
3521
  }
 
3522
  /*finally:*/ {
 
3523
    int __pyx_why;
 
3524
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
 
3525
    int __pyx_exc_lineno;
 
3526
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
 
3527
    __pyx_why = 0; goto __pyx_L8;
 
3528
    __pyx_L7: {
 
3529
      __pyx_why = 4;
 
3530
      __Pyx_XDECREF(__pyx_1); __pyx_1 = 0;
 
3531
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
 
3532
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
 
3533
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
 
3534
      __pyx_exc_lineno = __pyx_lineno;
 
3535
      goto __pyx_L8;
 
3536
    }
 
3537
    __pyx_L8:;
 
3538
 
 
3539
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":215
 
3540
 *             H5Pset_filter(self.id, <H5Z_filter_t>filter_code, flags, nelements, cd_values)
 
3541
 *         finally:
 
3542
 *             efree(cd_values)             # <<<<<<<<<<<<<<
 
3543
 * 
 
3544
 *     @sync
 
3545
 */
 
3546
    __pyx_f_4h5py_5utils_efree(__pyx_v_cd_values);
 
3547
    switch (__pyx_why) {
 
3548
      case 4: {
 
3549
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
 
3550
        __pyx_lineno = __pyx_exc_lineno;
 
3551
        __pyx_exc_type = 0;
 
3552
        __pyx_exc_value = 0;
 
3553
        __pyx_exc_tb = 0;
 
3554
        goto __pyx_L1_error;
 
3555
      }
 
3556
    }
 
3557
  }
 
3558
 
 
3559
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3560
  goto __pyx_L0;
 
3561
  __pyx_L1_error:;
 
3562
  __Pyx_XDECREF(__pyx_1);
 
3563
  __Pyx_XDECREF(__pyx_t_7);
 
3564
  __Pyx_XDECREF(__pyx_t_8);
 
3565
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_filter");
 
3566
  __pyx_r = NULL;
 
3567
  __pyx_L0:;
 
3568
  __Pyx_XGIVEREF(__pyx_r);
 
3569
  __Pyx_FinishRefcountContext();
 
3570
  return __pyx_r;
 
3571
}
 
3572
 
 
3573
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":218
 
3574
 * 
 
3575
 *     @sync
 
3576
 *     def all_filters_avail(self):             # <<<<<<<<<<<<<<
 
3577
 *         """() => BOOL
 
3578
 * 
 
3579
 */
 
3580
 
 
3581
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_all_filters_avail(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3582
static char __pyx_doc_4h5py_3h5p_8PropDCID_all_filters_avail[] = "() => BOOL\n\n        Determine if all the filters in the pipelist are available to\n        the library.\n        ";
 
3583
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_all_filters_avail(PyObject *__pyx_v_self, PyObject *unused) {
 
3584
  PyObject *__pyx_r = NULL;
 
3585
  htri_t __pyx_t_1;
 
3586
  PyObject *__pyx_t_2 = NULL;
 
3587
  __Pyx_SetupRefcountContext("all_filters_avail");
 
3588
 
 
3589
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":224
 
3590
 *         the library.
 
3591
 *         """
 
3592
 *         return <bint>(H5Pall_filters_avail(self.id))             # <<<<<<<<<<<<<<
 
3593
 * 
 
3594
 *     @sync
 
3595
 */
 
3596
  __Pyx_XDECREF(__pyx_r);
 
3597
  __pyx_t_1 = H5Pall_filters_avail(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3598
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3599
  __Pyx_GOTREF(__pyx_t_2);
 
3600
  __pyx_r = __pyx_t_2;
 
3601
  __pyx_t_2 = 0;
 
3602
  goto __pyx_L0;
 
3603
 
 
3604
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3605
  goto __pyx_L0;
 
3606
  __pyx_L1_error:;
 
3607
  __Pyx_XDECREF(__pyx_t_2);
 
3608
  __Pyx_AddTraceback("h5py.h5p.PropDCID.all_filters_avail");
 
3609
  __pyx_r = NULL;
 
3610
  __pyx_L0:;
 
3611
  __Pyx_XGIVEREF(__pyx_r);
 
3612
  __Pyx_FinishRefcountContext();
 
3613
  return __pyx_r;
 
3614
}
 
3615
 
 
3616
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":227
 
3617
 * 
 
3618
 *     @sync
 
3619
 *     def get_nfilters(self):             # <<<<<<<<<<<<<<
 
3620
 *         """() => INT
 
3621
 * 
 
3622
 */
 
3623
 
 
3624
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_nfilters(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
3625
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_nfilters[] = "() => INT\n\n        Determine the number of filters in the pipeline.\n        ";
 
3626
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_nfilters(PyObject *__pyx_v_self, PyObject *unused) {
 
3627
  PyObject *__pyx_r = NULL;
 
3628
  int __pyx_t_1;
 
3629
  PyObject *__pyx_t_2 = NULL;
 
3630
  __Pyx_SetupRefcountContext("get_nfilters");
 
3631
 
 
3632
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":232
 
3633
 *         Determine the number of filters in the pipeline.
 
3634
 *         """
 
3635
 *         return H5Pget_nfilters(self.id)             # <<<<<<<<<<<<<<
 
3636
 * 
 
3637
 *     @sync
 
3638
 */
 
3639
  __Pyx_XDECREF(__pyx_r);
 
3640
  __pyx_t_1 = H5Pget_nfilters(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3641
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3642
  __Pyx_GOTREF(__pyx_t_2);
 
3643
  __pyx_r = __pyx_t_2;
 
3644
  __pyx_t_2 = 0;
 
3645
  goto __pyx_L0;
 
3646
 
 
3647
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3648
  goto __pyx_L0;
 
3649
  __pyx_L1_error:;
 
3650
  __Pyx_XDECREF(__pyx_t_2);
 
3651
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_nfilters");
 
3652
  __pyx_r = NULL;
 
3653
  __pyx_L0:;
 
3654
  __Pyx_XGIVEREF(__pyx_r);
 
3655
  __Pyx_FinishRefcountContext();
 
3656
  return __pyx_r;
 
3657
}
 
3658
 
 
3659
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":235
 
3660
 * 
 
3661
 *     @sync
 
3662
 *     def get_filter(self, int filter_idx):             # <<<<<<<<<<<<<<
 
3663
 *         """(UINT filter_idx) => TUPLE filter_info
 
3664
 * 
 
3665
 */
 
3666
 
 
3667
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_idx); /*proto*/
 
3668
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_filter[] = "(UINT filter_idx) => TUPLE filter_info\n\n        Get information about a filter, identified by its index.  Tuple\n        elements are:\n\n        0. INT filter code (h5z.FILTER*)\n        1. UINT flags (h5z.FLAG*)\n        2. TUPLE of UINT values; filter aux data (16 values max)\n        3. STRING name of filter (256 chars max)\n        ";
 
3669
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_idx) {
 
3670
  int __pyx_v_filter_idx;
 
3671
  PyObject *__pyx_v_vlist;
 
3672
  int __pyx_v_filter_code;
 
3673
  unsigned int __pyx_v_flags;
 
3674
  size_t __pyx_v_nelements;
 
3675
  unsigned int __pyx_v_cd_values[16];
 
3676
  char __pyx_v_name[257];
 
3677
  int __pyx_v_i;
 
3678
  PyObject *__pyx_r = NULL;
 
3679
  int __pyx_t_1;
 
3680
  PyObject *__pyx_t_2 = NULL;
 
3681
  PyObject *__pyx_t_3 = NULL;
 
3682
  H5Z_filter_t __pyx_t_4;
 
3683
  size_t __pyx_t_5;
 
3684
  int __pyx_t_6;
 
3685
  PyObject *__pyx_t_7 = NULL;
 
3686
  PyObject *__pyx_t_8 = NULL;
 
3687
  PyObject *__pyx_t_9 = NULL;
 
3688
  __Pyx_SetupRefcountContext("get_filter");
 
3689
  assert(__pyx_arg_filter_idx); {
 
3690
    __pyx_v_filter_idx = __Pyx_PyInt_AsInt(__pyx_arg_filter_idx); if (unlikely((__pyx_v_filter_idx == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3691
  }
 
3692
  goto __pyx_L4_argument_unpacking_done;
 
3693
  __pyx_L3_error:;
 
3694
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_filter");
 
3695
  return NULL;
 
3696
  __pyx_L4_argument_unpacking_done:;
 
3697
  __pyx_v_vlist = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
 
3698
 
 
3699
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":253
 
3700
 *         cdef char name[257]
 
3701
 *         cdef int i
 
3702
 *         nelements = 16 # HDF5 library actually complains if this is too big.             # <<<<<<<<<<<<<<
 
3703
 * 
 
3704
 *         if filter_idx < 0:
 
3705
 */
 
3706
  __pyx_v_nelements = 16;
 
3707
 
 
3708
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":255
 
3709
 *         nelements = 16 # HDF5 library actually complains if this is too big.
 
3710
 * 
 
3711
 *         if filter_idx < 0:             # <<<<<<<<<<<<<<
 
3712
 *             raise ValueError("Filter index must be a non-negative integer")
 
3713
 * 
 
3714
 */
 
3715
  __pyx_t_1 = (__pyx_v_filter_idx < 0);
 
3716
  if (__pyx_t_1) {
 
3717
 
 
3718
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":256
 
3719
 * 
 
3720
 *         if filter_idx < 0:
 
3721
 *             raise ValueError("Filter index must be a non-negative integer")             # <<<<<<<<<<<<<<
 
3722
 * 
 
3723
 *         filter_code = <int>H5Pget_filter(self.id, filter_idx, &flags,
 
3724
 */
 
3725
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3726
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
3727
    __Pyx_INCREF(__pyx_kp_238);
 
3728
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_238);
 
3729
    __Pyx_GIVEREF(__pyx_kp_238);
 
3730
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3731
    __Pyx_GOTREF(__pyx_t_3);
 
3732
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
3733
    __Pyx_Raise(__pyx_t_3, 0, 0);
 
3734
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
3735
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3736
    goto __pyx_L5;
 
3737
  }
 
3738
  __pyx_L5:;
 
3739
 
 
3740
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":259
 
3741
 * 
 
3742
 *         filter_code = <int>H5Pget_filter(self.id, filter_idx, &flags,
 
3743
 *                                          &nelements, cd_values, 256, name)             # <<<<<<<<<<<<<<
 
3744
 *         name[256] = c'\0'  # in case it's > 256 chars
 
3745
 * 
 
3746
 */
 
3747
  __pyx_t_4 = H5Pget_filter(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_filter_idx, (&__pyx_v_flags), (&__pyx_v_nelements), __pyx_v_cd_values, 256, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3748
  __pyx_v_filter_code = ((int)__pyx_t_4);
 
3749
 
 
3750
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":260
 
3751
 *         filter_code = <int>H5Pget_filter(self.id, filter_idx, &flags,
 
3752
 *                                          &nelements, cd_values, 256, name)
 
3753
 *         name[256] = c'\0'  # in case it's > 256 chars             # <<<<<<<<<<<<<<
 
3754
 * 
 
3755
 *         vlist = []
 
3756
 */
 
3757
  (__pyx_v_name[256]) = '\x00';
 
3758
 
 
3759
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":262
 
3760
 *         name[256] = c'\0'  # in case it's > 256 chars
 
3761
 * 
 
3762
 *         vlist = []             # <<<<<<<<<<<<<<
 
3763
 *         for i from 0<=i<nelements:
 
3764
 *             vlist.append(cd_values[i])
 
3765
 */
 
3766
  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3767
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
3768
  __Pyx_DECREF(((PyObject *)__pyx_v_vlist));
 
3769
  __pyx_v_vlist = __pyx_t_3;
 
3770
  __pyx_t_3 = 0;
 
3771
 
 
3772
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":263
 
3773
 * 
 
3774
 *         vlist = []
 
3775
 *         for i from 0<=i<nelements:             # <<<<<<<<<<<<<<
 
3776
 *             vlist.append(cd_values[i])
 
3777
 * 
 
3778
 */
 
3779
  __pyx_t_5 = __pyx_v_nelements;
 
3780
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_5; __pyx_v_i++) {
 
3781
 
 
3782
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":264
 
3783
 *         vlist = []
 
3784
 *         for i from 0<=i<nelements:
 
3785
 *             vlist.append(cd_values[i])             # <<<<<<<<<<<<<<
 
3786
 * 
 
3787
 *         return (filter_code, flags, tuple(vlist), name)
 
3788
 */
 
3789
    __pyx_t_3 = PyLong_FromUnsignedLong((__pyx_v_cd_values[__pyx_v_i])); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3790
    __Pyx_GOTREF(__pyx_t_3);
 
3791
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_vlist), __pyx_t_3); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3792
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
3793
  }
 
3794
 
 
3795
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":266
 
3796
 *             vlist.append(cd_values[i])
 
3797
 * 
 
3798
 *         return (filter_code, flags, tuple(vlist), name)             # <<<<<<<<<<<<<<
 
3799
 * 
 
3800
 *     @sync
 
3801
 */
 
3802
  __Pyx_XDECREF(__pyx_r);
 
3803
  __pyx_t_3 = PyInt_FromLong(__pyx_v_filter_code); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3804
  __Pyx_GOTREF(__pyx_t_3);
 
3805
  __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_flags); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3806
  __Pyx_GOTREF(__pyx_t_2);
 
3807
  __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3808
  __Pyx_GOTREF(((PyObject *)__pyx_t_7));
 
3809
  __Pyx_INCREF(((PyObject *)__pyx_v_vlist));
 
3810
  PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_vlist));
 
3811
  __Pyx_GIVEREF(((PyObject *)__pyx_v_vlist));
 
3812
  __pyx_t_8 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), ((PyObject *)__pyx_t_7), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3813
  __Pyx_GOTREF(__pyx_t_8);
 
3814
  __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
 
3815
  __pyx_t_7 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3816
  __Pyx_GOTREF(__pyx_t_7);
 
3817
  __pyx_t_9 = PyTuple_New(4); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3818
  __Pyx_GOTREF(((PyObject *)__pyx_t_9));
 
3819
  PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_3);
 
3820
  __Pyx_GIVEREF(__pyx_t_3);
 
3821
  PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_t_2);
 
3822
  __Pyx_GIVEREF(__pyx_t_2);
 
3823
  PyTuple_SET_ITEM(__pyx_t_9, 2, __pyx_t_8);
 
3824
  __Pyx_GIVEREF(__pyx_t_8);
 
3825
  PyTuple_SET_ITEM(__pyx_t_9, 3, __pyx_t_7);
 
3826
  __Pyx_GIVEREF(__pyx_t_7);
 
3827
  __pyx_t_3 = 0;
 
3828
  __pyx_t_2 = 0;
 
3829
  __pyx_t_8 = 0;
 
3830
  __pyx_t_7 = 0;
 
3831
  __pyx_r = ((PyObject *)__pyx_t_9);
 
3832
  __pyx_t_9 = 0;
 
3833
  goto __pyx_L0;
 
3834
 
 
3835
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3836
  goto __pyx_L0;
 
3837
  __pyx_L1_error:;
 
3838
  __Pyx_XDECREF(__pyx_t_2);
 
3839
  __Pyx_XDECREF(__pyx_t_3);
 
3840
  __Pyx_XDECREF(__pyx_t_7);
 
3841
  __Pyx_XDECREF(__pyx_t_8);
 
3842
  __Pyx_XDECREF(__pyx_t_9);
 
3843
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_filter");
 
3844
  __pyx_r = NULL;
 
3845
  __pyx_L0:;
 
3846
  __Pyx_DECREF(__pyx_v_vlist);
 
3847
  __Pyx_XGIVEREF(__pyx_r);
 
3848
  __Pyx_FinishRefcountContext();
 
3849
  return __pyx_r;
 
3850
}
 
3851
 
 
3852
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":269
 
3853
 * 
 
3854
 *     @sync
 
3855
 *     def _has_filter(self, int filter_code):             # <<<<<<<<<<<<<<
 
3856
 *         """(INT filter_code)
 
3857
 * 
 
3858
 */
 
3859
 
 
3860
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID__has_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_code); /*proto*/
 
3861
static char __pyx_doc_4h5py_3h5p_8PropDCID__has_filter[] = "(INT filter_code)\n\n        Slow & stupid method to determine if a filter is used in this\n        property list.  Used because the HDF5 function H5Pget_filter_by_id\n        is broken.\n        ";
 
3862
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID__has_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_code) {
 
3863
  int __pyx_v_filter_code;
 
3864
  int __pyx_v_nfilters;
 
3865
  PyObject *__pyx_v_i;
 
3866
  PyObject *__pyx_r = NULL;
 
3867
  long __pyx_1;
 
3868
  PyObject *__pyx_2 = 0;
 
3869
  PyObject *__pyx_t_1 = NULL;
 
3870
  PyObject *__pyx_t_2 = NULL;
 
3871
  int __pyx_t_3;
 
3872
  PyObject *__pyx_t_4 = NULL;
 
3873
  int __pyx_t_5;
 
3874
  __Pyx_SetupRefcountContext("_has_filter");
 
3875
  assert(__pyx_arg_filter_code); {
 
3876
    __pyx_v_filter_code = __Pyx_PyInt_AsInt(__pyx_arg_filter_code); if (unlikely((__pyx_v_filter_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3877
  }
 
3878
  goto __pyx_L4_argument_unpacking_done;
 
3879
  __pyx_L3_error:;
 
3880
  __Pyx_AddTraceback("h5py.h5p.PropDCID._has_filter");
 
3881
  return NULL;
 
3882
  __pyx_L4_argument_unpacking_done:;
 
3883
  __pyx_v_i = Py_None; __Pyx_INCREF(Py_None);
 
3884
 
 
3885
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":277
 
3886
 *         """
 
3887
 *         cdef int nfilters
 
3888
 *         nfilters = self.get_nfilters()             # <<<<<<<<<<<<<<
 
3889
 *         for i from 0<=i<nfilters:
 
3890
 *             if self.get_filter(i)[0] == filter_code:
 
3891
 */
 
3892
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_get_nfilters); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3893
  __Pyx_GOTREF(__pyx_t_1);
 
3894
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3895
  __Pyx_GOTREF(__pyx_t_2);
 
3896
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3897
  __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3898
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
3899
  __pyx_v_nfilters = __pyx_t_3;
 
3900
 
 
3901
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":278
 
3902
 *         cdef int nfilters
 
3903
 *         nfilters = self.get_nfilters()
 
3904
 *         for i from 0<=i<nfilters:             # <<<<<<<<<<<<<<
 
3905
 *             if self.get_filter(i)[0] == filter_code:
 
3906
 *                 return True
 
3907
 */
 
3908
  __pyx_t_3 = __pyx_v_nfilters;
 
3909
  for (__pyx_1 = 0; __pyx_1 < __pyx_t_3; __pyx_1++) {
 
3910
    __pyx_t_2 = PyInt_FromLong(__pyx_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3911
    __Pyx_GOTREF(__pyx_t_2);
 
3912
    __Pyx_DECREF(__pyx_v_i);
 
3913
    __pyx_v_i = __pyx_t_2;
 
3914
    __pyx_t_2 = 0;
 
3915
 
 
3916
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":279
 
3917
 *         nfilters = self.get_nfilters()
 
3918
 *         for i from 0<=i<nfilters:
 
3919
 *             if self.get_filter(i)[0] == filter_code:             # <<<<<<<<<<<<<<
 
3920
 *                 return True
 
3921
 *         return False
 
3922
 */
 
3923
    __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_get_filter); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3924
    __Pyx_GOTREF(__pyx_t_2);
 
3925
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3926
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
3927
    __Pyx_INCREF(__pyx_v_i);
 
3928
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_i);
 
3929
    __Pyx_GIVEREF(__pyx_v_i);
 
3930
    __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3931
    __Pyx_GOTREF(__pyx_t_4);
 
3932
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
3933
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
3934
    __pyx_2 = __Pyx_GetItemInt(__pyx_t_4, 0, sizeof(long), PyInt_FromLong); if (!__pyx_2) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3935
    __Pyx_GOTREF(__pyx_2);
 
3936
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
3937
    __pyx_t_4 = PyInt_FromLong(__pyx_v_filter_code); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3938
    __Pyx_GOTREF(__pyx_t_4);
 
3939
    __pyx_t_1 = PyObject_RichCompare(__pyx_2, __pyx_t_4, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3940
    __Pyx_GOTREF(__pyx_t_1);
 
3941
    __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
3942
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
3943
    __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3944
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
3945
    if (__pyx_t_5) {
 
3946
 
 
3947
      /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":280
 
3948
 *         for i from 0<=i<nfilters:
 
3949
 *             if self.get_filter(i)[0] == filter_code:
 
3950
 *                 return True             # <<<<<<<<<<<<<<
 
3951
 *         return False
 
3952
 * 
 
3953
 */
 
3954
      __Pyx_XDECREF(__pyx_r);
 
3955
      __pyx_t_1 = __Pyx_PyBool_FromLong(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3956
      __Pyx_GOTREF(__pyx_t_1);
 
3957
      __pyx_r = __pyx_t_1;
 
3958
      __pyx_t_1 = 0;
 
3959
      goto __pyx_L0;
 
3960
      goto __pyx_L7;
 
3961
    }
 
3962
    __pyx_L7:;
 
3963
    __pyx_1 = __Pyx_PyInt_AsLong(__pyx_v_i); if (unlikely((__pyx_1 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3964
  }
 
3965
 
 
3966
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":278
 
3967
 *         cdef int nfilters
 
3968
 *         nfilters = self.get_nfilters()
 
3969
 *         for i from 0<=i<nfilters:             # <<<<<<<<<<<<<<
 
3970
 *             if self.get_filter(i)[0] == filter_code:
 
3971
 *                 return True
 
3972
 */
 
3973
  __pyx_t_1 = PyInt_FromLong(__pyx_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3974
  __Pyx_GOTREF(__pyx_t_1);
 
3975
  __Pyx_DECREF(__pyx_v_i);
 
3976
  __pyx_v_i = __pyx_t_1;
 
3977
  __pyx_t_1 = 0;
 
3978
 
 
3979
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":281
 
3980
 *             if self.get_filter(i)[0] == filter_code:
 
3981
 *                 return True
 
3982
 *         return False             # <<<<<<<<<<<<<<
 
3983
 * 
 
3984
 *     @sync
 
3985
 */
 
3986
  __Pyx_XDECREF(__pyx_r);
 
3987
  __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3988
  __Pyx_GOTREF(__pyx_t_1);
 
3989
  __pyx_r = __pyx_t_1;
 
3990
  __pyx_t_1 = 0;
 
3991
  goto __pyx_L0;
 
3992
 
 
3993
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
3994
  goto __pyx_L0;
 
3995
  __pyx_L1_error:;
 
3996
  __Pyx_XDECREF(__pyx_2);
 
3997
  __Pyx_XDECREF(__pyx_t_1);
 
3998
  __Pyx_XDECREF(__pyx_t_2);
 
3999
  __Pyx_XDECREF(__pyx_t_4);
 
4000
  __Pyx_AddTraceback("h5py.h5p.PropDCID._has_filter");
 
4001
  __pyx_r = NULL;
 
4002
  __pyx_L0:;
 
4003
  __Pyx_DECREF(__pyx_v_i);
 
4004
  __Pyx_XGIVEREF(__pyx_r);
 
4005
  __Pyx_FinishRefcountContext();
 
4006
  return __pyx_r;
 
4007
}
 
4008
 
 
4009
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":284
 
4010
 * 
 
4011
 *     @sync
 
4012
 *     def get_filter_by_id(self, int filter_code):             # <<<<<<<<<<<<<<
 
4013
 *         """(INT filter_code) => TUPLE filter_info or None
 
4014
 * 
 
4015
 */
 
4016
 
 
4017
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_filter_by_id(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_code); /*proto*/
 
4018
static char __pyx_doc_4h5py_3h5p_8PropDCID_get_filter_by_id[] = "(INT filter_code) => TUPLE filter_info or None\n\n        Get information about a filter, identified by its code (one\n        of h5z.FILTER*).  If the filter doesn't exist, returns None.\n        Tuple elements are:\n\n        0. UINT flags (h5z.FLAG*)\n        1. TUPLE of UINT values; filter aux data (16 values max)\n        2. STRING name of filter (256 chars max)\n        ";
 
4019
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_get_filter_by_id(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_code) {
 
4020
  int __pyx_v_filter_code;
 
4021
  PyObject *__pyx_v_vlist;
 
4022
  unsigned int __pyx_v_flags;
 
4023
  size_t __pyx_v_nelements;
 
4024
  unsigned int __pyx_v_cd_values[16];
 
4025
  char __pyx_v_name[257];
 
4026
  herr_t __pyx_v_retval;
 
4027
  int __pyx_v_i;
 
4028
  PyObject *__pyx_r = NULL;
 
4029
  PyObject *__pyx_t_1 = NULL;
 
4030
  PyObject *__pyx_t_2 = NULL;
 
4031
  PyObject *__pyx_t_3 = NULL;
 
4032
  int __pyx_t_4;
 
4033
  int __pyx_t_5;
 
4034
  herr_t __pyx_t_6;
 
4035
  size_t __pyx_t_7;
 
4036
  int __pyx_t_8;
 
4037
  PyObject *__pyx_t_9 = NULL;
 
4038
  __Pyx_SetupRefcountContext("get_filter_by_id");
 
4039
  assert(__pyx_arg_filter_code); {
 
4040
    __pyx_v_filter_code = __Pyx_PyInt_AsInt(__pyx_arg_filter_code); if (unlikely((__pyx_v_filter_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4041
  }
 
4042
  goto __pyx_L4_argument_unpacking_done;
 
4043
  __pyx_L3_error:;
 
4044
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_filter_by_id");
 
4045
  return NULL;
 
4046
  __pyx_L4_argument_unpacking_done:;
 
4047
  __pyx_v_vlist = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
 
4048
 
 
4049
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":302
 
4050
 *         cdef herr_t retval
 
4051
 *         cdef int i
 
4052
 *         nelements = 16 # HDF5 library actually complains if this is too big.             # <<<<<<<<<<<<<<
 
4053
 * 
 
4054
 *         if not self._has_filter(filter_code):
 
4055
 */
 
4056
  __pyx_v_nelements = 16;
 
4057
 
 
4058
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":304
 
4059
 *         nelements = 16 # HDF5 library actually complains if this is too big.
 
4060
 * 
 
4061
 *         if not self._has_filter(filter_code):             # <<<<<<<<<<<<<<
 
4062
 *             # Avoid library segfault
 
4063
 *             return None
 
4064
 */
 
4065
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_self, __pyx_kp__has_filter); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4066
  __Pyx_GOTREF(__pyx_t_1);
 
4067
  __pyx_t_2 = PyInt_FromLong(__pyx_v_filter_code); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4068
  __Pyx_GOTREF(__pyx_t_2);
 
4069
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4070
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
4071
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
 
4072
  __Pyx_GIVEREF(__pyx_t_2);
 
4073
  __pyx_t_2 = 0;
 
4074
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4075
  __Pyx_GOTREF(__pyx_t_2);
 
4076
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4077
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
4078
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4079
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4080
  __pyx_t_5 = (!__pyx_t_4);
 
4081
  if (__pyx_t_5) {
 
4082
 
 
4083
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":306
 
4084
 *         if not self._has_filter(filter_code):
 
4085
 *             # Avoid library segfault
 
4086
 *             return None             # <<<<<<<<<<<<<<
 
4087
 * 
 
4088
 *         retval = H5Pget_filter_by_id(self.id, <H5Z_filter_t>filter_code,
 
4089
 */
 
4090
    __Pyx_XDECREF(__pyx_r);
 
4091
    __Pyx_INCREF(Py_None);
 
4092
    __pyx_r = Py_None;
 
4093
    goto __pyx_L0;
 
4094
    goto __pyx_L5;
 
4095
  }
 
4096
  __pyx_L5:;
 
4097
 
 
4098
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":309
 
4099
 * 
 
4100
 *         retval = H5Pget_filter_by_id(self.id, <H5Z_filter_t>filter_code,
 
4101
 *                                      &flags, &nelements, cd_values, 256, name)             # <<<<<<<<<<<<<<
 
4102
 *         assert nelements <= 16
 
4103
 * 
 
4104
 */
 
4105
  __pyx_t_6 = H5Pget_filter_by_id(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, ((H5Z_filter_t)__pyx_v_filter_code), (&__pyx_v_flags), (&__pyx_v_nelements), __pyx_v_cd_values, 256, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4106
  __pyx_v_retval = __pyx_t_6;
 
4107
 
 
4108
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":310
 
4109
 *         retval = H5Pget_filter_by_id(self.id, <H5Z_filter_t>filter_code,
 
4110
 *                                      &flags, &nelements, cd_values, 256, name)
 
4111
 *         assert nelements <= 16             # <<<<<<<<<<<<<<
 
4112
 * 
 
4113
 *         name[256] = c'\0'  # In case HDF5 doesn't terminate it properly
 
4114
 */
 
4115
  #ifndef PYREX_WITHOUT_ASSERTIONS
 
4116
  if (unlikely(!(__pyx_v_nelements <= 16))) {
 
4117
    PyErr_SetNone(PyExc_AssertionError);
 
4118
    {__pyx_filename = __pyx_f[2]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4119
  }
 
4120
  #endif
 
4121
 
 
4122
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":312
 
4123
 *         assert nelements <= 16
 
4124
 * 
 
4125
 *         name[256] = c'\0'  # In case HDF5 doesn't terminate it properly             # <<<<<<<<<<<<<<
 
4126
 * 
 
4127
 *         vlist = []
 
4128
 */
 
4129
  (__pyx_v_name[256]) = '\x00';
 
4130
 
 
4131
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":314
 
4132
 *         name[256] = c'\0'  # In case HDF5 doesn't terminate it properly
 
4133
 * 
 
4134
 *         vlist = []             # <<<<<<<<<<<<<<
 
4135
 *         for i from 0<=i<nelements:
 
4136
 *             vlist.append(cd_values[i])
 
4137
 */
 
4138
  __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4139
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
4140
  __Pyx_DECREF(((PyObject *)__pyx_v_vlist));
 
4141
  __pyx_v_vlist = __pyx_t_2;
 
4142
  __pyx_t_2 = 0;
 
4143
 
 
4144
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":315
 
4145
 * 
 
4146
 *         vlist = []
 
4147
 *         for i from 0<=i<nelements:             # <<<<<<<<<<<<<<
 
4148
 *             vlist.append(cd_values[i])
 
4149
 * 
 
4150
 */
 
4151
  __pyx_t_7 = __pyx_v_nelements;
 
4152
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_7; __pyx_v_i++) {
 
4153
 
 
4154
    /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":316
 
4155
 *         vlist = []
 
4156
 *         for i from 0<=i<nelements:
 
4157
 *             vlist.append(cd_values[i])             # <<<<<<<<<<<<<<
 
4158
 * 
 
4159
 *         return (flags, tuple(vlist), name)
 
4160
 */
 
4161
    __pyx_t_2 = PyLong_FromUnsignedLong((__pyx_v_cd_values[__pyx_v_i])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4162
    __Pyx_GOTREF(__pyx_t_2);
 
4163
    __pyx_t_8 = PyList_Append(((PyObject *)__pyx_v_vlist), __pyx_t_2); if (unlikely(__pyx_t_8 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4164
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4165
  }
 
4166
 
 
4167
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":318
 
4168
 *             vlist.append(cd_values[i])
 
4169
 * 
 
4170
 *         return (flags, tuple(vlist), name)             # <<<<<<<<<<<<<<
 
4171
 * 
 
4172
 *     @sync
 
4173
 */
 
4174
  __Pyx_XDECREF(__pyx_r);
 
4175
  __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_flags); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4176
  __Pyx_GOTREF(__pyx_t_2);
 
4177
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4178
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
4179
  __Pyx_INCREF(((PyObject *)__pyx_v_vlist));
 
4180
  PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_vlist));
 
4181
  __Pyx_GIVEREF(((PyObject *)__pyx_v_vlist));
 
4182
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4183
  __Pyx_GOTREF(__pyx_t_1);
 
4184
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
4185
  __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4186
  __Pyx_GOTREF(__pyx_t_3);
 
4187
  __pyx_t_9 = PyTuple_New(3); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4188
  __Pyx_GOTREF(((PyObject *)__pyx_t_9));
 
4189
  PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_2);
 
4190
  __Pyx_GIVEREF(__pyx_t_2);
 
4191
  PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_t_1);
 
4192
  __Pyx_GIVEREF(__pyx_t_1);
 
4193
  PyTuple_SET_ITEM(__pyx_t_9, 2, __pyx_t_3);
 
4194
  __Pyx_GIVEREF(__pyx_t_3);
 
4195
  __pyx_t_2 = 0;
 
4196
  __pyx_t_1 = 0;
 
4197
  __pyx_t_3 = 0;
 
4198
  __pyx_r = ((PyObject *)__pyx_t_9);
 
4199
  __pyx_t_9 = 0;
 
4200
  goto __pyx_L0;
 
4201
 
 
4202
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4203
  goto __pyx_L0;
 
4204
  __pyx_L1_error:;
 
4205
  __Pyx_XDECREF(__pyx_t_1);
 
4206
  __Pyx_XDECREF(__pyx_t_2);
 
4207
  __Pyx_XDECREF(__pyx_t_3);
 
4208
  __Pyx_XDECREF(__pyx_t_9);
 
4209
  __Pyx_AddTraceback("h5py.h5p.PropDCID.get_filter_by_id");
 
4210
  __pyx_r = NULL;
 
4211
  __pyx_L0:;
 
4212
  __Pyx_DECREF(__pyx_v_vlist);
 
4213
  __Pyx_XGIVEREF(__pyx_r);
 
4214
  __Pyx_FinishRefcountContext();
 
4215
  return __pyx_r;
 
4216
}
 
4217
 
 
4218
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":321
 
4219
 * 
 
4220
 *     @sync
 
4221
 *     def remove_filter(self, int filter_class):             # <<<<<<<<<<<<<<
 
4222
 *         """(INT filter_class)
 
4223
 * 
 
4224
 */
 
4225
 
 
4226
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_remove_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_class); /*proto*/
 
4227
static char __pyx_doc_4h5py_3h5p_8PropDCID_remove_filter[] = "(INT filter_class)\n\n        Remove a filter from the pipeline.  The class code is one of \n        h5z.FILTER*.\n        ";
 
4228
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_remove_filter(PyObject *__pyx_v_self, PyObject *__pyx_arg_filter_class) {
 
4229
  int __pyx_v_filter_class;
 
4230
  PyObject *__pyx_r = NULL;
 
4231
  herr_t __pyx_t_1;
 
4232
  __Pyx_SetupRefcountContext("remove_filter");
 
4233
  assert(__pyx_arg_filter_class); {
 
4234
    __pyx_v_filter_class = __Pyx_PyInt_AsInt(__pyx_arg_filter_class); if (unlikely((__pyx_v_filter_class == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4235
  }
 
4236
  goto __pyx_L4_argument_unpacking_done;
 
4237
  __pyx_L3_error:;
 
4238
  __Pyx_AddTraceback("h5py.h5p.PropDCID.remove_filter");
 
4239
  return NULL;
 
4240
  __pyx_L4_argument_unpacking_done:;
 
4241
 
 
4242
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":327
 
4243
 *         h5z.FILTER*.
 
4244
 *         """
 
4245
 *         H5Premove_filter(self.id, <H5Z_filter_t>filter_class)             # <<<<<<<<<<<<<<
 
4246
 * 
 
4247
 *     @sync
 
4248
 */
 
4249
  __pyx_t_1 = H5Premove_filter(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, ((H5Z_filter_t)__pyx_v_filter_class)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4250
 
 
4251
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4252
  goto __pyx_L0;
 
4253
  __pyx_L1_error:;
 
4254
  __Pyx_AddTraceback("h5py.h5p.PropDCID.remove_filter");
 
4255
  __pyx_r = NULL;
 
4256
  __pyx_L0:;
 
4257
  __Pyx_XGIVEREF(__pyx_r);
 
4258
  __Pyx_FinishRefcountContext();
 
4259
  return __pyx_r;
 
4260
}
 
4261
 
 
4262
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":330
 
4263
 * 
 
4264
 *     @sync
 
4265
 *     def set_deflate(self, unsigned int level=5):             # <<<<<<<<<<<<<<
 
4266
 *         """(UINT level=5)
 
4267
 * 
 
4268
 */
 
4269
 
 
4270
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_deflate(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
4271
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_deflate[] = "(UINT level=5)\n\n        Enable deflate (gzip) compression, at the given level.\n        Valid levels are 0-9, default is 5.\n        ";
 
4272
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_deflate(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
4273
  unsigned int __pyx_v_level;
 
4274
  PyObject *__pyx_r = NULL;
 
4275
  herr_t __pyx_t_1;
 
4276
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_level,0};
 
4277
  __Pyx_SetupRefcountContext("set_deflate");
 
4278
  if (unlikely(__pyx_kwds)) {
 
4279
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
4280
    PyObject* values[1] = {0};
 
4281
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4282
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
4283
      case  0: break;
 
4284
      default: goto __pyx_L5_argtuple_error;
 
4285
    }
 
4286
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4287
      case  0:
 
4288
      if (kw_args > 1) {
 
4289
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_level);
 
4290
        if (unlikely(value)) { values[0] = value; kw_args--; }
 
4291
      }
 
4292
    }
 
4293
    if (unlikely(kw_args > 0)) {
 
4294
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_deflate") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4295
    }
 
4296
    if (values[0]) {
 
4297
      __pyx_v_level = __Pyx_PyInt_AsUnsignedInt(values[0]); if (unlikely((__pyx_v_level == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4298
    } else {
 
4299
      __pyx_v_level = 5;
 
4300
    }
 
4301
  } else {
 
4302
    __pyx_v_level = 5;
 
4303
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4304
      case  1: __pyx_v_level = __Pyx_PyInt_AsUnsignedInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_level == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4305
      case  0: break;
 
4306
      default: goto __pyx_L5_argtuple_error;
 
4307
    }
 
4308
  }
 
4309
  goto __pyx_L4_argument_unpacking_done;
 
4310
  __pyx_L5_argtuple_error:;
 
4311
  __Pyx_RaiseArgtupleInvalid("set_deflate", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4312
  __pyx_L3_error:;
 
4313
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_deflate");
 
4314
  return NULL;
 
4315
  __pyx_L4_argument_unpacking_done:;
 
4316
 
 
4317
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":336
 
4318
 *         Valid levels are 0-9, default is 5.
 
4319
 *         """
 
4320
 *         H5Pset_deflate(self.id, level)             # <<<<<<<<<<<<<<
 
4321
 * 
 
4322
 *     @sync
 
4323
 */
 
4324
  __pyx_t_1 = H5Pset_deflate(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_level); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4325
 
 
4326
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4327
  goto __pyx_L0;
 
4328
  __pyx_L1_error:;
 
4329
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_deflate");
 
4330
  __pyx_r = NULL;
 
4331
  __pyx_L0:;
 
4332
  __Pyx_XGIVEREF(__pyx_r);
 
4333
  __Pyx_FinishRefcountContext();
 
4334
  return __pyx_r;
 
4335
}
 
4336
 
 
4337
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":339
 
4338
 * 
 
4339
 *     @sync
 
4340
 *     def set_fletcher32(self):             # <<<<<<<<<<<<<<
 
4341
 *         """()
 
4342
 * 
 
4343
 */
 
4344
 
 
4345
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fletcher32(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
4346
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_fletcher32[] = "()\n\n        Enable Fletcher32 error correction on this list.\n        ";
 
4347
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_fletcher32(PyObject *__pyx_v_self, PyObject *unused) {
 
4348
  PyObject *__pyx_r = NULL;
 
4349
  herr_t __pyx_t_1;
 
4350
  __Pyx_SetupRefcountContext("set_fletcher32");
 
4351
 
 
4352
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":344
 
4353
 *         Enable Fletcher32 error correction on this list.
 
4354
 *         """
 
4355
 *         H5Pset_fletcher32(self.id)             # <<<<<<<<<<<<<<
 
4356
 * 
 
4357
 *     @sync
 
4358
 */
 
4359
  __pyx_t_1 = H5Pset_fletcher32(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4360
 
 
4361
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4362
  goto __pyx_L0;
 
4363
  __pyx_L1_error:;
 
4364
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_fletcher32");
 
4365
  __pyx_r = NULL;
 
4366
  __pyx_L0:;
 
4367
  __Pyx_XGIVEREF(__pyx_r);
 
4368
  __Pyx_FinishRefcountContext();
 
4369
  return __pyx_r;
 
4370
}
 
4371
 
 
4372
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":347
 
4373
 * 
 
4374
 *     @sync
 
4375
 *     def set_shuffle(self):             # <<<<<<<<<<<<<<
 
4376
 *         """()
 
4377
 * 
 
4378
 */
 
4379
 
 
4380
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_shuffle(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
4381
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_shuffle[] = "()\n\n        Enable to use of the shuffle filter.  Use this immediately before \n        the deflate filter to increase the compression ratio.\n        ";
 
4382
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_shuffle(PyObject *__pyx_v_self, PyObject *unused) {
 
4383
  PyObject *__pyx_r = NULL;
 
4384
  herr_t __pyx_t_1;
 
4385
  __Pyx_SetupRefcountContext("set_shuffle");
 
4386
 
 
4387
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":353
 
4388
 *         the deflate filter to increase the compression ratio.
 
4389
 *         """
 
4390
 *         H5Pset_shuffle(self.id)             # <<<<<<<<<<<<<<
 
4391
 * 
 
4392
 *     @sync
 
4393
 */
 
4394
  __pyx_t_1 = H5Pset_shuffle(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4395
 
 
4396
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4397
  goto __pyx_L0;
 
4398
  __pyx_L1_error:;
 
4399
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_shuffle");
 
4400
  __pyx_r = NULL;
 
4401
  __pyx_L0:;
 
4402
  __Pyx_XGIVEREF(__pyx_r);
 
4403
  __Pyx_FinishRefcountContext();
 
4404
  return __pyx_r;
 
4405
}
 
4406
 
 
4407
/* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":356
 
4408
 * 
 
4409
 *     @sync
 
4410
 *     def set_szip(self, unsigned int options, unsigned int pixels_per_block):             # <<<<<<<<<<<<<<
 
4411
 *         """(UINT options, UINT pixels_per_block)
 
4412
 * 
 
4413
 */
 
4414
 
 
4415
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_szip(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
4416
static char __pyx_doc_4h5py_3h5p_8PropDCID_set_szip[] = "(UINT options, UINT pixels_per_block)\n\n        Enable SZIP compression.  See the HDF5 docs for argument meanings, \n        and general restrictions on use of the SZIP format.\n        ";
 
4417
static PyObject *__pyx_pf_4h5py_3h5p_8PropDCID_set_szip(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
4418
  unsigned int __pyx_v_options;
 
4419
  unsigned int __pyx_v_pixels_per_block;
 
4420
  PyObject *__pyx_r = NULL;
 
4421
  herr_t __pyx_t_1;
 
4422
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_options,&__pyx_kp_pixels_per_block,0};
 
4423
  __Pyx_SetupRefcountContext("set_szip");
 
4424
  if (unlikely(__pyx_kwds)) {
 
4425
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
4426
    PyObject* values[2] = {0,0};
 
4427
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4428
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
4429
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
4430
      case  0: break;
 
4431
      default: goto __pyx_L5_argtuple_error;
 
4432
    }
 
4433
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4434
      case  0:
 
4435
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_options);
 
4436
      if (likely(values[0])) kw_args--;
 
4437
      else goto __pyx_L5_argtuple_error;
 
4438
      case  1:
 
4439
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_pixels_per_block);
 
4440
      if (likely(values[1])) kw_args--;
 
4441
      else {
 
4442
        __Pyx_RaiseArgtupleInvalid("set_szip", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4443
      }
 
4444
    }
 
4445
    if (unlikely(kw_args > 0)) {
 
4446
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_szip") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4447
    }
 
4448
    __pyx_v_options = __Pyx_PyInt_AsUnsignedInt(values[0]); if (unlikely((__pyx_v_options == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4449
    __pyx_v_pixels_per_block = __Pyx_PyInt_AsUnsignedInt(values[1]); if (unlikely((__pyx_v_pixels_per_block == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4450
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
 
4451
    goto __pyx_L5_argtuple_error;
 
4452
  } else {
 
4453
    __pyx_v_options = __Pyx_PyInt_AsUnsignedInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_options == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4454
    __pyx_v_pixels_per_block = __Pyx_PyInt_AsUnsignedInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_pixels_per_block == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4455
  }
 
4456
  goto __pyx_L4_argument_unpacking_done;
 
4457
  __pyx_L5_argtuple_error:;
 
4458
  __Pyx_RaiseArgtupleInvalid("set_szip", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4459
  __pyx_L3_error:;
 
4460
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_szip");
 
4461
  return NULL;
 
4462
  __pyx_L4_argument_unpacking_done:;
 
4463
 
 
4464
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":362
 
4465
 *         and general restrictions on use of the SZIP format.
 
4466
 *         """
 
4467
 *         H5Pset_szip(self.id, options, pixels_per_block)             # <<<<<<<<<<<<<<
 
4468
 * 
 
4469
 * 
 
4470
 */
 
4471
  __pyx_t_1 = H5Pset_szip(((struct __pyx_obj_4h5py_3h5p_PropDCID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_options, __pyx_v_pixels_per_block); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4472
 
 
4473
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4474
  goto __pyx_L0;
 
4475
  __pyx_L1_error:;
 
4476
  __Pyx_AddTraceback("h5py.h5p.PropDCID.set_szip");
 
4477
  __pyx_r = NULL;
 
4478
  __pyx_L0:;
 
4479
  __Pyx_XGIVEREF(__pyx_r);
 
4480
  __Pyx_FinishRefcountContext();
 
4481
  return __pyx_r;
 
4482
}
 
4483
 
 
4484
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":20
 
4485
 * 
 
4486
 *     @sync
 
4487
 *     def set_fclose_degree(self, int close_degree):             # <<<<<<<<<<<<<<
 
4488
 *         """(INT close_degree)
 
4489
 * 
 
4490
 */
 
4491
 
 
4492
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fclose_degree(PyObject *__pyx_v_self, PyObject *__pyx_arg_close_degree); /*proto*/
 
4493
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fclose_degree[] = "(INT close_degree)\n\n        Set the file-close degree, which determines library behavior when\n        a file is closed when objects are still open.  Legal values:\n\n        * h5f.CLOSE_WEAK\n        * h5f.CLOSE_SEMI\n        * h5f.CLOSE_STRONG\n        * h5f.CLOSE_DEFAULT\n        ";
 
4494
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fclose_degree(PyObject *__pyx_v_self, PyObject *__pyx_arg_close_degree) {
 
4495
  int __pyx_v_close_degree;
 
4496
  PyObject *__pyx_r = NULL;
 
4497
  herr_t __pyx_t_1;
 
4498
  __Pyx_SetupRefcountContext("set_fclose_degree");
 
4499
  assert(__pyx_arg_close_degree); {
 
4500
    __pyx_v_close_degree = __Pyx_PyInt_AsInt(__pyx_arg_close_degree); if (unlikely((__pyx_v_close_degree == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4501
  }
 
4502
  goto __pyx_L4_argument_unpacking_done;
 
4503
  __pyx_L3_error:;
 
4504
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fclose_degree");
 
4505
  return NULL;
 
4506
  __pyx_L4_argument_unpacking_done:;
 
4507
 
 
4508
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":31
 
4509
 *         * h5f.CLOSE_DEFAULT
 
4510
 *         """
 
4511
 *         H5Pset_fclose_degree(self.id, <H5F_close_degree_t>close_degree)             # <<<<<<<<<<<<<<
 
4512
 * 
 
4513
 *     @sync
 
4514
 */
 
4515
  __pyx_t_1 = H5Pset_fclose_degree(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((enum H5F_close_degree_t)__pyx_v_close_degree)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4516
 
 
4517
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4518
  goto __pyx_L0;
 
4519
  __pyx_L1_error:;
 
4520
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fclose_degree");
 
4521
  __pyx_r = NULL;
 
4522
  __pyx_L0:;
 
4523
  __Pyx_XGIVEREF(__pyx_r);
 
4524
  __Pyx_FinishRefcountContext();
 
4525
  return __pyx_r;
 
4526
}
 
4527
 
 
4528
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":34
 
4529
 * 
 
4530
 *     @sync
 
4531
 *     def get_fclose_degree(self):             # <<<<<<<<<<<<<<
 
4532
 *         """() => INT close_degree
 
4533
 *         - h5fd.
 
4534
 */
 
4535
 
 
4536
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fclose_degree(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
4537
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_fclose_degree[] = "() => INT close_degree\n        - h5fd.\n        Get the file-close degree, which determines library behavior when\n        a file is closed when objects are still open.  Legal values:\n\n        * h5f.CLOSE_WEAK\n        * h5f.CLOSE_SEMI\n        * h5f.CLOSE_STRONG\n        * h5f.CLOSE_DEFAULT\n        ";
 
4538
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fclose_degree(PyObject *__pyx_v_self, PyObject *unused) {
 
4539
  enum H5F_close_degree_t __pyx_v_deg;
 
4540
  PyObject *__pyx_r = NULL;
 
4541
  herr_t __pyx_t_1;
 
4542
  PyObject *__pyx_t_2 = NULL;
 
4543
  __Pyx_SetupRefcountContext("get_fclose_degree");
 
4544
 
 
4545
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":46
 
4546
 *         """
 
4547
 *         cdef H5F_close_degree_t deg
 
4548
 *         H5Pget_fclose_degree(self.id, &deg)             # <<<<<<<<<<<<<<
 
4549
 *         return deg
 
4550
 * 
 
4551
 */
 
4552
  __pyx_t_1 = H5Pget_fclose_degree(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_deg)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4553
 
 
4554
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":47
 
4555
 *         cdef H5F_close_degree_t deg
 
4556
 *         H5Pget_fclose_degree(self.id, &deg)
 
4557
 *         return deg             # <<<<<<<<<<<<<<
 
4558
 * 
 
4559
 *     @sync
 
4560
 */
 
4561
  __Pyx_XDECREF(__pyx_r);
 
4562
  __pyx_t_2 = PyInt_FromLong(__pyx_v_deg); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4563
  __Pyx_GOTREF(__pyx_t_2);
 
4564
  __pyx_r = __pyx_t_2;
 
4565
  __pyx_t_2 = 0;
 
4566
  goto __pyx_L0;
 
4567
 
 
4568
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4569
  goto __pyx_L0;
 
4570
  __pyx_L1_error:;
 
4571
  __Pyx_XDECREF(__pyx_t_2);
 
4572
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_fclose_degree");
 
4573
  __pyx_r = NULL;
 
4574
  __pyx_L0:;
 
4575
  __Pyx_XGIVEREF(__pyx_r);
 
4576
  __Pyx_FinishRefcountContext();
 
4577
  return __pyx_r;
 
4578
}
 
4579
 
 
4580
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":50
 
4581
 * 
 
4582
 *     @sync
 
4583
 *     def set_fapl_core(self, size_t block_size=1024*1024, hbool_t backing_store=1):             # <<<<<<<<<<<<<<
 
4584
 *         """(UINT increment=1M, BOOL backing_store=True)
 
4585
 * 
 
4586
 */
 
4587
 
 
4588
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_core(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
4589
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_core[] = "(UINT increment=1M, BOOL backing_store=True)\n\n        Use the h5fd.CORE (memory-resident) file driver.\n\n        increment\n            Chunk size for new memory requests (default 1 meg)\n\n        backing_store\n            If True (default), memory contents are associated with an\n            on-disk file, which is updated when the file is closed.\n            Set to False for a purely in-memory file.\n        ";
 
4590
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_core(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
4591
  size_t __pyx_v_block_size;
 
4592
  hbool_t __pyx_v_backing_store;
 
4593
  PyObject *__pyx_r = NULL;
 
4594
  herr_t __pyx_t_1;
 
4595
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_block_size,&__pyx_kp_backing_store,0};
 
4596
  __Pyx_SetupRefcountContext("set_fapl_core");
 
4597
  if (unlikely(__pyx_kwds)) {
 
4598
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
4599
    PyObject* values[2] = {0,0};
 
4600
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4601
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
4602
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
4603
      case  0: break;
 
4604
      default: goto __pyx_L5_argtuple_error;
 
4605
    }
 
4606
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4607
      case  0:
 
4608
      if (kw_args > 1) {
 
4609
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_block_size);
 
4610
        if (unlikely(value)) { values[0] = value; kw_args--; }
 
4611
      }
 
4612
      case  1:
 
4613
      if (kw_args > 1) {
 
4614
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_backing_store);
 
4615
        if (unlikely(value)) { values[1] = value; kw_args--; }
 
4616
      }
 
4617
    }
 
4618
    if (unlikely(kw_args > 0)) {
 
4619
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fapl_core") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4620
    }
 
4621
    if (values[0]) {
 
4622
      __pyx_v_block_size = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_block_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4623
    } else {
 
4624
      __pyx_v_block_size = __pyx_k_233;
 
4625
    }
 
4626
    if (values[1]) {
 
4627
      __pyx_v_backing_store = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_backing_store == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4628
    } else {
 
4629
      __pyx_v_backing_store = 1;
 
4630
    }
 
4631
  } else {
 
4632
    __pyx_v_block_size = __pyx_k_233;
 
4633
    __pyx_v_backing_store = 1;
 
4634
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4635
      case  2: __pyx_v_backing_store = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_backing_store == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4636
      case  1: __pyx_v_block_size = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_block_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4637
      case  0: break;
 
4638
      default: goto __pyx_L5_argtuple_error;
 
4639
    }
 
4640
  }
 
4641
  goto __pyx_L4_argument_unpacking_done;
 
4642
  __pyx_L5_argtuple_error:;
 
4643
  __Pyx_RaiseArgtupleInvalid("set_fapl_core", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4644
  __pyx_L3_error:;
 
4645
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_core");
 
4646
  return NULL;
 
4647
  __pyx_L4_argument_unpacking_done:;
 
4648
 
 
4649
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":63
 
4650
 *             Set to False for a purely in-memory file.
 
4651
 *         """
 
4652
 *         H5Pset_fapl_core(self.id, block_size, backing_store)             # <<<<<<<<<<<<<<
 
4653
 * 
 
4654
 *     @sync
 
4655
 */
 
4656
  __pyx_t_1 = H5Pset_fapl_core(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_block_size, __pyx_v_backing_store); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4657
 
 
4658
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4659
  goto __pyx_L0;
 
4660
  __pyx_L1_error:;
 
4661
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_core");
 
4662
  __pyx_r = NULL;
 
4663
  __pyx_L0:;
 
4664
  __Pyx_XGIVEREF(__pyx_r);
 
4665
  __Pyx_FinishRefcountContext();
 
4666
  return __pyx_r;
 
4667
}
 
4668
 
 
4669
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":66
 
4670
 * 
 
4671
 *     @sync
 
4672
 *     def get_fapl_core(self):             # <<<<<<<<<<<<<<
 
4673
 *         """() => TUPLE core_settings
 
4674
 * 
 
4675
 */
 
4676
 
 
4677
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_core(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
4678
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_fapl_core[] = "() => TUPLE core_settings\n\n        Determine settings for the h5fd.CORE (memory-resident) file driver.\n        Tuple elements are:\n\n        0. UINT \"increment\": Chunk size for new memory requests\n        1. BOOL \"backing_store\": If True, write the memory contents to \n           disk when the file is closed.\n        ";
 
4679
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_core(PyObject *__pyx_v_self, PyObject *unused) {
 
4680
  size_t __pyx_v_increment;
 
4681
  hbool_t __pyx_v_backing_store;
 
4682
  PyObject *__pyx_r = NULL;
 
4683
  herr_t __pyx_t_1;
 
4684
  PyObject *__pyx_t_2 = NULL;
 
4685
  PyObject *__pyx_t_3 = NULL;
 
4686
  PyObject *__pyx_t_4 = NULL;
 
4687
  __Pyx_SetupRefcountContext("get_fapl_core");
 
4688
 
 
4689
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":78
 
4690
 *         cdef size_t increment
 
4691
 *         cdef hbool_t backing_store
 
4692
 *         H5Pget_fapl_core(self.id, &increment, &backing_store)             # <<<<<<<<<<<<<<
 
4693
 *         return (increment, <bint>(backing_store))
 
4694
 * 
 
4695
 */
 
4696
  __pyx_t_1 = H5Pget_fapl_core(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_increment), (&__pyx_v_backing_store)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4697
 
 
4698
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":79
 
4699
 *         cdef hbool_t backing_store
 
4700
 *         H5Pget_fapl_core(self.id, &increment, &backing_store)
 
4701
 *         return (increment, <bint>(backing_store))             # <<<<<<<<<<<<<<
 
4702
 * 
 
4703
 *     @sync
 
4704
 */
 
4705
  __Pyx_XDECREF(__pyx_r);
 
4706
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_increment); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4707
  __Pyx_GOTREF(__pyx_t_2);
 
4708
  __pyx_t_3 = __Pyx_PyBool_FromLong(((int)__pyx_v_backing_store)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4709
  __Pyx_GOTREF(__pyx_t_3);
 
4710
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4711
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
4712
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
 
4713
  __Pyx_GIVEREF(__pyx_t_2);
 
4714
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
 
4715
  __Pyx_GIVEREF(__pyx_t_3);
 
4716
  __pyx_t_2 = 0;
 
4717
  __pyx_t_3 = 0;
 
4718
  __pyx_r = ((PyObject *)__pyx_t_4);
 
4719
  __pyx_t_4 = 0;
 
4720
  goto __pyx_L0;
 
4721
 
 
4722
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4723
  goto __pyx_L0;
 
4724
  __pyx_L1_error:;
 
4725
  __Pyx_XDECREF(__pyx_t_2);
 
4726
  __Pyx_XDECREF(__pyx_t_3);
 
4727
  __Pyx_XDECREF(__pyx_t_4);
 
4728
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_fapl_core");
 
4729
  __pyx_r = NULL;
 
4730
  __pyx_L0:;
 
4731
  __Pyx_XGIVEREF(__pyx_r);
 
4732
  __Pyx_FinishRefcountContext();
 
4733
  return __pyx_r;
 
4734
}
 
4735
 
 
4736
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":82
 
4737
 * 
 
4738
 *     @sync
 
4739
 *     def set_fapl_family(self, hsize_t memb_size=2147483647, PropID memb_fapl=None):             # <<<<<<<<<<<<<<
 
4740
 *         """(UINT memb_size=2**31-1, PropFAID memb_fapl=None)
 
4741
 * 
 
4742
 */
 
4743
 
 
4744
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_family(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
4745
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_family[] = "(UINT memb_size=2**31-1, PropFAID memb_fapl=None)\n\n        Set up the family driver.\n\n        memb_size\n            Member file size\n\n        memb_fapl\n            File access property list for each member access\n        ";
 
4746
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_family(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
4747
  hsize_t __pyx_v_memb_size;
 
4748
  struct __pyx_obj_4h5py_3h5p_PropID *__pyx_v_memb_fapl = 0;
 
4749
  hid_t __pyx_v_plist_id;
 
4750
  PyObject *__pyx_r = NULL;
 
4751
  herr_t __pyx_t_1;
 
4752
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_memb_size,&__pyx_kp_memb_fapl,0};
 
4753
  __Pyx_SetupRefcountContext("set_fapl_family");
 
4754
  if (unlikely(__pyx_kwds)) {
 
4755
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
4756
    PyObject* values[2] = {0,0};
 
4757
    values[1] = (PyObject*)((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
 
4758
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4759
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
4760
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
4761
      case  0: break;
 
4762
      default: goto __pyx_L5_argtuple_error;
 
4763
    }
 
4764
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4765
      case  0:
 
4766
      if (kw_args > 1) {
 
4767
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_memb_size);
 
4768
        if (unlikely(value)) { values[0] = value; kw_args--; }
 
4769
      }
 
4770
      case  1:
 
4771
      if (kw_args > 1) {
 
4772
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_memb_fapl);
 
4773
        if (unlikely(value)) { values[1] = value; kw_args--; }
 
4774
      }
 
4775
    }
 
4776
    if (unlikely(kw_args > 0)) {
 
4777
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fapl_family") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4778
    }
 
4779
    if (values[0]) {
 
4780
      __pyx_v_memb_size = __Pyx_PyInt_AsLongLong(values[0]); if (unlikely((__pyx_v_memb_size == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4781
    } else {
 
4782
      __pyx_v_memb_size = 2147483647;
 
4783
    }
 
4784
    __pyx_v_memb_fapl = ((struct __pyx_obj_4h5py_3h5p_PropID *)values[1]);
 
4785
  } else {
 
4786
    __pyx_v_memb_size = 2147483647;
 
4787
    __pyx_v_memb_fapl = ((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
 
4788
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4789
      case  2: __pyx_v_memb_fapl = ((struct __pyx_obj_4h5py_3h5p_PropID *)PyTuple_GET_ITEM(__pyx_args, 1));
 
4790
      case  1: __pyx_v_memb_size = __Pyx_PyInt_AsLongLong(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_memb_size == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4791
      case  0: break;
 
4792
      default: goto __pyx_L5_argtuple_error;
 
4793
    }
 
4794
  }
 
4795
  goto __pyx_L4_argument_unpacking_done;
 
4796
  __pyx_L5_argtuple_error:;
 
4797
  __Pyx_RaiseArgtupleInvalid("set_fapl_family", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4798
  __pyx_L3_error:;
 
4799
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_family");
 
4800
  return NULL;
 
4801
  __pyx_L4_argument_unpacking_done:;
 
4802
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_memb_fapl), __pyx_ptype_4h5py_3h5p_PropID, 1, "memb_fapl", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4803
 
 
4804
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":94
 
4805
 *         """
 
4806
 *         cdef hid_t plist_id
 
4807
 *         plist_id = pdefault(memb_fapl)             # <<<<<<<<<<<<<<
 
4808
 *         H5Pset_fapl_family(self.id, memb_size, plist_id)
 
4809
 * 
 
4810
 */
 
4811
  __pyx_v_plist_id = __pyx_f_4h5py_3h5p_pdefault(__pyx_v_memb_fapl);
 
4812
 
 
4813
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":95
 
4814
 *         cdef hid_t plist_id
 
4815
 *         plist_id = pdefault(memb_fapl)
 
4816
 *         H5Pset_fapl_family(self.id, memb_size, plist_id)             # <<<<<<<<<<<<<<
 
4817
 * 
 
4818
 *     @sync
 
4819
 */
 
4820
  __pyx_t_1 = H5Pset_fapl_family(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_memb_size, __pyx_v_plist_id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4821
 
 
4822
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4823
  goto __pyx_L0;
 
4824
  __pyx_L1_error:;
 
4825
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_family");
 
4826
  __pyx_r = NULL;
 
4827
  __pyx_L0:;
 
4828
  __Pyx_XGIVEREF(__pyx_r);
 
4829
  __Pyx_FinishRefcountContext();
 
4830
  return __pyx_r;
 
4831
}
 
4832
 
 
4833
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":98
 
4834
 * 
 
4835
 *     @sync
 
4836
 *     def get_fapl_family(self):             # <<<<<<<<<<<<<<
 
4837
 *         """() => TUPLE info
 
4838
 * 
 
4839
 */
 
4840
 
 
4841
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_family(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
4842
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_fapl_family[] = "() => TUPLE info\n\n        Determine family driver settings. Tuple values are:\n\n        0. UINT memb_size\n        1. PropFAID memb_fapl or None\n        ";
 
4843
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_family(PyObject *__pyx_v_self, PyObject *unused) {
 
4844
  hid_t __pyx_v_mfapl_id;
 
4845
  hsize_t __pyx_v_msize;
 
4846
  struct __pyx_obj_4h5py_3h5p_PropFAID *__pyx_v_plist;
 
4847
  PyObject *__pyx_r = NULL;
 
4848
  herr_t __pyx_t_1;
 
4849
  int __pyx_t_2;
 
4850
  PyObject *__pyx_t_3 = NULL;
 
4851
  PyObject *__pyx_t_4 = NULL;
 
4852
  __Pyx_SetupRefcountContext("get_fapl_family");
 
4853
  __pyx_v_plist = ((struct __pyx_obj_4h5py_3h5p_PropFAID *)Py_None); __Pyx_INCREF(Py_None);
 
4854
 
 
4855
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":109
 
4856
 *         cdef hsize_t msize
 
4857
 *         cdef PropFAID plist
 
4858
 *         plist = None             # <<<<<<<<<<<<<<
 
4859
 * 
 
4860
 *         H5Pget_fapl_family(self.id, &msize, &mfapl_id)
 
4861
 */
 
4862
  __Pyx_INCREF(Py_None);
 
4863
  __Pyx_DECREF(((PyObject *)__pyx_v_plist));
 
4864
  __pyx_v_plist = ((struct __pyx_obj_4h5py_3h5p_PropFAID *)Py_None);
 
4865
 
 
4866
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":111
 
4867
 *         plist = None
 
4868
 * 
 
4869
 *         H5Pget_fapl_family(self.id, &msize, &mfapl_id)             # <<<<<<<<<<<<<<
 
4870
 * 
 
4871
 *         if mfapl_id > 0:
 
4872
 */
 
4873
  __pyx_t_1 = H5Pget_fapl_family(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_msize), (&__pyx_v_mfapl_id)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4874
 
 
4875
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":113
 
4876
 *         H5Pget_fapl_family(self.id, &msize, &mfapl_id)
 
4877
 * 
 
4878
 *         if mfapl_id > 0:             # <<<<<<<<<<<<<<
 
4879
 *             plist = PropFAID(mfapl_id)
 
4880
 * 
 
4881
 */
 
4882
  __pyx_t_2 = (__pyx_v_mfapl_id > 0);
 
4883
  if (__pyx_t_2) {
 
4884
 
 
4885
    /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":114
 
4886
 * 
 
4887
 *         if mfapl_id > 0:
 
4888
 *             plist = PropFAID(mfapl_id)             # <<<<<<<<<<<<<<
 
4889
 * 
 
4890
 *         return (msize, plist)
 
4891
 */
 
4892
    __pyx_t_3 = PyInt_FromLong(__pyx_v_mfapl_id); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4893
    __Pyx_GOTREF(__pyx_t_3);
 
4894
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4895
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
4896
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
 
4897
    __Pyx_GIVEREF(__pyx_t_3);
 
4898
    __pyx_t_3 = 0;
 
4899
    __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5p_PropFAID)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4900
    __Pyx_GOTREF(__pyx_t_3);
 
4901
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
4902
    if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5p_PropFAID))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4903
    __Pyx_DECREF(((PyObject *)__pyx_v_plist));
 
4904
    __pyx_v_plist = ((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_t_3);
 
4905
    __pyx_t_3 = 0;
 
4906
    goto __pyx_L5;
 
4907
  }
 
4908
  __pyx_L5:;
 
4909
 
 
4910
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":116
 
4911
 *             plist = PropFAID(mfapl_id)
 
4912
 * 
 
4913
 *         return (msize, plist)             # <<<<<<<<<<<<<<
 
4914
 * 
 
4915
 *     @sync
 
4916
 */
 
4917
  __Pyx_XDECREF(__pyx_r);
 
4918
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_msize); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4919
  __Pyx_GOTREF(__pyx_t_3);
 
4920
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4921
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
4922
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
 
4923
  __Pyx_GIVEREF(__pyx_t_3);
 
4924
  __Pyx_INCREF(((PyObject *)__pyx_v_plist));
 
4925
  PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_plist));
 
4926
  __Pyx_GIVEREF(((PyObject *)__pyx_v_plist));
 
4927
  __pyx_t_3 = 0;
 
4928
  __pyx_r = ((PyObject *)__pyx_t_4);
 
4929
  __pyx_t_4 = 0;
 
4930
  goto __pyx_L0;
 
4931
 
 
4932
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4933
  goto __pyx_L0;
 
4934
  __pyx_L1_error:;
 
4935
  __Pyx_XDECREF(__pyx_t_3);
 
4936
  __Pyx_XDECREF(__pyx_t_4);
 
4937
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_fapl_family");
 
4938
  __pyx_r = NULL;
 
4939
  __pyx_L0:;
 
4940
  __Pyx_DECREF((PyObject *)__pyx_v_plist);
 
4941
  __Pyx_XGIVEREF(__pyx_r);
 
4942
  __Pyx_FinishRefcountContext();
 
4943
  return __pyx_r;
 
4944
}
 
4945
 
 
4946
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":119
 
4947
 * 
 
4948
 *     @sync
 
4949
 *     def set_fapl_log(self, char* logfile, unsigned int flags, size_t buf_size):             # <<<<<<<<<<<<<<
 
4950
 *         """(STRING logfile, UINT flags, UINT buf_size)
 
4951
 * 
 
4952
 */
 
4953
 
 
4954
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_log(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
4955
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_log[] = "(STRING logfile, UINT flags, UINT buf_size)\n\n        Enable the use of the logging driver.  See the HDF5 documentation\n        for details.  Flag constants are stored in module h5fd.\n        ";
 
4956
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_log(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
4957
  char *__pyx_v_logfile;
 
4958
  unsigned int __pyx_v_flags;
 
4959
  size_t __pyx_v_buf_size;
 
4960
  PyObject *__pyx_r = NULL;
 
4961
  herr_t __pyx_t_1;
 
4962
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_logfile,&__pyx_kp_flags,&__pyx_kp_buf_size,0};
 
4963
  __Pyx_SetupRefcountContext("set_fapl_log");
 
4964
  if (unlikely(__pyx_kwds)) {
 
4965
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
4966
    PyObject* values[3] = {0,0,0};
 
4967
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4968
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
 
4969
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
4970
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
4971
      case  0: break;
 
4972
      default: goto __pyx_L5_argtuple_error;
 
4973
    }
 
4974
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
4975
      case  0:
 
4976
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_logfile);
 
4977
      if (likely(values[0])) kw_args--;
 
4978
      else goto __pyx_L5_argtuple_error;
 
4979
      case  1:
 
4980
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_flags);
 
4981
      if (likely(values[1])) kw_args--;
 
4982
      else {
 
4983
        __Pyx_RaiseArgtupleInvalid("set_fapl_log", 1, 3, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4984
      }
 
4985
      case  2:
 
4986
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_buf_size);
 
4987
      if (likely(values[2])) kw_args--;
 
4988
      else {
 
4989
        __Pyx_RaiseArgtupleInvalid("set_fapl_log", 1, 3, 3, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4990
      }
 
4991
    }
 
4992
    if (unlikely(kw_args > 0)) {
 
4993
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fapl_log") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4994
    }
 
4995
    __pyx_v_logfile = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_logfile) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4996
    __pyx_v_flags = __Pyx_PyInt_AsUnsignedInt(values[1]); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4997
    __pyx_v_buf_size = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_buf_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4998
  } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
 
4999
    goto __pyx_L5_argtuple_error;
 
5000
  } else {
 
5001
    __pyx_v_logfile = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_logfile) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5002
    __pyx_v_flags = __Pyx_PyInt_AsUnsignedInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_flags == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5003
    __pyx_v_buf_size = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_buf_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5004
  }
 
5005
  goto __pyx_L4_argument_unpacking_done;
 
5006
  __pyx_L5_argtuple_error:;
 
5007
  __Pyx_RaiseArgtupleInvalid("set_fapl_log", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5008
  __pyx_L3_error:;
 
5009
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_log");
 
5010
  return NULL;
 
5011
  __pyx_L4_argument_unpacking_done:;
 
5012
 
 
5013
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":125
 
5014
 *         for details.  Flag constants are stored in module h5fd.
 
5015
 *         """
 
5016
 *         H5Pset_fapl_log(self.id, logfile, flags, buf_size)             # <<<<<<<<<<<<<<
 
5017
 * 
 
5018
 *     @sync
 
5019
 */
 
5020
  __pyx_t_1 = H5Pset_fapl_log(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_logfile, __pyx_v_flags, __pyx_v_buf_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5021
 
 
5022
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5023
  goto __pyx_L0;
 
5024
  __pyx_L1_error:;
 
5025
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_log");
 
5026
  __pyx_r = NULL;
 
5027
  __pyx_L0:;
 
5028
  __Pyx_XGIVEREF(__pyx_r);
 
5029
  __Pyx_FinishRefcountContext();
 
5030
  return __pyx_r;
 
5031
}
 
5032
 
 
5033
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":128
 
5034
 * 
 
5035
 *     @sync
 
5036
 *     def set_fapl_sec2(self):             # <<<<<<<<<<<<<<
 
5037
 *         """()
 
5038
 * 
 
5039
 */
 
5040
 
 
5041
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_sec2(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
5042
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_sec2[] = "()\n\n        Select the \"section-2\" driver (h5fd.SEC2).\n        ";
 
5043
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_sec2(PyObject *__pyx_v_self, PyObject *unused) {
 
5044
  PyObject *__pyx_r = NULL;
 
5045
  herr_t __pyx_t_1;
 
5046
  __Pyx_SetupRefcountContext("set_fapl_sec2");
 
5047
 
 
5048
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":133
 
5049
 *         Select the "section-2" driver (h5fd.SEC2).
 
5050
 *         """
 
5051
 *         H5Pset_fapl_sec2(self.id)             # <<<<<<<<<<<<<<
 
5052
 * 
 
5053
 *     @sync
 
5054
 */
 
5055
  __pyx_t_1 = H5Pset_fapl_sec2(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5056
 
 
5057
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5058
  goto __pyx_L0;
 
5059
  __pyx_L1_error:;
 
5060
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_sec2");
 
5061
  __pyx_r = NULL;
 
5062
  __pyx_L0:;
 
5063
  __Pyx_XGIVEREF(__pyx_r);
 
5064
  __Pyx_FinishRefcountContext();
 
5065
  return __pyx_r;
 
5066
}
 
5067
 
 
5068
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":136
 
5069
 * 
 
5070
 *     @sync
 
5071
 *     def set_fapl_stdio(self):             # <<<<<<<<<<<<<<
 
5072
 *         """()
 
5073
 * 
 
5074
 */
 
5075
 
 
5076
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_stdio(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
5077
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_stdio[] = "()\n\n        Select the \"stdio\" driver (h5fd.STDIO)\n        ";
 
5078
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_stdio(PyObject *__pyx_v_self, PyObject *unused) {
 
5079
  PyObject *__pyx_r = NULL;
 
5080
  herr_t __pyx_t_1;
 
5081
  __Pyx_SetupRefcountContext("set_fapl_stdio");
 
5082
 
 
5083
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":141
 
5084
 *         Select the "stdio" driver (h5fd.STDIO)
 
5085
 *         """
 
5086
 *         H5Pset_fapl_stdio(self.id)             # <<<<<<<<<<<<<<
 
5087
 * 
 
5088
 *     @sync
 
5089
 */
 
5090
  __pyx_t_1 = H5Pset_fapl_stdio(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5091
 
 
5092
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5093
  goto __pyx_L0;
 
5094
  __pyx_L1_error:;
 
5095
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_fapl_stdio");
 
5096
  __pyx_r = NULL;
 
5097
  __pyx_L0:;
 
5098
  __Pyx_XGIVEREF(__pyx_r);
 
5099
  __Pyx_FinishRefcountContext();
 
5100
  return __pyx_r;
 
5101
}
 
5102
 
 
5103
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":144
 
5104
 * 
 
5105
 *     @sync
 
5106
 *     def get_driver(self):             # <<<<<<<<<<<<<<
 
5107
 *         """() => INT driver code
 
5108
 * 
 
5109
 */
 
5110
 
 
5111
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_driver(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
5112
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_driver[] = "() => INT driver code\n\n        Return an integer identifier for the driver used by this list.\n        Although HDF5 implements these as full-fledged objects, they are\n        treated as integers by Python.  Built-in drivers identifiers are\n        listed in module h5fd; they are:\n\n        - h5fd.CORE\n        - h5fd.FAMILY\n        - h5fd.LOG\n        - h5fd.MPIO\n        - h5fd.MULTI\n        - h5fd.SEC2\n        - h5fd.STDIO\n        ";
 
5113
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_driver(PyObject *__pyx_v_self, PyObject *unused) {
 
5114
  PyObject *__pyx_r = NULL;
 
5115
  hid_t __pyx_t_1;
 
5116
  PyObject *__pyx_t_2 = NULL;
 
5117
  __Pyx_SetupRefcountContext("get_driver");
 
5118
 
 
5119
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":160
 
5120
 *         - h5fd.STDIO
 
5121
 *         """
 
5122
 *         return H5Pget_driver(self.id)             # <<<<<<<<<<<<<<
 
5123
 * 
 
5124
 *     @sync
 
5125
 */
 
5126
  __Pyx_XDECREF(__pyx_r);
 
5127
  __pyx_t_1 = H5Pget_driver(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5128
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5129
  __Pyx_GOTREF(__pyx_t_2);
 
5130
  __pyx_r = __pyx_t_2;
 
5131
  __pyx_t_2 = 0;
 
5132
  goto __pyx_L0;
 
5133
 
 
5134
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5135
  goto __pyx_L0;
 
5136
  __pyx_L1_error:;
 
5137
  __Pyx_XDECREF(__pyx_t_2);
 
5138
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_driver");
 
5139
  __pyx_r = NULL;
 
5140
  __pyx_L0:;
 
5141
  __Pyx_XGIVEREF(__pyx_r);
 
5142
  __Pyx_FinishRefcountContext();
 
5143
  return __pyx_r;
 
5144
}
 
5145
 
 
5146
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":163
 
5147
 * 
 
5148
 *     @sync
 
5149
 *     def set_cache(self, int mdc, int rdcc, size_t rdcc_nbytes, double rdcc_w0):             # <<<<<<<<<<<<<<
 
5150
 *         """(INT mdc, INT rdcc, UINT rdcc_nbytes, DOUBLE rdcc_w0)
 
5151
 * 
 
5152
 */
 
5153
 
 
5154
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_cache(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
5155
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_cache[] = "(INT mdc, INT rdcc, UINT rdcc_nbytes, DOUBLE rdcc_w0)\n\n        Set the metadata (mdc) and raw data chunk (rdcc) cache properties.\n        See the HDF5 docs for a full explanation.\n        ";
 
5156
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_cache(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
5157
  int __pyx_v_mdc;
 
5158
  int __pyx_v_rdcc;
 
5159
  size_t __pyx_v_rdcc_nbytes;
 
5160
  double __pyx_v_rdcc_w0;
 
5161
  PyObject *__pyx_r = NULL;
 
5162
  herr_t __pyx_t_1;
 
5163
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_mdc,&__pyx_kp_rdcc,&__pyx_kp_rdcc_nbytes,&__pyx_kp_rdcc_w0,0};
 
5164
  __Pyx_SetupRefcountContext("set_cache");
 
5165
  if (unlikely(__pyx_kwds)) {
 
5166
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
5167
    PyObject* values[4] = {0,0,0,0};
 
5168
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
5169
      case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
 
5170
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
 
5171
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
5172
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
5173
      case  0: break;
 
5174
      default: goto __pyx_L5_argtuple_error;
 
5175
    }
 
5176
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
5177
      case  0:
 
5178
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_mdc);
 
5179
      if (likely(values[0])) kw_args--;
 
5180
      else goto __pyx_L5_argtuple_error;
 
5181
      case  1:
 
5182
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_rdcc);
 
5183
      if (likely(values[1])) kw_args--;
 
5184
      else {
 
5185
        __Pyx_RaiseArgtupleInvalid("set_cache", 1, 4, 4, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5186
      }
 
5187
      case  2:
 
5188
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_rdcc_nbytes);
 
5189
      if (likely(values[2])) kw_args--;
 
5190
      else {
 
5191
        __Pyx_RaiseArgtupleInvalid("set_cache", 1, 4, 4, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5192
      }
 
5193
      case  3:
 
5194
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_kp_rdcc_w0);
 
5195
      if (likely(values[3])) kw_args--;
 
5196
      else {
 
5197
        __Pyx_RaiseArgtupleInvalid("set_cache", 1, 4, 4, 3); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5198
      }
 
5199
    }
 
5200
    if (unlikely(kw_args > 0)) {
 
5201
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_cache") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5202
    }
 
5203
    __pyx_v_mdc = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_mdc == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5204
    __pyx_v_rdcc = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_rdcc == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5205
    __pyx_v_rdcc_nbytes = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_rdcc_nbytes == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5206
    __pyx_v_rdcc_w0 = __pyx_PyFloat_AsDouble(values[3]); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5207
  } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
 
5208
    goto __pyx_L5_argtuple_error;
 
5209
  } else {
 
5210
    __pyx_v_mdc = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_mdc == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5211
    __pyx_v_rdcc = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_rdcc == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5212
    __pyx_v_rdcc_nbytes = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_rdcc_nbytes == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5213
    __pyx_v_rdcc_w0 = __pyx_PyFloat_AsDouble(PyTuple_GET_ITEM(__pyx_args, 3)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5214
  }
 
5215
  goto __pyx_L4_argument_unpacking_done;
 
5216
  __pyx_L5_argtuple_error:;
 
5217
  __Pyx_RaiseArgtupleInvalid("set_cache", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5218
  __pyx_L3_error:;
 
5219
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_cache");
 
5220
  return NULL;
 
5221
  __pyx_L4_argument_unpacking_done:;
 
5222
 
 
5223
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":169
 
5224
 *         See the HDF5 docs for a full explanation.
 
5225
 *         """
 
5226
 *         H5Pset_cache(self.id, mdc, rdcc, rdcc_nbytes, rdcc_w0)             # <<<<<<<<<<<<<<
 
5227
 * 
 
5228
 *     @sync
 
5229
 */
 
5230
  __pyx_t_1 = H5Pset_cache(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_mdc, __pyx_v_rdcc, __pyx_v_rdcc_nbytes, __pyx_v_rdcc_w0); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5231
 
 
5232
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5233
  goto __pyx_L0;
 
5234
  __pyx_L1_error:;
 
5235
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_cache");
 
5236
  __pyx_r = NULL;
 
5237
  __pyx_L0:;
 
5238
  __Pyx_XGIVEREF(__pyx_r);
 
5239
  __Pyx_FinishRefcountContext();
 
5240
  return __pyx_r;
 
5241
}
 
5242
 
 
5243
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":172
 
5244
 * 
 
5245
 *     @sync
 
5246
 *     def get_cache(self):             # <<<<<<<<<<<<<<
 
5247
 *         """() => TUPLE cache info
 
5248
 * 
 
5249
 */
 
5250
 
 
5251
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_cache(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
5252
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_cache[] = "() => TUPLE cache info\n\n        Get the metadata and raw data chunk cache settings.  See the HDF5\n        docs for element definitions.  Return is a 4-tuple with entries:\n\n        1. INT mdc:              Number of metadata objects\n        2. INT rdcc:             Number of raw data chunks\n        3. UINT rdcc_nbytes:     Size of raw data cache\n        4. DOUBLE rdcc_w0:       Preemption policy for data cache.\n        ";
 
5253
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_cache(PyObject *__pyx_v_self, PyObject *unused) {
 
5254
  int __pyx_v_mdc;
 
5255
  int __pyx_v_rdcc;
 
5256
  size_t __pyx_v_rdcc_nbytes;
 
5257
  double __pyx_v_w0;
 
5258
  PyObject *__pyx_r = NULL;
 
5259
  herr_t __pyx_t_1;
 
5260
  PyObject *__pyx_t_2 = NULL;
 
5261
  PyObject *__pyx_t_3 = NULL;
 
5262
  PyObject *__pyx_t_4 = NULL;
 
5263
  PyObject *__pyx_t_5 = NULL;
 
5264
  PyObject *__pyx_t_6 = NULL;
 
5265
  __Pyx_SetupRefcountContext("get_cache");
 
5266
 
 
5267
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":187
 
5268
 *         cdef double w0
 
5269
 * 
 
5270
 *         H5Pget_cache(self.id, &mdc, &rdcc, &rdcc_nbytes, &w0)             # <<<<<<<<<<<<<<
 
5271
 *         return (mdc, rdcc, rdcc_nbytes, w0)
 
5272
 * 
 
5273
 */
 
5274
  __pyx_t_1 = H5Pget_cache(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_mdc), (&__pyx_v_rdcc), (&__pyx_v_rdcc_nbytes), (&__pyx_v_w0)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5275
 
 
5276
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":188
 
5277
 * 
 
5278
 *         H5Pget_cache(self.id, &mdc, &rdcc, &rdcc_nbytes, &w0)
 
5279
 *         return (mdc, rdcc, rdcc_nbytes, w0)             # <<<<<<<<<<<<<<
 
5280
 * 
 
5281
 *     @sync
 
5282
 */
 
5283
  __Pyx_XDECREF(__pyx_r);
 
5284
  __pyx_t_2 = PyInt_FromLong(__pyx_v_mdc); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5285
  __Pyx_GOTREF(__pyx_t_2);
 
5286
  __pyx_t_3 = PyInt_FromLong(__pyx_v_rdcc); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5287
  __Pyx_GOTREF(__pyx_t_3);
 
5288
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(__pyx_v_rdcc_nbytes); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5289
  __Pyx_GOTREF(__pyx_t_4);
 
5290
  __pyx_t_5 = PyFloat_FromDouble(__pyx_v_w0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5291
  __Pyx_GOTREF(__pyx_t_5);
 
5292
  __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5293
  __Pyx_GOTREF(((PyObject *)__pyx_t_6));
 
5294
  PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
 
5295
  __Pyx_GIVEREF(__pyx_t_2);
 
5296
  PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3);
 
5297
  __Pyx_GIVEREF(__pyx_t_3);
 
5298
  PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4);
 
5299
  __Pyx_GIVEREF(__pyx_t_4);
 
5300
  PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_t_5);
 
5301
  __Pyx_GIVEREF(__pyx_t_5);
 
5302
  __pyx_t_2 = 0;
 
5303
  __pyx_t_3 = 0;
 
5304
  __pyx_t_4 = 0;
 
5305
  __pyx_t_5 = 0;
 
5306
  __pyx_r = ((PyObject *)__pyx_t_6);
 
5307
  __pyx_t_6 = 0;
 
5308
  goto __pyx_L0;
 
5309
 
 
5310
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5311
  goto __pyx_L0;
 
5312
  __pyx_L1_error:;
 
5313
  __Pyx_XDECREF(__pyx_t_2);
 
5314
  __Pyx_XDECREF(__pyx_t_3);
 
5315
  __Pyx_XDECREF(__pyx_t_4);
 
5316
  __Pyx_XDECREF(__pyx_t_5);
 
5317
  __Pyx_XDECREF(__pyx_t_6);
 
5318
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_cache");
 
5319
  __pyx_r = NULL;
 
5320
  __pyx_L0:;
 
5321
  __Pyx_XGIVEREF(__pyx_r);
 
5322
  __Pyx_FinishRefcountContext();
 
5323
  return __pyx_r;
 
5324
}
 
5325
 
 
5326
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":191
 
5327
 * 
 
5328
 *     @sync
 
5329
 *     def set_sieve_buf_size(self, size_t size):             # <<<<<<<<<<<<<<
 
5330
 *         """ (UINT size)
 
5331
 * 
 
5332
 */
 
5333
 
 
5334
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_sieve_buf_size(PyObject *__pyx_v_self, PyObject *__pyx_arg_size); /*proto*/
 
5335
static char __pyx_doc_4h5py_3h5p_8PropFAID_set_sieve_buf_size[] = " (UINT size)\n\n        Set the maximum size of the data sieve buffer (in bytes).  This\n        buffer can improve I/O performance for hyperslab I/O, by combining\n        reads and writes into blocks of the given size.  The default is 64k.\n        ";
 
5336
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_set_sieve_buf_size(PyObject *__pyx_v_self, PyObject *__pyx_arg_size) {
 
5337
  size_t __pyx_v_size;
 
5338
  PyObject *__pyx_r = NULL;
 
5339
  herr_t __pyx_t_1;
 
5340
  __Pyx_SetupRefcountContext("set_sieve_buf_size");
 
5341
  assert(__pyx_arg_size); {
 
5342
    __pyx_v_size = __Pyx_PyInt_AsSize_t(__pyx_arg_size); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5343
  }
 
5344
  goto __pyx_L4_argument_unpacking_done;
 
5345
  __pyx_L3_error:;
 
5346
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_sieve_buf_size");
 
5347
  return NULL;
 
5348
  __pyx_L4_argument_unpacking_done:;
 
5349
 
 
5350
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":198
 
5351
 *         reads and writes into blocks of the given size.  The default is 64k.
 
5352
 *         """
 
5353
 *         H5Pset_sieve_buf_size(self.id, size)             # <<<<<<<<<<<<<<
 
5354
 * 
 
5355
 *     @sync
 
5356
 */
 
5357
  __pyx_t_1 = H5Pset_sieve_buf_size(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5358
 
 
5359
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5360
  goto __pyx_L0;
 
5361
  __pyx_L1_error:;
 
5362
  __Pyx_AddTraceback("h5py.h5p.PropFAID.set_sieve_buf_size");
 
5363
  __pyx_r = NULL;
 
5364
  __pyx_L0:;
 
5365
  __Pyx_XGIVEREF(__pyx_r);
 
5366
  __Pyx_FinishRefcountContext();
 
5367
  return __pyx_r;
 
5368
}
 
5369
 
 
5370
/* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":201
 
5371
 * 
 
5372
 *     @sync
 
5373
 *     def get_sieve_buf_size(self):             # <<<<<<<<<<<<<<
 
5374
 *         """ () => UINT size
 
5375
 * 
 
5376
 */
 
5377
 
 
5378
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_sieve_buf_size(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
 
5379
static char __pyx_doc_4h5py_3h5p_8PropFAID_get_sieve_buf_size[] = " () => UINT size\n\n        Get the current maximum size of the data sieve buffer (in bytes).\n        ";
 
5380
static PyObject *__pyx_pf_4h5py_3h5p_8PropFAID_get_sieve_buf_size(PyObject *__pyx_v_self, PyObject *unused) {
 
5381
  size_t __pyx_v_size;
 
5382
  PyObject *__pyx_r = NULL;
 
5383
  herr_t __pyx_t_1;
 
5384
  PyObject *__pyx_t_2 = NULL;
 
5385
  __Pyx_SetupRefcountContext("get_sieve_buf_size");
 
5386
 
 
5387
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":207
 
5388
 *         """
 
5389
 *         cdef size_t size
 
5390
 *         H5Pget_sieve_buf_size(self.id, &size)             # <<<<<<<<<<<<<<
 
5391
 *         return size
 
5392
 * 
 
5393
 */
 
5394
  __pyx_t_1 = H5Pget_sieve_buf_size(((struct __pyx_obj_4h5py_3h5p_PropFAID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_size)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5395
 
 
5396
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":208
 
5397
 *         cdef size_t size
 
5398
 *         H5Pget_sieve_buf_size(self.id, &size)
 
5399
 *         return size             # <<<<<<<<<<<<<<
 
5400
 * 
 
5401
 * 
 
5402
 */
 
5403
  __Pyx_XDECREF(__pyx_r);
 
5404
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5405
  __Pyx_GOTREF(__pyx_t_2);
 
5406
  __pyx_r = __pyx_t_2;
 
5407
  __pyx_t_2 = 0;
 
5408
  goto __pyx_L0;
 
5409
 
 
5410
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5411
  goto __pyx_L0;
 
5412
  __pyx_L1_error:;
 
5413
  __Pyx_XDECREF(__pyx_t_2);
 
5414
  __Pyx_AddTraceback("h5py.h5p.PropFAID.get_sieve_buf_size");
 
5415
  __pyx_r = NULL;
 
5416
  __pyx_L0:;
 
5417
  __Pyx_XGIVEREF(__pyx_r);
 
5418
  __Pyx_FinishRefcountContext();
 
5419
  return __pyx_r;
 
5420
}
 
5421
 
 
5422
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":42
 
5423
 * 
 
5424
 *     cdef object __weakref__
 
5425
 *     cdef readonly hid_t id             # <<<<<<<<<<<<<<
 
5426
 *     cdef readonly int _locked
 
5427
 *     cdef object _hash
 
5428
 */
 
5429
 
 
5430
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_2id___get__(PyObject *__pyx_v_self); /*proto*/
 
5431
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_2id___get__(PyObject *__pyx_v_self) {
 
5432
  PyObject *__pyx_r = NULL;
 
5433
  PyObject *__pyx_t_1 = NULL;
 
5434
  __Pyx_SetupRefcountContext("__get__");
 
5435
  __Pyx_XDECREF(__pyx_r);
 
5436
  __pyx_t_1 = PyInt_FromLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5437
  __Pyx_GOTREF(__pyx_t_1);
 
5438
  __pyx_r = __pyx_t_1;
 
5439
  __pyx_t_1 = 0;
 
5440
  goto __pyx_L0;
 
5441
 
 
5442
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
5443
  goto __pyx_L0;
 
5444
  __pyx_L1_error:;
 
5445
  __Pyx_XDECREF(__pyx_t_1);
 
5446
  __Pyx_AddTraceback("h5py.h5.ObjectID.id.__get__");
 
5447
  __pyx_r = NULL;
 
5448
  __pyx_L0:;
 
5449
  __Pyx_XGIVEREF(__pyx_r);
 
5450
  __Pyx_FinishRefcountContext();
 
5451
  return __pyx_r;
 
5452
}
 
5453
 
 
5454
static PyObject *__pyx_tp_new_4h5py_3h5p_PropID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
5455
  PyObject *o = __pyx_ptype_4h5py_2h5_ObjectID->tp_new(t, a, k);
 
5456
  if (!o) return 0;
 
5457
  return o;
 
5458
}
 
5459
 
 
5460
static void __pyx_tp_dealloc_4h5py_3h5p_PropID(PyObject *o) {
 
5461
  __pyx_ptype_4h5py_2h5_ObjectID->tp_dealloc(o);
 
5462
}
 
5463
 
 
5464
static int __pyx_tp_traverse_4h5py_3h5p_PropID(PyObject *o, visitproc v, void *a) {
 
5465
  int e;
 
5466
  if (__pyx_ptype_4h5py_2h5_ObjectID->tp_traverse) {
 
5467
    e = __pyx_ptype_4h5py_2h5_ObjectID->tp_traverse(o, v, a); if (e) return e;
 
5468
  }
 
5469
  return 0;
 
5470
}
 
5471
 
 
5472
static int __pyx_tp_clear_4h5py_3h5p_PropID(PyObject *o) {
 
5473
  if (__pyx_ptype_4h5py_2h5_ObjectID->tp_clear) {
 
5474
    __pyx_ptype_4h5py_2h5_ObjectID->tp_clear(o);
 
5475
  }
 
5476
  return 0;
 
5477
}
 
5478
 
 
5479
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropID[] = {
 
5480
  {__Pyx_NAMESTR("equal"), (PyCFunction)__pyx_pf_4h5py_3h5p_6PropID_equal, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_6PropID_equal)},
 
5481
  {0, 0, 0, 0}
 
5482
};
 
5483
 
 
5484
static PyNumberMethods __pyx_tp_as_number_PropID = {
 
5485
  0, /*nb_add*/
 
5486
  0, /*nb_subtract*/
 
5487
  0, /*nb_multiply*/
 
5488
  #if PY_MAJOR_VERSION < 3
 
5489
  0, /*nb_divide*/
 
5490
  #endif
 
5491
  0, /*nb_remainder*/
 
5492
  0, /*nb_divmod*/
 
5493
  0, /*nb_power*/
 
5494
  0, /*nb_negative*/
 
5495
  0, /*nb_positive*/
 
5496
  0, /*nb_absolute*/
 
5497
  0, /*nb_nonzero*/
 
5498
  0, /*nb_invert*/
 
5499
  0, /*nb_lshift*/
 
5500
  0, /*nb_rshift*/
 
5501
  0, /*nb_and*/
 
5502
  0, /*nb_xor*/
 
5503
  0, /*nb_or*/
 
5504
  #if PY_MAJOR_VERSION < 3
 
5505
  0, /*nb_coerce*/
 
5506
  #endif
 
5507
  0, /*nb_int*/
 
5508
  #if PY_MAJOR_VERSION >= 3
 
5509
  0, /*reserved*/
 
5510
  #else
 
5511
  0, /*nb_long*/
 
5512
  #endif
 
5513
  0, /*nb_float*/
 
5514
  #if PY_MAJOR_VERSION < 3
 
5515
  0, /*nb_oct*/
 
5516
  #endif
 
5517
  #if PY_MAJOR_VERSION < 3
 
5518
  0, /*nb_hex*/
 
5519
  #endif
 
5520
  0, /*nb_inplace_add*/
 
5521
  0, /*nb_inplace_subtract*/
 
5522
  0, /*nb_inplace_multiply*/
 
5523
  #if PY_MAJOR_VERSION < 3
 
5524
  0, /*nb_inplace_divide*/
 
5525
  #endif
 
5526
  0, /*nb_inplace_remainder*/
 
5527
  0, /*nb_inplace_power*/
 
5528
  0, /*nb_inplace_lshift*/
 
5529
  0, /*nb_inplace_rshift*/
 
5530
  0, /*nb_inplace_and*/
 
5531
  0, /*nb_inplace_xor*/
 
5532
  0, /*nb_inplace_or*/
 
5533
  0, /*nb_floor_divide*/
 
5534
  0, /*nb_true_divide*/
 
5535
  0, /*nb_inplace_floor_divide*/
 
5536
  0, /*nb_inplace_true_divide*/
 
5537
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
5538
  0, /*nb_index*/
 
5539
  #endif
 
5540
};
 
5541
 
 
5542
static PySequenceMethods __pyx_tp_as_sequence_PropID = {
 
5543
  0, /*sq_length*/
 
5544
  0, /*sq_concat*/
 
5545
  0, /*sq_repeat*/
 
5546
  0, /*sq_item*/
 
5547
  0, /*sq_slice*/
 
5548
  0, /*sq_ass_item*/
 
5549
  0, /*sq_ass_slice*/
 
5550
  0, /*sq_contains*/
 
5551
  0, /*sq_inplace_concat*/
 
5552
  0, /*sq_inplace_repeat*/
 
5553
};
 
5554
 
 
5555
static PyMappingMethods __pyx_tp_as_mapping_PropID = {
 
5556
  0, /*mp_length*/
 
5557
  0, /*mp_subscript*/
 
5558
  0, /*mp_ass_subscript*/
 
5559
};
 
5560
 
 
5561
static PyBufferProcs __pyx_tp_as_buffer_PropID = {
 
5562
  #if PY_MAJOR_VERSION < 3
 
5563
  0, /*bf_getreadbuffer*/
 
5564
  #endif
 
5565
  #if PY_MAJOR_VERSION < 3
 
5566
  0, /*bf_getwritebuffer*/
 
5567
  #endif
 
5568
  #if PY_MAJOR_VERSION < 3
 
5569
  0, /*bf_getsegcount*/
 
5570
  #endif
 
5571
  #if PY_MAJOR_VERSION < 3
 
5572
  0, /*bf_getcharbuffer*/
 
5573
  #endif
 
5574
  #if PY_VERSION_HEX >= 0x02060000
 
5575
  0, /*bf_getbuffer*/
 
5576
  #endif
 
5577
  #if PY_VERSION_HEX >= 0x02060000
 
5578
  0, /*bf_releasebuffer*/
 
5579
  #endif
 
5580
};
 
5581
 
 
5582
PyTypeObject __pyx_type_4h5py_3h5p_PropID = {
 
5583
  PyVarObject_HEAD_INIT(0, 0)
 
5584
  __Pyx_NAMESTR("h5py.h5p.PropID"), /*tp_name*/
 
5585
  sizeof(struct __pyx_obj_4h5py_3h5p_PropID), /*tp_basicsize*/
 
5586
  0, /*tp_itemsize*/
 
5587
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
5588
  0, /*tp_print*/
 
5589
  0, /*tp_getattr*/
 
5590
  0, /*tp_setattr*/
 
5591
  0, /*tp_compare*/
 
5592
  0, /*tp_repr*/
 
5593
  &__pyx_tp_as_number_PropID, /*tp_as_number*/
 
5594
  &__pyx_tp_as_sequence_PropID, /*tp_as_sequence*/
 
5595
  &__pyx_tp_as_mapping_PropID, /*tp_as_mapping*/
 
5596
  __pyx_pf_4h5py_3h5p_6PropID___hash__, /*tp_hash*/
 
5597
  0, /*tp_call*/
 
5598
  0, /*tp_str*/
 
5599
  0, /*tp_getattro*/
 
5600
  0, /*tp_setattro*/
 
5601
  &__pyx_tp_as_buffer_PropID, /*tp_as_buffer*/
 
5602
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
5603
  __Pyx_DOCSTR("\n        Base class for all property lists and classes\n    "), /*tp_doc*/
 
5604
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
5605
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
5606
  __pyx_pf_4h5py_3h5p_6PropID___richcmp__, /*tp_richcompare*/
 
5607
  0, /*tp_weaklistoffset*/
 
5608
  0, /*tp_iter*/
 
5609
  0, /*tp_iternext*/
 
5610
  __pyx_methods_4h5py_3h5p_PropID, /*tp_methods*/
 
5611
  0, /*tp_members*/
 
5612
  0, /*tp_getset*/
 
5613
  0, /*tp_base*/
 
5614
  0, /*tp_dict*/
 
5615
  0, /*tp_descr_get*/
 
5616
  0, /*tp_descr_set*/
 
5617
  0, /*tp_dictoffset*/
 
5618
  0, /*tp_init*/
 
5619
  0, /*tp_alloc*/
 
5620
  __pyx_tp_new_4h5py_3h5p_PropID, /*tp_new*/
 
5621
  0, /*tp_free*/
 
5622
  0, /*tp_is_gc*/
 
5623
  0, /*tp_bases*/
 
5624
  0, /*tp_mro*/
 
5625
  0, /*tp_cache*/
 
5626
  0, /*tp_subclasses*/
 
5627
  0, /*tp_weaklist*/
 
5628
};
 
5629
 
 
5630
static PyObject *__pyx_tp_new_4h5py_3h5p_PropClassID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
5631
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
5632
  if (!o) return 0;
 
5633
  return o;
 
5634
}
 
5635
 
 
5636
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropClassID[] = {
 
5637
  {0, 0, 0, 0}
 
5638
};
 
5639
 
 
5640
static PyNumberMethods __pyx_tp_as_number_PropClassID = {
 
5641
  0, /*nb_add*/
 
5642
  0, /*nb_subtract*/
 
5643
  0, /*nb_multiply*/
 
5644
  #if PY_MAJOR_VERSION < 3
 
5645
  0, /*nb_divide*/
 
5646
  #endif
 
5647
  0, /*nb_remainder*/
 
5648
  0, /*nb_divmod*/
 
5649
  0, /*nb_power*/
 
5650
  0, /*nb_negative*/
 
5651
  0, /*nb_positive*/
 
5652
  0, /*nb_absolute*/
 
5653
  0, /*nb_nonzero*/
 
5654
  0, /*nb_invert*/
 
5655
  0, /*nb_lshift*/
 
5656
  0, /*nb_rshift*/
 
5657
  0, /*nb_and*/
 
5658
  0, /*nb_xor*/
 
5659
  0, /*nb_or*/
 
5660
  #if PY_MAJOR_VERSION < 3
 
5661
  0, /*nb_coerce*/
 
5662
  #endif
 
5663
  0, /*nb_int*/
 
5664
  #if PY_MAJOR_VERSION >= 3
 
5665
  0, /*reserved*/
 
5666
  #else
 
5667
  0, /*nb_long*/
 
5668
  #endif
 
5669
  0, /*nb_float*/
 
5670
  #if PY_MAJOR_VERSION < 3
 
5671
  0, /*nb_oct*/
 
5672
  #endif
 
5673
  #if PY_MAJOR_VERSION < 3
 
5674
  0, /*nb_hex*/
 
5675
  #endif
 
5676
  0, /*nb_inplace_add*/
 
5677
  0, /*nb_inplace_subtract*/
 
5678
  0, /*nb_inplace_multiply*/
 
5679
  #if PY_MAJOR_VERSION < 3
 
5680
  0, /*nb_inplace_divide*/
 
5681
  #endif
 
5682
  0, /*nb_inplace_remainder*/
 
5683
  0, /*nb_inplace_power*/
 
5684
  0, /*nb_inplace_lshift*/
 
5685
  0, /*nb_inplace_rshift*/
 
5686
  0, /*nb_inplace_and*/
 
5687
  0, /*nb_inplace_xor*/
 
5688
  0, /*nb_inplace_or*/
 
5689
  0, /*nb_floor_divide*/
 
5690
  0, /*nb_true_divide*/
 
5691
  0, /*nb_inplace_floor_divide*/
 
5692
  0, /*nb_inplace_true_divide*/
 
5693
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
5694
  0, /*nb_index*/
 
5695
  #endif
 
5696
};
 
5697
 
 
5698
static PySequenceMethods __pyx_tp_as_sequence_PropClassID = {
 
5699
  0, /*sq_length*/
 
5700
  0, /*sq_concat*/
 
5701
  0, /*sq_repeat*/
 
5702
  0, /*sq_item*/
 
5703
  0, /*sq_slice*/
 
5704
  0, /*sq_ass_item*/
 
5705
  0, /*sq_ass_slice*/
 
5706
  0, /*sq_contains*/
 
5707
  0, /*sq_inplace_concat*/
 
5708
  0, /*sq_inplace_repeat*/
 
5709
};
 
5710
 
 
5711
static PyMappingMethods __pyx_tp_as_mapping_PropClassID = {
 
5712
  0, /*mp_length*/
 
5713
  0, /*mp_subscript*/
 
5714
  0, /*mp_ass_subscript*/
 
5715
};
 
5716
 
 
5717
static PyBufferProcs __pyx_tp_as_buffer_PropClassID = {
 
5718
  #if PY_MAJOR_VERSION < 3
 
5719
  0, /*bf_getreadbuffer*/
 
5720
  #endif
 
5721
  #if PY_MAJOR_VERSION < 3
 
5722
  0, /*bf_getwritebuffer*/
 
5723
  #endif
 
5724
  #if PY_MAJOR_VERSION < 3
 
5725
  0, /*bf_getsegcount*/
 
5726
  #endif
 
5727
  #if PY_MAJOR_VERSION < 3
 
5728
  0, /*bf_getcharbuffer*/
 
5729
  #endif
 
5730
  #if PY_VERSION_HEX >= 0x02060000
 
5731
  0, /*bf_getbuffer*/
 
5732
  #endif
 
5733
  #if PY_VERSION_HEX >= 0x02060000
 
5734
  0, /*bf_releasebuffer*/
 
5735
  #endif
 
5736
};
 
5737
 
 
5738
PyTypeObject __pyx_type_4h5py_3h5p_PropClassID = {
 
5739
  PyVarObject_HEAD_INIT(0, 0)
 
5740
  __Pyx_NAMESTR("h5py.h5p.PropClassID"), /*tp_name*/
 
5741
  sizeof(struct __pyx_obj_4h5py_3h5p_PropClassID), /*tp_basicsize*/
 
5742
  0, /*tp_itemsize*/
 
5743
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
5744
  0, /*tp_print*/
 
5745
  0, /*tp_getattr*/
 
5746
  0, /*tp_setattr*/
 
5747
  0, /*tp_compare*/
 
5748
  0, /*tp_repr*/
 
5749
  &__pyx_tp_as_number_PropClassID, /*tp_as_number*/
 
5750
  &__pyx_tp_as_sequence_PropClassID, /*tp_as_sequence*/
 
5751
  &__pyx_tp_as_mapping_PropClassID, /*tp_as_mapping*/
 
5752
  __pyx_pf_4h5py_3h5p_11PropClassID___hash__, /*tp_hash*/
 
5753
  0, /*tp_call*/
 
5754
  0, /*tp_str*/
 
5755
  0, /*tp_getattro*/
 
5756
  0, /*tp_setattro*/
 
5757
  &__pyx_tp_as_buffer_PropClassID, /*tp_as_buffer*/
 
5758
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
5759
  __Pyx_DOCSTR("\n        An HDF5 property list class.\n\n        * Hashable: Yes, by identifier\n        * Equality: Logical H5P comparison\n    "), /*tp_doc*/
 
5760
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
5761
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
5762
  __pyx_pf_4h5py_3h5p_11PropClassID___richcmp__, /*tp_richcompare*/
 
5763
  0, /*tp_weaklistoffset*/
 
5764
  0, /*tp_iter*/
 
5765
  0, /*tp_iternext*/
 
5766
  __pyx_methods_4h5py_3h5p_PropClassID, /*tp_methods*/
 
5767
  0, /*tp_members*/
 
5768
  0, /*tp_getset*/
 
5769
  0, /*tp_base*/
 
5770
  0, /*tp_dict*/
 
5771
  0, /*tp_descr_get*/
 
5772
  0, /*tp_descr_set*/
 
5773
  0, /*tp_dictoffset*/
 
5774
  0, /*tp_init*/
 
5775
  0, /*tp_alloc*/
 
5776
  __pyx_tp_new_4h5py_3h5p_PropClassID, /*tp_new*/
 
5777
  0, /*tp_free*/
 
5778
  0, /*tp_is_gc*/
 
5779
  0, /*tp_bases*/
 
5780
  0, /*tp_mro*/
 
5781
  0, /*tp_cache*/
 
5782
  0, /*tp_subclasses*/
 
5783
  0, /*tp_weaklist*/
 
5784
};
 
5785
 
 
5786
static PyObject *__pyx_tp_new_4h5py_3h5p_PropInstanceID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
5787
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
5788
  if (!o) return 0;
 
5789
  return o;
 
5790
}
 
5791
 
 
5792
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropInstanceID[] = {
 
5793
  {__Pyx_NAMESTR("copy"), (PyCFunction)__pyx_pf_4h5py_3h5p_14PropInstanceID_copy, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_14PropInstanceID_copy)},
 
5794
  {__Pyx_NAMESTR("_close"), (PyCFunction)__pyx_pf_4h5py_3h5p_14PropInstanceID__close, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_14PropInstanceID__close)},
 
5795
  {__Pyx_NAMESTR("get_class"), (PyCFunction)__pyx_pf_4h5py_3h5p_14PropInstanceID_get_class, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_14PropInstanceID_get_class)},
 
5796
  {0, 0, 0, 0}
 
5797
};
 
5798
 
 
5799
static PyNumberMethods __pyx_tp_as_number_PropInstanceID = {
 
5800
  0, /*nb_add*/
 
5801
  0, /*nb_subtract*/
 
5802
  0, /*nb_multiply*/
 
5803
  #if PY_MAJOR_VERSION < 3
 
5804
  0, /*nb_divide*/
 
5805
  #endif
 
5806
  0, /*nb_remainder*/
 
5807
  0, /*nb_divmod*/
 
5808
  0, /*nb_power*/
 
5809
  0, /*nb_negative*/
 
5810
  0, /*nb_positive*/
 
5811
  0, /*nb_absolute*/
 
5812
  0, /*nb_nonzero*/
 
5813
  0, /*nb_invert*/
 
5814
  0, /*nb_lshift*/
 
5815
  0, /*nb_rshift*/
 
5816
  0, /*nb_and*/
 
5817
  0, /*nb_xor*/
 
5818
  0, /*nb_or*/
 
5819
  #if PY_MAJOR_VERSION < 3
 
5820
  0, /*nb_coerce*/
 
5821
  #endif
 
5822
  0, /*nb_int*/
 
5823
  #if PY_MAJOR_VERSION >= 3
 
5824
  0, /*reserved*/
 
5825
  #else
 
5826
  0, /*nb_long*/
 
5827
  #endif
 
5828
  0, /*nb_float*/
 
5829
  #if PY_MAJOR_VERSION < 3
 
5830
  0, /*nb_oct*/
 
5831
  #endif
 
5832
  #if PY_MAJOR_VERSION < 3
 
5833
  0, /*nb_hex*/
 
5834
  #endif
 
5835
  0, /*nb_inplace_add*/
 
5836
  0, /*nb_inplace_subtract*/
 
5837
  0, /*nb_inplace_multiply*/
 
5838
  #if PY_MAJOR_VERSION < 3
 
5839
  0, /*nb_inplace_divide*/
 
5840
  #endif
 
5841
  0, /*nb_inplace_remainder*/
 
5842
  0, /*nb_inplace_power*/
 
5843
  0, /*nb_inplace_lshift*/
 
5844
  0, /*nb_inplace_rshift*/
 
5845
  0, /*nb_inplace_and*/
 
5846
  0, /*nb_inplace_xor*/
 
5847
  0, /*nb_inplace_or*/
 
5848
  0, /*nb_floor_divide*/
 
5849
  0, /*nb_true_divide*/
 
5850
  0, /*nb_inplace_floor_divide*/
 
5851
  0, /*nb_inplace_true_divide*/
 
5852
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
5853
  0, /*nb_index*/
 
5854
  #endif
 
5855
};
 
5856
 
 
5857
static PySequenceMethods __pyx_tp_as_sequence_PropInstanceID = {
 
5858
  0, /*sq_length*/
 
5859
  0, /*sq_concat*/
 
5860
  0, /*sq_repeat*/
 
5861
  0, /*sq_item*/
 
5862
  0, /*sq_slice*/
 
5863
  0, /*sq_ass_item*/
 
5864
  0, /*sq_ass_slice*/
 
5865
  0, /*sq_contains*/
 
5866
  0, /*sq_inplace_concat*/
 
5867
  0, /*sq_inplace_repeat*/
 
5868
};
 
5869
 
 
5870
static PyMappingMethods __pyx_tp_as_mapping_PropInstanceID = {
 
5871
  0, /*mp_length*/
 
5872
  0, /*mp_subscript*/
 
5873
  0, /*mp_ass_subscript*/
 
5874
};
 
5875
 
 
5876
static PyBufferProcs __pyx_tp_as_buffer_PropInstanceID = {
 
5877
  #if PY_MAJOR_VERSION < 3
 
5878
  0, /*bf_getreadbuffer*/
 
5879
  #endif
 
5880
  #if PY_MAJOR_VERSION < 3
 
5881
  0, /*bf_getwritebuffer*/
 
5882
  #endif
 
5883
  #if PY_MAJOR_VERSION < 3
 
5884
  0, /*bf_getsegcount*/
 
5885
  #endif
 
5886
  #if PY_MAJOR_VERSION < 3
 
5887
  0, /*bf_getcharbuffer*/
 
5888
  #endif
 
5889
  #if PY_VERSION_HEX >= 0x02060000
 
5890
  0, /*bf_getbuffer*/
 
5891
  #endif
 
5892
  #if PY_VERSION_HEX >= 0x02060000
 
5893
  0, /*bf_releasebuffer*/
 
5894
  #endif
 
5895
};
 
5896
 
 
5897
PyTypeObject __pyx_type_4h5py_3h5p_PropInstanceID = {
 
5898
  PyVarObject_HEAD_INIT(0, 0)
 
5899
  __Pyx_NAMESTR("h5py.h5p.PropInstanceID"), /*tp_name*/
 
5900
  sizeof(struct __pyx_obj_4h5py_3h5p_PropInstanceID), /*tp_basicsize*/
 
5901
  0, /*tp_itemsize*/
 
5902
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
5903
  0, /*tp_print*/
 
5904
  0, /*tp_getattr*/
 
5905
  0, /*tp_setattr*/
 
5906
  0, /*tp_compare*/
 
5907
  0, /*tp_repr*/
 
5908
  &__pyx_tp_as_number_PropInstanceID, /*tp_as_number*/
 
5909
  &__pyx_tp_as_sequence_PropInstanceID, /*tp_as_sequence*/
 
5910
  &__pyx_tp_as_mapping_PropInstanceID, /*tp_as_mapping*/
 
5911
  0, /*tp_hash*/
 
5912
  0, /*tp_call*/
 
5913
  0, /*tp_str*/
 
5914
  0, /*tp_getattro*/
 
5915
  0, /*tp_setattro*/
 
5916
  &__pyx_tp_as_buffer_PropInstanceID, /*tp_as_buffer*/
 
5917
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
5918
  __Pyx_DOCSTR("\n        Base class for property list instance objects.  Provides methods which\n        are common across all HDF5 property list classes.\n\n        * Hashable: No\n        * Equality: Logical H5P comparison\n    "), /*tp_doc*/
 
5919
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
5920
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
5921
  0, /*tp_richcompare*/
 
5922
  0, /*tp_weaklistoffset*/
 
5923
  0, /*tp_iter*/
 
5924
  0, /*tp_iternext*/
 
5925
  __pyx_methods_4h5py_3h5p_PropInstanceID, /*tp_methods*/
 
5926
  0, /*tp_members*/
 
5927
  0, /*tp_getset*/
 
5928
  0, /*tp_base*/
 
5929
  0, /*tp_dict*/
 
5930
  0, /*tp_descr_get*/
 
5931
  0, /*tp_descr_set*/
 
5932
  0, /*tp_dictoffset*/
 
5933
  0, /*tp_init*/
 
5934
  0, /*tp_alloc*/
 
5935
  __pyx_tp_new_4h5py_3h5p_PropInstanceID, /*tp_new*/
 
5936
  0, /*tp_free*/
 
5937
  0, /*tp_is_gc*/
 
5938
  0, /*tp_bases*/
 
5939
  0, /*tp_mro*/
 
5940
  0, /*tp_cache*/
 
5941
  0, /*tp_subclasses*/
 
5942
  0, /*tp_weaklist*/
 
5943
};
 
5944
 
 
5945
static PyObject *__pyx_tp_new_4h5py_3h5p_PropCreateID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
5946
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
5947
  if (!o) return 0;
 
5948
  return o;
 
5949
}
 
5950
 
 
5951
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropCreateID[] = {
 
5952
  {0, 0, 0, 0}
 
5953
};
 
5954
 
 
5955
static PyNumberMethods __pyx_tp_as_number_PropCreateID = {
 
5956
  0, /*nb_add*/
 
5957
  0, /*nb_subtract*/
 
5958
  0, /*nb_multiply*/
 
5959
  #if PY_MAJOR_VERSION < 3
 
5960
  0, /*nb_divide*/
 
5961
  #endif
 
5962
  0, /*nb_remainder*/
 
5963
  0, /*nb_divmod*/
 
5964
  0, /*nb_power*/
 
5965
  0, /*nb_negative*/
 
5966
  0, /*nb_positive*/
 
5967
  0, /*nb_absolute*/
 
5968
  0, /*nb_nonzero*/
 
5969
  0, /*nb_invert*/
 
5970
  0, /*nb_lshift*/
 
5971
  0, /*nb_rshift*/
 
5972
  0, /*nb_and*/
 
5973
  0, /*nb_xor*/
 
5974
  0, /*nb_or*/
 
5975
  #if PY_MAJOR_VERSION < 3
 
5976
  0, /*nb_coerce*/
 
5977
  #endif
 
5978
  0, /*nb_int*/
 
5979
  #if PY_MAJOR_VERSION >= 3
 
5980
  0, /*reserved*/
 
5981
  #else
 
5982
  0, /*nb_long*/
 
5983
  #endif
 
5984
  0, /*nb_float*/
 
5985
  #if PY_MAJOR_VERSION < 3
 
5986
  0, /*nb_oct*/
 
5987
  #endif
 
5988
  #if PY_MAJOR_VERSION < 3
 
5989
  0, /*nb_hex*/
 
5990
  #endif
 
5991
  0, /*nb_inplace_add*/
 
5992
  0, /*nb_inplace_subtract*/
 
5993
  0, /*nb_inplace_multiply*/
 
5994
  #if PY_MAJOR_VERSION < 3
 
5995
  0, /*nb_inplace_divide*/
 
5996
  #endif
 
5997
  0, /*nb_inplace_remainder*/
 
5998
  0, /*nb_inplace_power*/
 
5999
  0, /*nb_inplace_lshift*/
 
6000
  0, /*nb_inplace_rshift*/
 
6001
  0, /*nb_inplace_and*/
 
6002
  0, /*nb_inplace_xor*/
 
6003
  0, /*nb_inplace_or*/
 
6004
  0, /*nb_floor_divide*/
 
6005
  0, /*nb_true_divide*/
 
6006
  0, /*nb_inplace_floor_divide*/
 
6007
  0, /*nb_inplace_true_divide*/
 
6008
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6009
  0, /*nb_index*/
 
6010
  #endif
 
6011
};
 
6012
 
 
6013
static PySequenceMethods __pyx_tp_as_sequence_PropCreateID = {
 
6014
  0, /*sq_length*/
 
6015
  0, /*sq_concat*/
 
6016
  0, /*sq_repeat*/
 
6017
  0, /*sq_item*/
 
6018
  0, /*sq_slice*/
 
6019
  0, /*sq_ass_item*/
 
6020
  0, /*sq_ass_slice*/
 
6021
  0, /*sq_contains*/
 
6022
  0, /*sq_inplace_concat*/
 
6023
  0, /*sq_inplace_repeat*/
 
6024
};
 
6025
 
 
6026
static PyMappingMethods __pyx_tp_as_mapping_PropCreateID = {
 
6027
  0, /*mp_length*/
 
6028
  0, /*mp_subscript*/
 
6029
  0, /*mp_ass_subscript*/
 
6030
};
 
6031
 
 
6032
static PyBufferProcs __pyx_tp_as_buffer_PropCreateID = {
 
6033
  #if PY_MAJOR_VERSION < 3
 
6034
  0, /*bf_getreadbuffer*/
 
6035
  #endif
 
6036
  #if PY_MAJOR_VERSION < 3
 
6037
  0, /*bf_getwritebuffer*/
 
6038
  #endif
 
6039
  #if PY_MAJOR_VERSION < 3
 
6040
  0, /*bf_getsegcount*/
 
6041
  #endif
 
6042
  #if PY_MAJOR_VERSION < 3
 
6043
  0, /*bf_getcharbuffer*/
 
6044
  #endif
 
6045
  #if PY_VERSION_HEX >= 0x02060000
 
6046
  0, /*bf_getbuffer*/
 
6047
  #endif
 
6048
  #if PY_VERSION_HEX >= 0x02060000
 
6049
  0, /*bf_releasebuffer*/
 
6050
  #endif
 
6051
};
 
6052
 
 
6053
PyTypeObject __pyx_type_4h5py_3h5p_PropCreateID = {
 
6054
  PyVarObject_HEAD_INIT(0, 0)
 
6055
  __Pyx_NAMESTR("h5py.h5p.PropCreateID"), /*tp_name*/
 
6056
  sizeof(struct __pyx_obj_4h5py_3h5p_PropCreateID), /*tp_basicsize*/
 
6057
  0, /*tp_itemsize*/
 
6058
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6059
  0, /*tp_print*/
 
6060
  0, /*tp_getattr*/
 
6061
  0, /*tp_setattr*/
 
6062
  0, /*tp_compare*/
 
6063
  0, /*tp_repr*/
 
6064
  &__pyx_tp_as_number_PropCreateID, /*tp_as_number*/
 
6065
  &__pyx_tp_as_sequence_PropCreateID, /*tp_as_sequence*/
 
6066
  &__pyx_tp_as_mapping_PropCreateID, /*tp_as_mapping*/
 
6067
  0, /*tp_hash*/
 
6068
  0, /*tp_call*/
 
6069
  0, /*tp_str*/
 
6070
  0, /*tp_getattro*/
 
6071
  0, /*tp_setattro*/
 
6072
  &__pyx_tp_as_buffer_PropCreateID, /*tp_as_buffer*/
 
6073
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6074
  __Pyx_DOCSTR("\n        Generic object creation property list.\n\n        Has no methods unless HDF5 1.8.X is available.\n    "), /*tp_doc*/
 
6075
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6076
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6077
  0, /*tp_richcompare*/
 
6078
  0, /*tp_weaklistoffset*/
 
6079
  0, /*tp_iter*/
 
6080
  0, /*tp_iternext*/
 
6081
  __pyx_methods_4h5py_3h5p_PropCreateID, /*tp_methods*/
 
6082
  0, /*tp_members*/
 
6083
  0, /*tp_getset*/
 
6084
  0, /*tp_base*/
 
6085
  0, /*tp_dict*/
 
6086
  0, /*tp_descr_get*/
 
6087
  0, /*tp_descr_set*/
 
6088
  0, /*tp_dictoffset*/
 
6089
  0, /*tp_init*/
 
6090
  0, /*tp_alloc*/
 
6091
  __pyx_tp_new_4h5py_3h5p_PropCreateID, /*tp_new*/
 
6092
  0, /*tp_free*/
 
6093
  0, /*tp_is_gc*/
 
6094
  0, /*tp_bases*/
 
6095
  0, /*tp_mro*/
 
6096
  0, /*tp_cache*/
 
6097
  0, /*tp_subclasses*/
 
6098
  0, /*tp_weaklist*/
 
6099
};
 
6100
 
 
6101
static PyObject *__pyx_tp_new_4h5py_3h5p_PropCopyID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
6102
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
6103
  if (!o) return 0;
 
6104
  return o;
 
6105
}
 
6106
 
 
6107
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropCopyID[] = {
 
6108
  {0, 0, 0, 0}
 
6109
};
 
6110
 
 
6111
static PyNumberMethods __pyx_tp_as_number_PropCopyID = {
 
6112
  0, /*nb_add*/
 
6113
  0, /*nb_subtract*/
 
6114
  0, /*nb_multiply*/
 
6115
  #if PY_MAJOR_VERSION < 3
 
6116
  0, /*nb_divide*/
 
6117
  #endif
 
6118
  0, /*nb_remainder*/
 
6119
  0, /*nb_divmod*/
 
6120
  0, /*nb_power*/
 
6121
  0, /*nb_negative*/
 
6122
  0, /*nb_positive*/
 
6123
  0, /*nb_absolute*/
 
6124
  0, /*nb_nonzero*/
 
6125
  0, /*nb_invert*/
 
6126
  0, /*nb_lshift*/
 
6127
  0, /*nb_rshift*/
 
6128
  0, /*nb_and*/
 
6129
  0, /*nb_xor*/
 
6130
  0, /*nb_or*/
 
6131
  #if PY_MAJOR_VERSION < 3
 
6132
  0, /*nb_coerce*/
 
6133
  #endif
 
6134
  0, /*nb_int*/
 
6135
  #if PY_MAJOR_VERSION >= 3
 
6136
  0, /*reserved*/
 
6137
  #else
 
6138
  0, /*nb_long*/
 
6139
  #endif
 
6140
  0, /*nb_float*/
 
6141
  #if PY_MAJOR_VERSION < 3
 
6142
  0, /*nb_oct*/
 
6143
  #endif
 
6144
  #if PY_MAJOR_VERSION < 3
 
6145
  0, /*nb_hex*/
 
6146
  #endif
 
6147
  0, /*nb_inplace_add*/
 
6148
  0, /*nb_inplace_subtract*/
 
6149
  0, /*nb_inplace_multiply*/
 
6150
  #if PY_MAJOR_VERSION < 3
 
6151
  0, /*nb_inplace_divide*/
 
6152
  #endif
 
6153
  0, /*nb_inplace_remainder*/
 
6154
  0, /*nb_inplace_power*/
 
6155
  0, /*nb_inplace_lshift*/
 
6156
  0, /*nb_inplace_rshift*/
 
6157
  0, /*nb_inplace_and*/
 
6158
  0, /*nb_inplace_xor*/
 
6159
  0, /*nb_inplace_or*/
 
6160
  0, /*nb_floor_divide*/
 
6161
  0, /*nb_true_divide*/
 
6162
  0, /*nb_inplace_floor_divide*/
 
6163
  0, /*nb_inplace_true_divide*/
 
6164
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6165
  0, /*nb_index*/
 
6166
  #endif
 
6167
};
 
6168
 
 
6169
static PySequenceMethods __pyx_tp_as_sequence_PropCopyID = {
 
6170
  0, /*sq_length*/
 
6171
  0, /*sq_concat*/
 
6172
  0, /*sq_repeat*/
 
6173
  0, /*sq_item*/
 
6174
  0, /*sq_slice*/
 
6175
  0, /*sq_ass_item*/
 
6176
  0, /*sq_ass_slice*/
 
6177
  0, /*sq_contains*/
 
6178
  0, /*sq_inplace_concat*/
 
6179
  0, /*sq_inplace_repeat*/
 
6180
};
 
6181
 
 
6182
static PyMappingMethods __pyx_tp_as_mapping_PropCopyID = {
 
6183
  0, /*mp_length*/
 
6184
  0, /*mp_subscript*/
 
6185
  0, /*mp_ass_subscript*/
 
6186
};
 
6187
 
 
6188
static PyBufferProcs __pyx_tp_as_buffer_PropCopyID = {
 
6189
  #if PY_MAJOR_VERSION < 3
 
6190
  0, /*bf_getreadbuffer*/
 
6191
  #endif
 
6192
  #if PY_MAJOR_VERSION < 3
 
6193
  0, /*bf_getwritebuffer*/
 
6194
  #endif
 
6195
  #if PY_MAJOR_VERSION < 3
 
6196
  0, /*bf_getsegcount*/
 
6197
  #endif
 
6198
  #if PY_MAJOR_VERSION < 3
 
6199
  0, /*bf_getcharbuffer*/
 
6200
  #endif
 
6201
  #if PY_VERSION_HEX >= 0x02060000
 
6202
  0, /*bf_getbuffer*/
 
6203
  #endif
 
6204
  #if PY_VERSION_HEX >= 0x02060000
 
6205
  0, /*bf_releasebuffer*/
 
6206
  #endif
 
6207
};
 
6208
 
 
6209
PyTypeObject __pyx_type_4h5py_3h5p_PropCopyID = {
 
6210
  PyVarObject_HEAD_INIT(0, 0)
 
6211
  __Pyx_NAMESTR("h5py.h5p.PropCopyID"), /*tp_name*/
 
6212
  sizeof(struct __pyx_obj_4h5py_3h5p_PropCopyID), /*tp_basicsize*/
 
6213
  0, /*tp_itemsize*/
 
6214
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6215
  0, /*tp_print*/
 
6216
  0, /*tp_getattr*/
 
6217
  0, /*tp_setattr*/
 
6218
  0, /*tp_compare*/
 
6219
  0, /*tp_repr*/
 
6220
  &__pyx_tp_as_number_PropCopyID, /*tp_as_number*/
 
6221
  &__pyx_tp_as_sequence_PropCopyID, /*tp_as_sequence*/
 
6222
  &__pyx_tp_as_mapping_PropCopyID, /*tp_as_mapping*/
 
6223
  0, /*tp_hash*/
 
6224
  0, /*tp_call*/
 
6225
  0, /*tp_str*/
 
6226
  0, /*tp_getattro*/
 
6227
  0, /*tp_setattro*/
 
6228
  &__pyx_tp_as_buffer_PropCopyID, /*tp_as_buffer*/
 
6229
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6230
  __Pyx_DOCSTR("\n        Generic object copy property list\n\n        Has no methods unless HDF5 1.8.X is available\n    "), /*tp_doc*/
 
6231
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6232
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6233
  0, /*tp_richcompare*/
 
6234
  0, /*tp_weaklistoffset*/
 
6235
  0, /*tp_iter*/
 
6236
  0, /*tp_iternext*/
 
6237
  __pyx_methods_4h5py_3h5p_PropCopyID, /*tp_methods*/
 
6238
  0, /*tp_members*/
 
6239
  0, /*tp_getset*/
 
6240
  0, /*tp_base*/
 
6241
  0, /*tp_dict*/
 
6242
  0, /*tp_descr_get*/
 
6243
  0, /*tp_descr_set*/
 
6244
  0, /*tp_dictoffset*/
 
6245
  0, /*tp_init*/
 
6246
  0, /*tp_alloc*/
 
6247
  __pyx_tp_new_4h5py_3h5p_PropCopyID, /*tp_new*/
 
6248
  0, /*tp_free*/
 
6249
  0, /*tp_is_gc*/
 
6250
  0, /*tp_bases*/
 
6251
  0, /*tp_mro*/
 
6252
  0, /*tp_cache*/
 
6253
  0, /*tp_subclasses*/
 
6254
  0, /*tp_weaklist*/
 
6255
};
 
6256
 
 
6257
static PyObject *__pyx_tp_new_4h5py_3h5p_PropDCID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
6258
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
6259
  if (!o) return 0;
 
6260
  return o;
 
6261
}
 
6262
 
 
6263
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropDCID[] = {
 
6264
  {__Pyx_NAMESTR("set_layout"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_layout, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_layout)},
 
6265
  {__Pyx_NAMESTR("get_layout"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_layout, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_layout)},
 
6266
  {__Pyx_NAMESTR("set_chunk"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_chunk, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_chunk)},
 
6267
  {__Pyx_NAMESTR("get_chunk"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_chunk, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_chunk)},
 
6268
  {__Pyx_NAMESTR("set_fill_value"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_value, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_fill_value)},
 
6269
  {__Pyx_NAMESTR("get_fill_value"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_value, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_fill_value)},
 
6270
  {__Pyx_NAMESTR("fill_value_defined"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_fill_value_defined, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_fill_value_defined)},
 
6271
  {__Pyx_NAMESTR("set_fill_time"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_fill_time, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_fill_time)},
 
6272
  {__Pyx_NAMESTR("get_fill_time"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_fill_time, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_fill_time)},
 
6273
  {__Pyx_NAMESTR("set_alloc_time"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_alloc_time, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_alloc_time)},
 
6274
  {__Pyx_NAMESTR("get_alloc_time"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_alloc_time, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_alloc_time)},
 
6275
  {__Pyx_NAMESTR("set_filter"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_filter, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_filter)},
 
6276
  {__Pyx_NAMESTR("all_filters_avail"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_all_filters_avail, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_all_filters_avail)},
 
6277
  {__Pyx_NAMESTR("get_nfilters"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_nfilters, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_nfilters)},
 
6278
  {__Pyx_NAMESTR("get_filter"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_filter, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_filter)},
 
6279
  {__Pyx_NAMESTR("_has_filter"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID__has_filter, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID__has_filter)},
 
6280
  {__Pyx_NAMESTR("get_filter_by_id"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_get_filter_by_id, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_get_filter_by_id)},
 
6281
  {__Pyx_NAMESTR("remove_filter"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_remove_filter, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_remove_filter)},
 
6282
  {__Pyx_NAMESTR("set_deflate"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_deflate, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_deflate)},
 
6283
  {__Pyx_NAMESTR("set_fletcher32"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_fletcher32, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_fletcher32)},
 
6284
  {__Pyx_NAMESTR("set_shuffle"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_shuffle, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_shuffle)},
 
6285
  {__Pyx_NAMESTR("set_szip"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropDCID_set_szip, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropDCID_set_szip)},
 
6286
  {0, 0, 0, 0}
 
6287
};
 
6288
 
 
6289
static PyNumberMethods __pyx_tp_as_number_PropDCID = {
 
6290
  0, /*nb_add*/
 
6291
  0, /*nb_subtract*/
 
6292
  0, /*nb_multiply*/
 
6293
  #if PY_MAJOR_VERSION < 3
 
6294
  0, /*nb_divide*/
 
6295
  #endif
 
6296
  0, /*nb_remainder*/
 
6297
  0, /*nb_divmod*/
 
6298
  0, /*nb_power*/
 
6299
  0, /*nb_negative*/
 
6300
  0, /*nb_positive*/
 
6301
  0, /*nb_absolute*/
 
6302
  0, /*nb_nonzero*/
 
6303
  0, /*nb_invert*/
 
6304
  0, /*nb_lshift*/
 
6305
  0, /*nb_rshift*/
 
6306
  0, /*nb_and*/
 
6307
  0, /*nb_xor*/
 
6308
  0, /*nb_or*/
 
6309
  #if PY_MAJOR_VERSION < 3
 
6310
  0, /*nb_coerce*/
 
6311
  #endif
 
6312
  0, /*nb_int*/
 
6313
  #if PY_MAJOR_VERSION >= 3
 
6314
  0, /*reserved*/
 
6315
  #else
 
6316
  0, /*nb_long*/
 
6317
  #endif
 
6318
  0, /*nb_float*/
 
6319
  #if PY_MAJOR_VERSION < 3
 
6320
  0, /*nb_oct*/
 
6321
  #endif
 
6322
  #if PY_MAJOR_VERSION < 3
 
6323
  0, /*nb_hex*/
 
6324
  #endif
 
6325
  0, /*nb_inplace_add*/
 
6326
  0, /*nb_inplace_subtract*/
 
6327
  0, /*nb_inplace_multiply*/
 
6328
  #if PY_MAJOR_VERSION < 3
 
6329
  0, /*nb_inplace_divide*/
 
6330
  #endif
 
6331
  0, /*nb_inplace_remainder*/
 
6332
  0, /*nb_inplace_power*/
 
6333
  0, /*nb_inplace_lshift*/
 
6334
  0, /*nb_inplace_rshift*/
 
6335
  0, /*nb_inplace_and*/
 
6336
  0, /*nb_inplace_xor*/
 
6337
  0, /*nb_inplace_or*/
 
6338
  0, /*nb_floor_divide*/
 
6339
  0, /*nb_true_divide*/
 
6340
  0, /*nb_inplace_floor_divide*/
 
6341
  0, /*nb_inplace_true_divide*/
 
6342
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6343
  0, /*nb_index*/
 
6344
  #endif
 
6345
};
 
6346
 
 
6347
static PySequenceMethods __pyx_tp_as_sequence_PropDCID = {
 
6348
  0, /*sq_length*/
 
6349
  0, /*sq_concat*/
 
6350
  0, /*sq_repeat*/
 
6351
  0, /*sq_item*/
 
6352
  0, /*sq_slice*/
 
6353
  0, /*sq_ass_item*/
 
6354
  0, /*sq_ass_slice*/
 
6355
  0, /*sq_contains*/
 
6356
  0, /*sq_inplace_concat*/
 
6357
  0, /*sq_inplace_repeat*/
 
6358
};
 
6359
 
 
6360
static PyMappingMethods __pyx_tp_as_mapping_PropDCID = {
 
6361
  0, /*mp_length*/
 
6362
  0, /*mp_subscript*/
 
6363
  0, /*mp_ass_subscript*/
 
6364
};
 
6365
 
 
6366
static PyBufferProcs __pyx_tp_as_buffer_PropDCID = {
 
6367
  #if PY_MAJOR_VERSION < 3
 
6368
  0, /*bf_getreadbuffer*/
 
6369
  #endif
 
6370
  #if PY_MAJOR_VERSION < 3
 
6371
  0, /*bf_getwritebuffer*/
 
6372
  #endif
 
6373
  #if PY_MAJOR_VERSION < 3
 
6374
  0, /*bf_getsegcount*/
 
6375
  #endif
 
6376
  #if PY_MAJOR_VERSION < 3
 
6377
  0, /*bf_getcharbuffer*/
 
6378
  #endif
 
6379
  #if PY_VERSION_HEX >= 0x02060000
 
6380
  0, /*bf_getbuffer*/
 
6381
  #endif
 
6382
  #if PY_VERSION_HEX >= 0x02060000
 
6383
  0, /*bf_releasebuffer*/
 
6384
  #endif
 
6385
};
 
6386
 
 
6387
PyTypeObject __pyx_type_4h5py_3h5p_PropDCID = {
 
6388
  PyVarObject_HEAD_INIT(0, 0)
 
6389
  __Pyx_NAMESTR("h5py.h5p.PropDCID"), /*tp_name*/
 
6390
  sizeof(struct __pyx_obj_4h5py_3h5p_PropDCID), /*tp_basicsize*/
 
6391
  0, /*tp_itemsize*/
 
6392
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6393
  0, /*tp_print*/
 
6394
  0, /*tp_getattr*/
 
6395
  0, /*tp_setattr*/
 
6396
  0, /*tp_compare*/
 
6397
  0, /*tp_repr*/
 
6398
  &__pyx_tp_as_number_PropDCID, /*tp_as_number*/
 
6399
  &__pyx_tp_as_sequence_PropDCID, /*tp_as_sequence*/
 
6400
  &__pyx_tp_as_mapping_PropDCID, /*tp_as_mapping*/
 
6401
  0, /*tp_hash*/
 
6402
  0, /*tp_call*/
 
6403
  0, /*tp_str*/
 
6404
  0, /*tp_getattro*/
 
6405
  0, /*tp_setattro*/
 
6406
  &__pyx_tp_as_buffer_PropDCID, /*tp_as_buffer*/
 
6407
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6408
  __Pyx_DOCSTR("\n        Dataset creation property list.\n    "), /*tp_doc*/
 
6409
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6410
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6411
  0, /*tp_richcompare*/
 
6412
  0, /*tp_weaklistoffset*/
 
6413
  0, /*tp_iter*/
 
6414
  0, /*tp_iternext*/
 
6415
  __pyx_methods_4h5py_3h5p_PropDCID, /*tp_methods*/
 
6416
  0, /*tp_members*/
 
6417
  0, /*tp_getset*/
 
6418
  0, /*tp_base*/
 
6419
  0, /*tp_dict*/
 
6420
  0, /*tp_descr_get*/
 
6421
  0, /*tp_descr_set*/
 
6422
  0, /*tp_dictoffset*/
 
6423
  0, /*tp_init*/
 
6424
  0, /*tp_alloc*/
 
6425
  __pyx_tp_new_4h5py_3h5p_PropDCID, /*tp_new*/
 
6426
  0, /*tp_free*/
 
6427
  0, /*tp_is_gc*/
 
6428
  0, /*tp_bases*/
 
6429
  0, /*tp_mro*/
 
6430
  0, /*tp_cache*/
 
6431
  0, /*tp_subclasses*/
 
6432
  0, /*tp_weaklist*/
 
6433
};
 
6434
 
 
6435
static PyObject *__pyx_tp_new_4h5py_3h5p_PropFCID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
6436
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
6437
  if (!o) return 0;
 
6438
  return o;
 
6439
}
 
6440
 
 
6441
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropFCID[] = {
 
6442
  {__Pyx_NAMESTR("get_version"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFCID_get_version, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFCID_get_version)},
 
6443
  {__Pyx_NAMESTR("set_userblock"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFCID_set_userblock, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFCID_set_userblock)},
 
6444
  {__Pyx_NAMESTR("get_userblock"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFCID_get_userblock, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFCID_get_userblock)},
 
6445
  {__Pyx_NAMESTR("set_sizes"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFCID_set_sizes, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFCID_set_sizes)},
 
6446
  {__Pyx_NAMESTR("get_sizes"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFCID_get_sizes, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFCID_get_sizes)},
 
6447
  {0, 0, 0, 0}
 
6448
};
 
6449
 
 
6450
static PyNumberMethods __pyx_tp_as_number_PropFCID = {
 
6451
  0, /*nb_add*/
 
6452
  0, /*nb_subtract*/
 
6453
  0, /*nb_multiply*/
 
6454
  #if PY_MAJOR_VERSION < 3
 
6455
  0, /*nb_divide*/
 
6456
  #endif
 
6457
  0, /*nb_remainder*/
 
6458
  0, /*nb_divmod*/
 
6459
  0, /*nb_power*/
 
6460
  0, /*nb_negative*/
 
6461
  0, /*nb_positive*/
 
6462
  0, /*nb_absolute*/
 
6463
  0, /*nb_nonzero*/
 
6464
  0, /*nb_invert*/
 
6465
  0, /*nb_lshift*/
 
6466
  0, /*nb_rshift*/
 
6467
  0, /*nb_and*/
 
6468
  0, /*nb_xor*/
 
6469
  0, /*nb_or*/
 
6470
  #if PY_MAJOR_VERSION < 3
 
6471
  0, /*nb_coerce*/
 
6472
  #endif
 
6473
  0, /*nb_int*/
 
6474
  #if PY_MAJOR_VERSION >= 3
 
6475
  0, /*reserved*/
 
6476
  #else
 
6477
  0, /*nb_long*/
 
6478
  #endif
 
6479
  0, /*nb_float*/
 
6480
  #if PY_MAJOR_VERSION < 3
 
6481
  0, /*nb_oct*/
 
6482
  #endif
 
6483
  #if PY_MAJOR_VERSION < 3
 
6484
  0, /*nb_hex*/
 
6485
  #endif
 
6486
  0, /*nb_inplace_add*/
 
6487
  0, /*nb_inplace_subtract*/
 
6488
  0, /*nb_inplace_multiply*/
 
6489
  #if PY_MAJOR_VERSION < 3
 
6490
  0, /*nb_inplace_divide*/
 
6491
  #endif
 
6492
  0, /*nb_inplace_remainder*/
 
6493
  0, /*nb_inplace_power*/
 
6494
  0, /*nb_inplace_lshift*/
 
6495
  0, /*nb_inplace_rshift*/
 
6496
  0, /*nb_inplace_and*/
 
6497
  0, /*nb_inplace_xor*/
 
6498
  0, /*nb_inplace_or*/
 
6499
  0, /*nb_floor_divide*/
 
6500
  0, /*nb_true_divide*/
 
6501
  0, /*nb_inplace_floor_divide*/
 
6502
  0, /*nb_inplace_true_divide*/
 
6503
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6504
  0, /*nb_index*/
 
6505
  #endif
 
6506
};
 
6507
 
 
6508
static PySequenceMethods __pyx_tp_as_sequence_PropFCID = {
 
6509
  0, /*sq_length*/
 
6510
  0, /*sq_concat*/
 
6511
  0, /*sq_repeat*/
 
6512
  0, /*sq_item*/
 
6513
  0, /*sq_slice*/
 
6514
  0, /*sq_ass_item*/
 
6515
  0, /*sq_ass_slice*/
 
6516
  0, /*sq_contains*/
 
6517
  0, /*sq_inplace_concat*/
 
6518
  0, /*sq_inplace_repeat*/
 
6519
};
 
6520
 
 
6521
static PyMappingMethods __pyx_tp_as_mapping_PropFCID = {
 
6522
  0, /*mp_length*/
 
6523
  0, /*mp_subscript*/
 
6524
  0, /*mp_ass_subscript*/
 
6525
};
 
6526
 
 
6527
static PyBufferProcs __pyx_tp_as_buffer_PropFCID = {
 
6528
  #if PY_MAJOR_VERSION < 3
 
6529
  0, /*bf_getreadbuffer*/
 
6530
  #endif
 
6531
  #if PY_MAJOR_VERSION < 3
 
6532
  0, /*bf_getwritebuffer*/
 
6533
  #endif
 
6534
  #if PY_MAJOR_VERSION < 3
 
6535
  0, /*bf_getsegcount*/
 
6536
  #endif
 
6537
  #if PY_MAJOR_VERSION < 3
 
6538
  0, /*bf_getcharbuffer*/
 
6539
  #endif
 
6540
  #if PY_VERSION_HEX >= 0x02060000
 
6541
  0, /*bf_getbuffer*/
 
6542
  #endif
 
6543
  #if PY_VERSION_HEX >= 0x02060000
 
6544
  0, /*bf_releasebuffer*/
 
6545
  #endif
 
6546
};
 
6547
 
 
6548
PyTypeObject __pyx_type_4h5py_3h5p_PropFCID = {
 
6549
  PyVarObject_HEAD_INIT(0, 0)
 
6550
  __Pyx_NAMESTR("h5py.h5p.PropFCID"), /*tp_name*/
 
6551
  sizeof(struct __pyx_obj_4h5py_3h5p_PropFCID), /*tp_basicsize*/
 
6552
  0, /*tp_itemsize*/
 
6553
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6554
  0, /*tp_print*/
 
6555
  0, /*tp_getattr*/
 
6556
  0, /*tp_setattr*/
 
6557
  0, /*tp_compare*/
 
6558
  0, /*tp_repr*/
 
6559
  &__pyx_tp_as_number_PropFCID, /*tp_as_number*/
 
6560
  &__pyx_tp_as_sequence_PropFCID, /*tp_as_sequence*/
 
6561
  &__pyx_tp_as_mapping_PropFCID, /*tp_as_mapping*/
 
6562
  0, /*tp_hash*/
 
6563
  0, /*tp_call*/
 
6564
  0, /*tp_str*/
 
6565
  0, /*tp_getattro*/
 
6566
  0, /*tp_setattro*/
 
6567
  &__pyx_tp_as_buffer_PropFCID, /*tp_as_buffer*/
 
6568
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6569
  __Pyx_DOCSTR("\n        File creation property list.\n    "), /*tp_doc*/
 
6570
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6571
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6572
  0, /*tp_richcompare*/
 
6573
  0, /*tp_weaklistoffset*/
 
6574
  0, /*tp_iter*/
 
6575
  0, /*tp_iternext*/
 
6576
  __pyx_methods_4h5py_3h5p_PropFCID, /*tp_methods*/
 
6577
  0, /*tp_members*/
 
6578
  0, /*tp_getset*/
 
6579
  0, /*tp_base*/
 
6580
  0, /*tp_dict*/
 
6581
  0, /*tp_descr_get*/
 
6582
  0, /*tp_descr_set*/
 
6583
  0, /*tp_dictoffset*/
 
6584
  0, /*tp_init*/
 
6585
  0, /*tp_alloc*/
 
6586
  __pyx_tp_new_4h5py_3h5p_PropFCID, /*tp_new*/
 
6587
  0, /*tp_free*/
 
6588
  0, /*tp_is_gc*/
 
6589
  0, /*tp_bases*/
 
6590
  0, /*tp_mro*/
 
6591
  0, /*tp_cache*/
 
6592
  0, /*tp_subclasses*/
 
6593
  0, /*tp_weaklist*/
 
6594
};
 
6595
 
 
6596
static PyObject *__pyx_tp_new_4h5py_3h5p_PropFAID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
6597
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
6598
  if (!o) return 0;
 
6599
  return o;
 
6600
}
 
6601
 
 
6602
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropFAID[] = {
 
6603
  {__Pyx_NAMESTR("set_fclose_degree"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fclose_degree, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fclose_degree)},
 
6604
  {__Pyx_NAMESTR("get_fclose_degree"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_fclose_degree, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_fclose_degree)},
 
6605
  {__Pyx_NAMESTR("set_fapl_core"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_core, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_core)},
 
6606
  {__Pyx_NAMESTR("get_fapl_core"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_core, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_fapl_core)},
 
6607
  {__Pyx_NAMESTR("set_fapl_family"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_family, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_family)},
 
6608
  {__Pyx_NAMESTR("get_fapl_family"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_fapl_family, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_fapl_family)},
 
6609
  {__Pyx_NAMESTR("set_fapl_log"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_log, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_log)},
 
6610
  {__Pyx_NAMESTR("set_fapl_sec2"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_sec2, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_sec2)},
 
6611
  {__Pyx_NAMESTR("set_fapl_stdio"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_fapl_stdio, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_fapl_stdio)},
 
6612
  {__Pyx_NAMESTR("get_driver"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_driver, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_driver)},
 
6613
  {__Pyx_NAMESTR("set_cache"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_cache, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_cache)},
 
6614
  {__Pyx_NAMESTR("get_cache"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_cache, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_cache)},
 
6615
  {__Pyx_NAMESTR("set_sieve_buf_size"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_set_sieve_buf_size, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_set_sieve_buf_size)},
 
6616
  {__Pyx_NAMESTR("get_sieve_buf_size"), (PyCFunction)__pyx_pf_4h5py_3h5p_8PropFAID_get_sieve_buf_size, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_8PropFAID_get_sieve_buf_size)},
 
6617
  {0, 0, 0, 0}
 
6618
};
 
6619
 
 
6620
static PyNumberMethods __pyx_tp_as_number_PropFAID = {
 
6621
  0, /*nb_add*/
 
6622
  0, /*nb_subtract*/
 
6623
  0, /*nb_multiply*/
 
6624
  #if PY_MAJOR_VERSION < 3
 
6625
  0, /*nb_divide*/
 
6626
  #endif
 
6627
  0, /*nb_remainder*/
 
6628
  0, /*nb_divmod*/
 
6629
  0, /*nb_power*/
 
6630
  0, /*nb_negative*/
 
6631
  0, /*nb_positive*/
 
6632
  0, /*nb_absolute*/
 
6633
  0, /*nb_nonzero*/
 
6634
  0, /*nb_invert*/
 
6635
  0, /*nb_lshift*/
 
6636
  0, /*nb_rshift*/
 
6637
  0, /*nb_and*/
 
6638
  0, /*nb_xor*/
 
6639
  0, /*nb_or*/
 
6640
  #if PY_MAJOR_VERSION < 3
 
6641
  0, /*nb_coerce*/
 
6642
  #endif
 
6643
  0, /*nb_int*/
 
6644
  #if PY_MAJOR_VERSION >= 3
 
6645
  0, /*reserved*/
 
6646
  #else
 
6647
  0, /*nb_long*/
 
6648
  #endif
 
6649
  0, /*nb_float*/
 
6650
  #if PY_MAJOR_VERSION < 3
 
6651
  0, /*nb_oct*/
 
6652
  #endif
 
6653
  #if PY_MAJOR_VERSION < 3
 
6654
  0, /*nb_hex*/
 
6655
  #endif
 
6656
  0, /*nb_inplace_add*/
 
6657
  0, /*nb_inplace_subtract*/
 
6658
  0, /*nb_inplace_multiply*/
 
6659
  #if PY_MAJOR_VERSION < 3
 
6660
  0, /*nb_inplace_divide*/
 
6661
  #endif
 
6662
  0, /*nb_inplace_remainder*/
 
6663
  0, /*nb_inplace_power*/
 
6664
  0, /*nb_inplace_lshift*/
 
6665
  0, /*nb_inplace_rshift*/
 
6666
  0, /*nb_inplace_and*/
 
6667
  0, /*nb_inplace_xor*/
 
6668
  0, /*nb_inplace_or*/
 
6669
  0, /*nb_floor_divide*/
 
6670
  0, /*nb_true_divide*/
 
6671
  0, /*nb_inplace_floor_divide*/
 
6672
  0, /*nb_inplace_true_divide*/
 
6673
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6674
  0, /*nb_index*/
 
6675
  #endif
 
6676
};
 
6677
 
 
6678
static PySequenceMethods __pyx_tp_as_sequence_PropFAID = {
 
6679
  0, /*sq_length*/
 
6680
  0, /*sq_concat*/
 
6681
  0, /*sq_repeat*/
 
6682
  0, /*sq_item*/
 
6683
  0, /*sq_slice*/
 
6684
  0, /*sq_ass_item*/
 
6685
  0, /*sq_ass_slice*/
 
6686
  0, /*sq_contains*/
 
6687
  0, /*sq_inplace_concat*/
 
6688
  0, /*sq_inplace_repeat*/
 
6689
};
 
6690
 
 
6691
static PyMappingMethods __pyx_tp_as_mapping_PropFAID = {
 
6692
  0, /*mp_length*/
 
6693
  0, /*mp_subscript*/
 
6694
  0, /*mp_ass_subscript*/
 
6695
};
 
6696
 
 
6697
static PyBufferProcs __pyx_tp_as_buffer_PropFAID = {
 
6698
  #if PY_MAJOR_VERSION < 3
 
6699
  0, /*bf_getreadbuffer*/
 
6700
  #endif
 
6701
  #if PY_MAJOR_VERSION < 3
 
6702
  0, /*bf_getwritebuffer*/
 
6703
  #endif
 
6704
  #if PY_MAJOR_VERSION < 3
 
6705
  0, /*bf_getsegcount*/
 
6706
  #endif
 
6707
  #if PY_MAJOR_VERSION < 3
 
6708
  0, /*bf_getcharbuffer*/
 
6709
  #endif
 
6710
  #if PY_VERSION_HEX >= 0x02060000
 
6711
  0, /*bf_getbuffer*/
 
6712
  #endif
 
6713
  #if PY_VERSION_HEX >= 0x02060000
 
6714
  0, /*bf_releasebuffer*/
 
6715
  #endif
 
6716
};
 
6717
 
 
6718
PyTypeObject __pyx_type_4h5py_3h5p_PropFAID = {
 
6719
  PyVarObject_HEAD_INIT(0, 0)
 
6720
  __Pyx_NAMESTR("h5py.h5p.PropFAID"), /*tp_name*/
 
6721
  sizeof(struct __pyx_obj_4h5py_3h5p_PropFAID), /*tp_basicsize*/
 
6722
  0, /*tp_itemsize*/
 
6723
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6724
  0, /*tp_print*/
 
6725
  0, /*tp_getattr*/
 
6726
  0, /*tp_setattr*/
 
6727
  0, /*tp_compare*/
 
6728
  0, /*tp_repr*/
 
6729
  &__pyx_tp_as_number_PropFAID, /*tp_as_number*/
 
6730
  &__pyx_tp_as_sequence_PropFAID, /*tp_as_sequence*/
 
6731
  &__pyx_tp_as_mapping_PropFAID, /*tp_as_mapping*/
 
6732
  0, /*tp_hash*/
 
6733
  0, /*tp_call*/
 
6734
  0, /*tp_str*/
 
6735
  0, /*tp_getattro*/
 
6736
  0, /*tp_setattro*/
 
6737
  &__pyx_tp_as_buffer_PropFAID, /*tp_as_buffer*/
 
6738
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6739
  __Pyx_DOCSTR("\n        File access property list\n    "), /*tp_doc*/
 
6740
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6741
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6742
  0, /*tp_richcompare*/
 
6743
  0, /*tp_weaklistoffset*/
 
6744
  0, /*tp_iter*/
 
6745
  0, /*tp_iternext*/
 
6746
  __pyx_methods_4h5py_3h5p_PropFAID, /*tp_methods*/
 
6747
  0, /*tp_members*/
 
6748
  0, /*tp_getset*/
 
6749
  0, /*tp_base*/
 
6750
  0, /*tp_dict*/
 
6751
  0, /*tp_descr_get*/
 
6752
  0, /*tp_descr_set*/
 
6753
  0, /*tp_dictoffset*/
 
6754
  0, /*tp_init*/
 
6755
  0, /*tp_alloc*/
 
6756
  __pyx_tp_new_4h5py_3h5p_PropFAID, /*tp_new*/
 
6757
  0, /*tp_free*/
 
6758
  0, /*tp_is_gc*/
 
6759
  0, /*tp_bases*/
 
6760
  0, /*tp_mro*/
 
6761
  0, /*tp_cache*/
 
6762
  0, /*tp_subclasses*/
 
6763
  0, /*tp_weaklist*/
 
6764
};
 
6765
 
 
6766
static PyObject *__pyx_tp_new_4h5py_3h5p_PropDXID(PyTypeObject *t, PyObject *a, PyObject *k) {
 
6767
  PyObject *o = __pyx_tp_new_4h5py_3h5p_PropID(t, a, k);
 
6768
  if (!o) return 0;
 
6769
  return o;
 
6770
}
 
6771
 
 
6772
static struct PyMethodDef __pyx_methods_4h5py_3h5p_PropDXID[] = {
 
6773
  {0, 0, 0, 0}
 
6774
};
 
6775
 
 
6776
static PyNumberMethods __pyx_tp_as_number_PropDXID = {
 
6777
  0, /*nb_add*/
 
6778
  0, /*nb_subtract*/
 
6779
  0, /*nb_multiply*/
 
6780
  #if PY_MAJOR_VERSION < 3
 
6781
  0, /*nb_divide*/
 
6782
  #endif
 
6783
  0, /*nb_remainder*/
 
6784
  0, /*nb_divmod*/
 
6785
  0, /*nb_power*/
 
6786
  0, /*nb_negative*/
 
6787
  0, /*nb_positive*/
 
6788
  0, /*nb_absolute*/
 
6789
  0, /*nb_nonzero*/
 
6790
  0, /*nb_invert*/
 
6791
  0, /*nb_lshift*/
 
6792
  0, /*nb_rshift*/
 
6793
  0, /*nb_and*/
 
6794
  0, /*nb_xor*/
 
6795
  0, /*nb_or*/
 
6796
  #if PY_MAJOR_VERSION < 3
 
6797
  0, /*nb_coerce*/
 
6798
  #endif
 
6799
  0, /*nb_int*/
 
6800
  #if PY_MAJOR_VERSION >= 3
 
6801
  0, /*reserved*/
 
6802
  #else
 
6803
  0, /*nb_long*/
 
6804
  #endif
 
6805
  0, /*nb_float*/
 
6806
  #if PY_MAJOR_VERSION < 3
 
6807
  0, /*nb_oct*/
 
6808
  #endif
 
6809
  #if PY_MAJOR_VERSION < 3
 
6810
  0, /*nb_hex*/
 
6811
  #endif
 
6812
  0, /*nb_inplace_add*/
 
6813
  0, /*nb_inplace_subtract*/
 
6814
  0, /*nb_inplace_multiply*/
 
6815
  #if PY_MAJOR_VERSION < 3
 
6816
  0, /*nb_inplace_divide*/
 
6817
  #endif
 
6818
  0, /*nb_inplace_remainder*/
 
6819
  0, /*nb_inplace_power*/
 
6820
  0, /*nb_inplace_lshift*/
 
6821
  0, /*nb_inplace_rshift*/
 
6822
  0, /*nb_inplace_and*/
 
6823
  0, /*nb_inplace_xor*/
 
6824
  0, /*nb_inplace_or*/
 
6825
  0, /*nb_floor_divide*/
 
6826
  0, /*nb_true_divide*/
 
6827
  0, /*nb_inplace_floor_divide*/
 
6828
  0, /*nb_inplace_true_divide*/
 
6829
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
 
6830
  0, /*nb_index*/
 
6831
  #endif
 
6832
};
 
6833
 
 
6834
static PySequenceMethods __pyx_tp_as_sequence_PropDXID = {
 
6835
  0, /*sq_length*/
 
6836
  0, /*sq_concat*/
 
6837
  0, /*sq_repeat*/
 
6838
  0, /*sq_item*/
 
6839
  0, /*sq_slice*/
 
6840
  0, /*sq_ass_item*/
 
6841
  0, /*sq_ass_slice*/
 
6842
  0, /*sq_contains*/
 
6843
  0, /*sq_inplace_concat*/
 
6844
  0, /*sq_inplace_repeat*/
 
6845
};
 
6846
 
 
6847
static PyMappingMethods __pyx_tp_as_mapping_PropDXID = {
 
6848
  0, /*mp_length*/
 
6849
  0, /*mp_subscript*/
 
6850
  0, /*mp_ass_subscript*/
 
6851
};
 
6852
 
 
6853
static PyBufferProcs __pyx_tp_as_buffer_PropDXID = {
 
6854
  #if PY_MAJOR_VERSION < 3
 
6855
  0, /*bf_getreadbuffer*/
 
6856
  #endif
 
6857
  #if PY_MAJOR_VERSION < 3
 
6858
  0, /*bf_getwritebuffer*/
 
6859
  #endif
 
6860
  #if PY_MAJOR_VERSION < 3
 
6861
  0, /*bf_getsegcount*/
 
6862
  #endif
 
6863
  #if PY_MAJOR_VERSION < 3
 
6864
  0, /*bf_getcharbuffer*/
 
6865
  #endif
 
6866
  #if PY_VERSION_HEX >= 0x02060000
 
6867
  0, /*bf_getbuffer*/
 
6868
  #endif
 
6869
  #if PY_VERSION_HEX >= 0x02060000
 
6870
  0, /*bf_releasebuffer*/
 
6871
  #endif
 
6872
};
 
6873
 
 
6874
PyTypeObject __pyx_type_4h5py_3h5p_PropDXID = {
 
6875
  PyVarObject_HEAD_INIT(0, 0)
 
6876
  __Pyx_NAMESTR("h5py.h5p.PropDXID"), /*tp_name*/
 
6877
  sizeof(struct __pyx_obj_4h5py_3h5p_PropDXID), /*tp_basicsize*/
 
6878
  0, /*tp_itemsize*/
 
6879
  __pyx_tp_dealloc_4h5py_3h5p_PropID, /*tp_dealloc*/
 
6880
  0, /*tp_print*/
 
6881
  0, /*tp_getattr*/
 
6882
  0, /*tp_setattr*/
 
6883
  0, /*tp_compare*/
 
6884
  0, /*tp_repr*/
 
6885
  &__pyx_tp_as_number_PropDXID, /*tp_as_number*/
 
6886
  &__pyx_tp_as_sequence_PropDXID, /*tp_as_sequence*/
 
6887
  &__pyx_tp_as_mapping_PropDXID, /*tp_as_mapping*/
 
6888
  0, /*tp_hash*/
 
6889
  0, /*tp_call*/
 
6890
  0, /*tp_str*/
 
6891
  0, /*tp_getattro*/
 
6892
  0, /*tp_setattro*/
 
6893
  &__pyx_tp_as_buffer_PropDXID, /*tp_as_buffer*/
 
6894
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
 
6895
  __Pyx_DOCSTR(" Dataset transfer property list "), /*tp_doc*/
 
6896
  __pyx_tp_traverse_4h5py_3h5p_PropID, /*tp_traverse*/
 
6897
  __pyx_tp_clear_4h5py_3h5p_PropID, /*tp_clear*/
 
6898
  0, /*tp_richcompare*/
 
6899
  0, /*tp_weaklistoffset*/
 
6900
  0, /*tp_iter*/
 
6901
  0, /*tp_iternext*/
 
6902
  __pyx_methods_4h5py_3h5p_PropDXID, /*tp_methods*/
 
6903
  0, /*tp_members*/
 
6904
  0, /*tp_getset*/
 
6905
  0, /*tp_base*/
 
6906
  0, /*tp_dict*/
 
6907
  0, /*tp_descr_get*/
 
6908
  0, /*tp_descr_set*/
 
6909
  0, /*tp_dictoffset*/
 
6910
  0, /*tp_init*/
 
6911
  0, /*tp_alloc*/
 
6912
  __pyx_tp_new_4h5py_3h5p_PropDXID, /*tp_new*/
 
6913
  0, /*tp_free*/
 
6914
  0, /*tp_is_gc*/
 
6915
  0, /*tp_bases*/
 
6916
  0, /*tp_mro*/
 
6917
  0, /*tp_cache*/
 
6918
  0, /*tp_subclasses*/
 
6919
  0, /*tp_weaklist*/
 
6920
};
 
6921
 
 
6922
static struct PyMethodDef __pyx_methods[] = {
 
6923
  {__Pyx_NAMESTR("create"), (PyCFunction)__pyx_pf_4h5py_3h5p_create, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5p_create)},
 
6924
  {0, 0, 0, 0}
 
6925
};
 
6926
 
 
6927
static void __pyx_init_filenames(void); /*proto*/
 
6928
 
 
6929
#if PY_MAJOR_VERSION >= 3
 
6930
static struct PyModuleDef __pyx_moduledef = {
 
6931
    PyModuleDef_HEAD_INIT,
 
6932
    __Pyx_NAMESTR("h5p"),
 
6933
    0, /* m_doc */
 
6934
    -1, /* m_size */
 
6935
    __pyx_methods /* m_methods */,
 
6936
    NULL, /* m_reload */
 
6937
    NULL, /* m_traverse */
 
6938
    NULL, /* m_clear */
 
6939
    NULL /* m_free */
 
6940
};
 
6941
#endif
 
6942
 
 
6943
static __Pyx_StringTabEntry __pyx_string_tab[] = {
 
6944
  {&__pyx_kp___main__, __pyx_k___main__, sizeof(__pyx_k___main__), 1, 1, 1},
 
6945
  {&__pyx_kp_equal, __pyx_k_equal, sizeof(__pyx_k_equal), 1, 1, 1},
 
6946
  {&__pyx_kp___richcmp__, __pyx_k___richcmp__, sizeof(__pyx_k___richcmp__), 1, 1, 1},
 
6947
  {&__pyx_kp___hash__, __pyx_k___hash__, sizeof(__pyx_k___hash__), 1, 1, 1},
 
6948
  {&__pyx_kp_copy, __pyx_k_copy, sizeof(__pyx_k_copy), 1, 1, 1},
 
6949
  {&__pyx_kp__close, __pyx_k__close, sizeof(__pyx_k__close), 1, 1, 1},
 
6950
  {&__pyx_kp_get_class, __pyx_k_get_class, sizeof(__pyx_k_get_class), 1, 1, 1},
 
6951
  {&__pyx_kp_get_version, __pyx_k_get_version, sizeof(__pyx_k_get_version), 1, 1, 1},
 
6952
  {&__pyx_kp_set_userblock, __pyx_k_set_userblock, sizeof(__pyx_k_set_userblock), 1, 1, 1},
 
6953
  {&__pyx_kp_get_userblock, __pyx_k_get_userblock, sizeof(__pyx_k_get_userblock), 1, 1, 1},
 
6954
  {&__pyx_kp_set_sizes, __pyx_k_set_sizes, sizeof(__pyx_k_set_sizes), 1, 1, 1},
 
6955
  {&__pyx_kp_get_sizes, __pyx_k_get_sizes, sizeof(__pyx_k_get_sizes), 1, 1, 1},
 
6956
  {&__pyx_kp_set_layout, __pyx_k_set_layout, sizeof(__pyx_k_set_layout), 1, 1, 1},
 
6957
  {&__pyx_kp_get_layout, __pyx_k_get_layout, sizeof(__pyx_k_get_layout), 1, 1, 1},
 
6958
  {&__pyx_kp_set_chunk, __pyx_k_set_chunk, sizeof(__pyx_k_set_chunk), 1, 1, 1},
 
6959
  {&__pyx_kp_get_chunk, __pyx_k_get_chunk, sizeof(__pyx_k_get_chunk), 1, 1, 1},
 
6960
  {&__pyx_kp_set_fill_value, __pyx_k_set_fill_value, sizeof(__pyx_k_set_fill_value), 1, 1, 1},
 
6961
  {&__pyx_kp_get_fill_value, __pyx_k_get_fill_value, sizeof(__pyx_k_get_fill_value), 1, 1, 1},
 
6962
  {&__pyx_kp_fill_value_defined, __pyx_k_fill_value_defined, sizeof(__pyx_k_fill_value_defined), 1, 1, 1},
 
6963
  {&__pyx_kp_set_fill_time, __pyx_k_set_fill_time, sizeof(__pyx_k_set_fill_time), 1, 1, 1},
 
6964
  {&__pyx_kp_get_fill_time, __pyx_k_get_fill_time, sizeof(__pyx_k_get_fill_time), 1, 1, 1},
 
6965
  {&__pyx_kp_set_alloc_time, __pyx_k_set_alloc_time, sizeof(__pyx_k_set_alloc_time), 1, 1, 1},
 
6966
  {&__pyx_kp_get_alloc_time, __pyx_k_get_alloc_time, sizeof(__pyx_k_get_alloc_time), 1, 1, 1},
 
6967
  {&__pyx_kp_set_filter, __pyx_k_set_filter, sizeof(__pyx_k_set_filter), 1, 1, 1},
 
6968
  {&__pyx_kp_all_filters_avail, __pyx_k_all_filters_avail, sizeof(__pyx_k_all_filters_avail), 1, 1, 1},
 
6969
  {&__pyx_kp_get_nfilters, __pyx_k_get_nfilters, sizeof(__pyx_k_get_nfilters), 1, 1, 1},
 
6970
  {&__pyx_kp_get_filter, __pyx_k_get_filter, sizeof(__pyx_k_get_filter), 1, 1, 1},
 
6971
  {&__pyx_kp__has_filter, __pyx_k__has_filter, sizeof(__pyx_k__has_filter), 1, 1, 1},
 
6972
  {&__pyx_kp_get_filter_by_id, __pyx_k_get_filter_by_id, sizeof(__pyx_k_get_filter_by_id), 1, 1, 1},
 
6973
  {&__pyx_kp_remove_filter, __pyx_k_remove_filter, sizeof(__pyx_k_remove_filter), 1, 1, 1},
 
6974
  {&__pyx_kp_set_deflate, __pyx_k_set_deflate, sizeof(__pyx_k_set_deflate), 1, 1, 1},
 
6975
  {&__pyx_kp_230, __pyx_k_230, sizeof(__pyx_k_230), 1, 1, 1},
 
6976
  {&__pyx_kp_set_shuffle, __pyx_k_set_shuffle, sizeof(__pyx_k_set_shuffle), 1, 1, 1},
 
6977
  {&__pyx_kp_set_szip, __pyx_k_set_szip, sizeof(__pyx_k_set_szip), 1, 1, 1},
 
6978
  {&__pyx_kp_set_fclose_degree, __pyx_k_set_fclose_degree, sizeof(__pyx_k_set_fclose_degree), 1, 1, 1},
 
6979
  {&__pyx_kp_get_fclose_degree, __pyx_k_get_fclose_degree, sizeof(__pyx_k_get_fclose_degree), 1, 1, 1},
 
6980
  {&__pyx_kp_set_fapl_core, __pyx_k_set_fapl_core, sizeof(__pyx_k_set_fapl_core), 1, 1, 1},
 
6981
  {&__pyx_kp_get_fapl_core, __pyx_k_get_fapl_core, sizeof(__pyx_k_get_fapl_core), 1, 1, 1},
 
6982
  {&__pyx_kp_set_fapl_family, __pyx_k_set_fapl_family, sizeof(__pyx_k_set_fapl_family), 1, 1, 1},
 
6983
  {&__pyx_kp_get_fapl_family, __pyx_k_get_fapl_family, sizeof(__pyx_k_get_fapl_family), 1, 1, 1},
 
6984
  {&__pyx_kp_set_fapl_log, __pyx_k_set_fapl_log, sizeof(__pyx_k_set_fapl_log), 1, 1, 1},
 
6985
  {&__pyx_kp_231, __pyx_k_231, sizeof(__pyx_k_231), 1, 1, 1},
 
6986
  {&__pyx_kp_set_fapl_stdio, __pyx_k_set_fapl_stdio, sizeof(__pyx_k_set_fapl_stdio), 1, 1, 1},
 
6987
  {&__pyx_kp_get_driver, __pyx_k_get_driver, sizeof(__pyx_k_get_driver), 1, 1, 1},
 
6988
  {&__pyx_kp_set_cache, __pyx_k_set_cache, sizeof(__pyx_k_set_cache), 1, 1, 1},
 
6989
  {&__pyx_kp_get_cache, __pyx_k_get_cache, sizeof(__pyx_k_get_cache), 1, 1, 1},
 
6990
  {&__pyx_kp_set_sieve_buf_size, __pyx_k_set_sieve_buf_size, sizeof(__pyx_k_set_sieve_buf_size), 1, 1, 1},
 
6991
  {&__pyx_kp_get_sieve_buf_size, __pyx_k_get_sieve_buf_size, sizeof(__pyx_k_get_sieve_buf_size), 1, 1, 1},
 
6992
  {&__pyx_kp_cls, __pyx_k_cls, sizeof(__pyx_k_cls), 1, 1, 1},
 
6993
  {&__pyx_kp_plist, __pyx_k_plist, sizeof(__pyx_k_plist), 1, 1, 1},
 
6994
  {&__pyx_kp_self, __pyx_k_self, sizeof(__pyx_k_self), 1, 1, 1},
 
6995
  {&__pyx_kp_other, __pyx_k_other, sizeof(__pyx_k_other), 1, 1, 1},
 
6996
  {&__pyx_kp_how, __pyx_k_how, sizeof(__pyx_k_how), 1, 1, 1},
 
6997
  {&__pyx_kp_size, __pyx_k_size, sizeof(__pyx_k_size), 1, 1, 1},
 
6998
  {&__pyx_kp_addr, __pyx_k_addr, sizeof(__pyx_k_addr), 1, 1, 1},
 
6999
  {&__pyx_kp_layout_code, __pyx_k_layout_code, sizeof(__pyx_k_layout_code), 1, 1, 1},
 
7000
  {&__pyx_kp_chunksize, __pyx_k_chunksize, sizeof(__pyx_k_chunksize), 1, 1, 1},
 
7001
  {&__pyx_kp_value, __pyx_k_value, sizeof(__pyx_k_value), 1, 1, 1},
 
7002
  {&__pyx_kp_fill_time, __pyx_k_fill_time, sizeof(__pyx_k_fill_time), 1, 1, 1},
 
7003
  {&__pyx_kp_alloc_time, __pyx_k_alloc_time, sizeof(__pyx_k_alloc_time), 1, 1, 1},
 
7004
  {&__pyx_kp_filter_code, __pyx_k_filter_code, sizeof(__pyx_k_filter_code), 1, 1, 1},
 
7005
  {&__pyx_kp_flags, __pyx_k_flags, sizeof(__pyx_k_flags), 1, 1, 1},
 
7006
  {&__pyx_kp_values, __pyx_k_values, sizeof(__pyx_k_values), 1, 1, 1},
 
7007
  {&__pyx_kp_filter_idx, __pyx_k_filter_idx, sizeof(__pyx_k_filter_idx), 1, 1, 1},
 
7008
  {&__pyx_kp_filter_class, __pyx_k_filter_class, sizeof(__pyx_k_filter_class), 1, 1, 1},
 
7009
  {&__pyx_kp_level, __pyx_k_level, sizeof(__pyx_k_level), 1, 1, 1},
 
7010
  {&__pyx_kp_options, __pyx_k_options, sizeof(__pyx_k_options), 1, 1, 1},
 
7011
  {&__pyx_kp_pixels_per_block, __pyx_k_pixels_per_block, sizeof(__pyx_k_pixels_per_block), 1, 1, 1},
 
7012
  {&__pyx_kp_close_degree, __pyx_k_close_degree, sizeof(__pyx_k_close_degree), 1, 1, 1},
 
7013
  {&__pyx_kp_block_size, __pyx_k_block_size, sizeof(__pyx_k_block_size), 1, 1, 1},
 
7014
  {&__pyx_kp_backing_store, __pyx_k_backing_store, sizeof(__pyx_k_backing_store), 1, 1, 1},
 
7015
  {&__pyx_kp_memb_size, __pyx_k_memb_size, sizeof(__pyx_k_memb_size), 1, 1, 1},
 
7016
  {&__pyx_kp_memb_fapl, __pyx_k_memb_fapl, sizeof(__pyx_k_memb_fapl), 1, 1, 1},
 
7017
  {&__pyx_kp_logfile, __pyx_k_logfile, sizeof(__pyx_k_logfile), 1, 1, 1},
 
7018
  {&__pyx_kp_buf_size, __pyx_k_buf_size, sizeof(__pyx_k_buf_size), 1, 1, 1},
 
7019
  {&__pyx_kp_mdc, __pyx_k_mdc, sizeof(__pyx_k_mdc), 1, 1, 1},
 
7020
  {&__pyx_kp_rdcc, __pyx_k_rdcc, sizeof(__pyx_k_rdcc), 1, 1, 1},
 
7021
  {&__pyx_kp_rdcc_nbytes, __pyx_k_rdcc_nbytes, sizeof(__pyx_k_rdcc_nbytes), 1, 1, 1},
 
7022
  {&__pyx_kp_rdcc_w0, __pyx_k_rdcc_w0, sizeof(__pyx_k_rdcc_w0), 1, 1, 1},
 
7023
  {&__pyx_kp___doc__, __pyx_k___doc__, sizeof(__pyx_k___doc__), 1, 1, 1},
 
7024
  {&__pyx_kp__sync, __pyx_k__sync, sizeof(__pyx_k__sync), 1, 1, 1},
 
7025
  {&__pyx_kp_sync, __pyx_k_sync, sizeof(__pyx_k_sync), 1, 1, 1},
 
7026
  {&__pyx_kp_nosync, __pyx_k_nosync, sizeof(__pyx_k_nosync), 1, 1, 1},
 
7027
  {&__pyx_kp_NO_CLASS, __pyx_k_NO_CLASS, sizeof(__pyx_k_NO_CLASS), 1, 1, 1},
 
7028
  {&__pyx_kp_FILE_CREATE, __pyx_k_FILE_CREATE, sizeof(__pyx_k_FILE_CREATE), 1, 1, 1},
 
7029
  {&__pyx_kp_FILE_ACCESS, __pyx_k_FILE_ACCESS, sizeof(__pyx_k_FILE_ACCESS), 1, 1, 1},
 
7030
  {&__pyx_kp_DATASET_CREATE, __pyx_k_DATASET_CREATE, sizeof(__pyx_k_DATASET_CREATE), 1, 1, 1},
 
7031
  {&__pyx_kp_DATASET_XFER, __pyx_k_DATASET_XFER, sizeof(__pyx_k_DATASET_XFER), 1, 1, 1},
 
7032
  {&__pyx_kp_DEFAULT, __pyx_k_DEFAULT, sizeof(__pyx_k_DEFAULT), 1, 1, 1},
 
7033
  {&__pyx_kp_create, __pyx_k_create, sizeof(__pyx_k_create), 1, 1, 1},
 
7034
  {&__pyx_kp_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 1, 1, 1},
 
7035
  {&__pyx_kp_NotImplemented, __pyx_k_NotImplemented, sizeof(__pyx_k_NotImplemented), 1, 1, 1},
 
7036
  {&__pyx_kp_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 1, 1, 1},
 
7037
  {&__pyx_kp_dtype, __pyx_k_dtype, sizeof(__pyx_k_dtype), 1, 1, 1},
 
7038
  {&__pyx_kp_232, __pyx_k_232, sizeof(__pyx_k_232), 0, 0, 0},
 
7039
  {&__pyx_kp_234, __pyx_k_234, sizeof(__pyx_k_234), 0, 0, 0},
 
7040
  {&__pyx_kp_235, __pyx_k_235, sizeof(__pyx_k_235), 0, 0, 0},
 
7041
  {&__pyx_kp_238, __pyx_k_238, sizeof(__pyx_k_238), 0, 0, 0},
 
7042
  {0, 0, 0, 0, 0, 0}
 
7043
};
 
7044
static int __Pyx_InitCachedBuiltins(void) {
 
7045
  __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_kp_ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7046
  __pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_kp_NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7047
  __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_kp_TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7048
  return 0;
 
7049
  __pyx_L1_error:;
 
7050
  return -1;
 
7051
}
 
7052
 
 
7053
static int __Pyx_InitGlobals(void) {
 
7054
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
7055
  return 0;
 
7056
  __pyx_L1_error:;
 
7057
  return -1;
 
7058
}
 
7059
 
 
7060
#if PY_MAJOR_VERSION < 3
 
7061
PyMODINIT_FUNC inith5p(void); /*proto*/
 
7062
PyMODINIT_FUNC inith5p(void)
 
7063
#else
 
7064
PyMODINIT_FUNC PyInit_h5p(void); /*proto*/
 
7065
PyMODINIT_FUNC PyInit_h5p(void)
 
7066
#endif
 
7067
{
 
7068
  PyObject *__pyx_1 = 0;
 
7069
  PyObject *__pyx_2 = 0;
 
7070
  int __pyx_t_1;
 
7071
  PyObject *__pyx_t_2 = NULL;
 
7072
  PyObject *__pyx_t_3 = NULL;
 
7073
  #ifdef CYTHON_REFNANNY
 
7074
  void* __pyx_refchk = NULL;
 
7075
  __Pyx_Refnanny = __Pyx_ImportRefcountAPI("refnanny");
 
7076
  if (!__Pyx_Refnanny) {
 
7077
      PyErr_Clear();
 
7078
      __Pyx_Refnanny = __Pyx_ImportRefcountAPI("Cython.Runtime.refnanny");
 
7079
      if (!__Pyx_Refnanny)
 
7080
          Py_FatalError("failed to import refnanny module");
 
7081
  }
 
7082
  __pyx_refchk = __Pyx_Refnanny->NewContext("PyMODINIT_FUNC PyInit_h5p(void)", __LINE__, __FILE__);
 
7083
  #endif
 
7084
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7085
  /*--- Library function declarations ---*/
 
7086
  __pyx_init_filenames();
 
7087
  /*--- Threads initialization code ---*/
 
7088
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
 
7089
  #ifdef WITH_THREAD /* Python build with threading support? */
 
7090
  PyEval_InitThreads();
 
7091
  #endif
 
7092
  #endif
 
7093
  /*--- Initialize various global constants etc. ---*/
 
7094
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7095
  /*--- Module creation code ---*/
 
7096
  #if PY_MAJOR_VERSION < 3
 
7097
  __pyx_m = Py_InitModule4(__Pyx_NAMESTR("h5p"), __pyx_methods, 0, 0, PYTHON_API_VERSION);
 
7098
  #else
 
7099
  __pyx_m = PyModule_Create(&__pyx_moduledef);
 
7100
  #endif
 
7101
  if (!__pyx_m) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
7102
  #if PY_MAJOR_VERSION < 3
 
7103
  Py_INCREF(__pyx_m);
 
7104
  #endif
 
7105
  __pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME));
 
7106
  if (!__pyx_b) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
7107
  if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
7108
  if (__pyx_module_is_main_h5py__h5p) {
 
7109
    if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_kp___main__) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
7110
  }
 
7111
  /*--- Builtin init code ---*/
 
7112
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7113
  __pyx_skip_dispatch = 0;
 
7114
  /*--- Global init code ---*/
 
7115
  /*--- Function export code ---*/
 
7116
  if (__Pyx_ExportFunction("pdefault", (void (*)(void))__pyx_f_4h5py_3h5p_pdefault, "hid_t (struct __pyx_obj_4h5py_3h5p_PropID *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7117
  if (__Pyx_ExportFunction("propwrap", (void (*)(void))__pyx_f_4h5py_3h5p_propwrap, "PyObject *(hid_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7118
  /*--- Type init code ---*/
 
7119
  __pyx_ptype_4h5py_2h5_ObjectID = __Pyx_ImportType("h5py.h5", "ObjectID", sizeof(struct __pyx_obj_4h5py_2h5_ObjectID)); if (unlikely(!__pyx_ptype_4h5py_2h5_ObjectID)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7120
  __pyx_type_4h5py_3h5p_PropID.tp_base = __pyx_ptype_4h5py_2h5_ObjectID;
 
7121
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7122
  if (__Pyx_SetAttrString(__pyx_m, "PropID", (PyObject *)&__pyx_type_4h5py_3h5p_PropID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7123
  if (__pyx_type_4h5py_3h5p_PropID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropID, __pyx_base.__weakref__);
 
7124
  __pyx_ptype_4h5py_3h5p_PropID = &__pyx_type_4h5py_3h5p_PropID;
 
7125
  __pyx_type_4h5py_3h5p_PropClassID.tp_base = __pyx_ptype_4h5py_3h5p_PropID;
 
7126
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropClassID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7127
  if (__Pyx_SetAttrString(__pyx_m, "PropClassID", (PyObject *)&__pyx_type_4h5py_3h5p_PropClassID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7128
  if (__pyx_type_4h5py_3h5p_PropClassID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropClassID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropClassID, __pyx_base.__pyx_base.__weakref__);
 
7129
  __pyx_ptype_4h5py_3h5p_PropClassID = &__pyx_type_4h5py_3h5p_PropClassID;
 
7130
  __pyx_type_4h5py_3h5p_PropInstanceID.tp_base = __pyx_ptype_4h5py_3h5p_PropID;
 
7131
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropInstanceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7132
  if (__Pyx_SetAttrString(__pyx_m, "PropInstanceID", (PyObject *)&__pyx_type_4h5py_3h5p_PropInstanceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7133
  if (__pyx_type_4h5py_3h5p_PropInstanceID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropInstanceID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropInstanceID, __pyx_base.__pyx_base.__weakref__);
 
7134
  __pyx_ptype_4h5py_3h5p_PropInstanceID = &__pyx_type_4h5py_3h5p_PropInstanceID;
 
7135
  __pyx_type_4h5py_3h5p_PropCreateID.tp_base = __pyx_ptype_4h5py_3h5p_PropInstanceID;
 
7136
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropCreateID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7137
  if (__Pyx_SetAttrString(__pyx_m, "PropCreateID", (PyObject *)&__pyx_type_4h5py_3h5p_PropCreateID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7138
  if (__pyx_type_4h5py_3h5p_PropCreateID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropCreateID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropCreateID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7139
  __pyx_ptype_4h5py_3h5p_PropCreateID = &__pyx_type_4h5py_3h5p_PropCreateID;
 
7140
  __pyx_type_4h5py_3h5p_PropCopyID.tp_base = __pyx_ptype_4h5py_3h5p_PropInstanceID;
 
7141
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropCopyID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7142
  if (__Pyx_SetAttrString(__pyx_m, "PropCopyID", (PyObject *)&__pyx_type_4h5py_3h5p_PropCopyID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7143
  if (__pyx_type_4h5py_3h5p_PropCopyID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropCopyID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropCopyID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7144
  __pyx_ptype_4h5py_3h5p_PropCopyID = &__pyx_type_4h5py_3h5p_PropCopyID;
 
7145
  __pyx_type_4h5py_3h5p_PropDCID.tp_base = __pyx_ptype_4h5py_3h5p_PropCreateID;
 
7146
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropDCID) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7147
  if (__Pyx_SetAttrString(__pyx_m, "PropDCID", (PyObject *)&__pyx_type_4h5py_3h5p_PropDCID) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7148
  if (__pyx_type_4h5py_3h5p_PropDCID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropDCID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropDCID, __pyx_base.__pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7149
  __pyx_ptype_4h5py_3h5p_PropDCID = &__pyx_type_4h5py_3h5p_PropDCID;
 
7150
  __pyx_type_4h5py_3h5p_PropFCID.tp_base = __pyx_ptype_4h5py_3h5p_PropCreateID;
 
7151
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropFCID) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7152
  if (__Pyx_SetAttrString(__pyx_m, "PropFCID", (PyObject *)&__pyx_type_4h5py_3h5p_PropFCID) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7153
  if (__pyx_type_4h5py_3h5p_PropFCID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropFCID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropFCID, __pyx_base.__pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7154
  __pyx_ptype_4h5py_3h5p_PropFCID = &__pyx_type_4h5py_3h5p_PropFCID;
 
7155
  __pyx_type_4h5py_3h5p_PropFAID.tp_base = __pyx_ptype_4h5py_3h5p_PropInstanceID;
 
7156
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropFAID) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7157
  if (__Pyx_SetAttrString(__pyx_m, "PropFAID", (PyObject *)&__pyx_type_4h5py_3h5p_PropFAID) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7158
  if (__pyx_type_4h5py_3h5p_PropFAID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropFAID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropFAID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7159
  __pyx_ptype_4h5py_3h5p_PropFAID = &__pyx_type_4h5py_3h5p_PropFAID;
 
7160
  __pyx_type_4h5py_3h5p_PropDXID.tp_base = __pyx_ptype_4h5py_3h5p_PropInstanceID;
 
7161
  if (PyType_Ready(&__pyx_type_4h5py_3h5p_PropDXID) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7162
  if (__Pyx_SetAttrString(__pyx_m, "PropDXID", (PyObject *)&__pyx_type_4h5py_3h5p_PropDXID) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7163
  if (__pyx_type_4h5py_3h5p_PropDXID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5p_PropDXID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5p_PropDXID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
 
7164
  __pyx_ptype_4h5py_3h5p_PropDXID = &__pyx_type_4h5py_3h5p_PropDXID;
 
7165
  /*--- Type import code ---*/
 
7166
  __pyx_ptype_4h5py_2h5_PHIL = __Pyx_ImportType("h5py.h5", "PHIL", sizeof(struct __pyx_obj_4h5py_2h5_PHIL)); if (unlikely(!__pyx_ptype_4h5py_2h5_PHIL)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7167
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_2h5_PHIL->tp_dict, &__pyx_vtabptr_4h5py_2h5_PHIL) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7168
  __pyx_ptype_4h5py_2h5_H5PYConfig = __Pyx_ImportType("h5py.h5", "H5PYConfig", sizeof(struct __pyx_obj_4h5py_2h5_H5PYConfig)); if (unlikely(!__pyx_ptype_4h5py_2h5_H5PYConfig)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7169
  __pyx_ptype_4h5py_2h5_SmartStruct = __Pyx_ImportType("h5py.h5", "SmartStruct", sizeof(struct __pyx_obj_4h5py_2h5_SmartStruct)); if (unlikely(!__pyx_ptype_4h5py_2h5_SmartStruct)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7170
  __pyx_ptype_4h5py_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr)); if (unlikely(!__pyx_ptype_4h5py_5numpy_dtype)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7171
  __pyx_ptype_4h5py_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject)); if (unlikely(!__pyx_ptype_4h5py_5numpy_ndarray)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7172
  __pyx_ptype_4h5py_3h5t_TypeID = __Pyx_ImportType("h5py.h5t", "TypeID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7173
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7174
  __pyx_ptype_4h5py_3h5t_TypeArrayID = __Pyx_ImportType("h5py.h5t", "TypeArrayID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeArrayID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeArrayID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7175
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeArrayID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7176
  __pyx_ptype_4h5py_3h5t_TypeOpaqueID = __Pyx_ImportType("h5py.h5t", "TypeOpaqueID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeOpaqueID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeOpaqueID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7177
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeOpaqueID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7178
  __pyx_ptype_4h5py_3h5t_TypeStringID = __Pyx_ImportType("h5py.h5t", "TypeStringID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeStringID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeStringID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7179
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7180
  __pyx_ptype_4h5py_3h5t_TypeVlenID = __Pyx_ImportType("h5py.h5t", "TypeVlenID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeVlenID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeVlenID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7181
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeVlenID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7182
  __pyx_ptype_4h5py_3h5t_TypeTimeID = __Pyx_ImportType("h5py.h5t", "TypeTimeID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeTimeID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeTimeID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7183
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeTimeID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7184
  __pyx_ptype_4h5py_3h5t_TypeBitfieldID = __Pyx_ImportType("h5py.h5t", "TypeBitfieldID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeBitfieldID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeBitfieldID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7185
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeBitfieldID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7186
  __pyx_ptype_4h5py_3h5t_TypeReferenceID = __Pyx_ImportType("h5py.h5t", "TypeReferenceID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeReferenceID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeReferenceID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7187
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeReferenceID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7188
  __pyx_ptype_4h5py_3h5t_TypeAtomicID = __Pyx_ImportType("h5py.h5t", "TypeAtomicID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeAtomicID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeAtomicID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7189
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7190
  __pyx_ptype_4h5py_3h5t_TypeIntegerID = __Pyx_ImportType("h5py.h5t", "TypeIntegerID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeIntegerID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeIntegerID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7191
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeIntegerID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7192
  __pyx_ptype_4h5py_3h5t_TypeFloatID = __Pyx_ImportType("h5py.h5t", "TypeFloatID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeFloatID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeFloatID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7193
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7194
  __pyx_ptype_4h5py_3h5t_TypeCompositeID = __Pyx_ImportType("h5py.h5t", "TypeCompositeID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeCompositeID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeCompositeID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7195
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeCompositeID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7196
  __pyx_ptype_4h5py_3h5t_TypeEnumID = __Pyx_ImportType("h5py.h5t", "TypeEnumID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeEnumID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeEnumID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7197
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeEnumID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7198
  __pyx_ptype_4h5py_3h5t_TypeCompoundID = __Pyx_ImportType("h5py.h5t", "TypeCompoundID", sizeof(struct __pyx_obj_4h5py_3h5t_TypeCompoundID)); if (unlikely(!__pyx_ptype_4h5py_3h5t_TypeCompoundID)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7199
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, &__pyx_vtabptr_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7200
  /*--- Function import code ---*/
 
7201
  __pyx_1 = __Pyx_ImportModule("h5py.h5"); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7202
  if (__Pyx_ImportFunction(__pyx_1, "get_phil", (void (**)(void))&__pyx_f_4h5py_2h5_get_phil, "struct __pyx_obj_4h5py_2h5_PHIL *(int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7203
  if (__Pyx_ImportFunction(__pyx_1, "get_config", (void (**)(void))&__pyx_f_4h5py_2h5_get_config, "struct __pyx_obj_4h5py_2h5_H5PYConfig *(int __pyx_skip_dispatch)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7204
  if (__Pyx_ImportFunction(__pyx_1, "init_hdf5", (void (**)(void))&__pyx_f_4h5py_2h5_init_hdf5, "int (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7205
  if (__Pyx_ImportFunction(__pyx_1, "get_object_type", (void (**)(void))&__pyx_f_4h5py_2h5_get_object_type, "hid_t (void)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7206
  if (__Pyx_ImportFunction(__pyx_1, "attr_rw", (void (**)(void))&__pyx_f_4h5py_2h5_attr_rw, "herr_t (hid_t, hid_t, void *, h5py_rw_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7207
  if (__Pyx_ImportFunction(__pyx_1, "dset_rw", (void (**)(void))&__pyx_f_4h5py_2h5_dset_rw, "herr_t (hid_t, hid_t, hid_t, hid_t, hid_t, void *, h5py_rw_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7208
  Py_DECREF(__pyx_1); __pyx_1 = 0;
 
7209
  __pyx_1 = __Pyx_ImportModule("h5py.utils"); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7210
  if (__Pyx_ImportFunction(__pyx_1, "emalloc", (void (**)(void))&__pyx_f_4h5py_5utils_emalloc, "void *(size_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7211
  if (__Pyx_ImportFunction(__pyx_1, "efree", (void (**)(void))&__pyx_f_4h5py_5utils_efree, "void (void *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7212
  if (__Pyx_ImportFunction(__pyx_1, "check_numpy_read", (void (**)(void))&__pyx_f_4h5py_5utils_check_numpy_read, "int (PyArrayObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_5utils_check_numpy_read *__pyx_optional_args)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7213
  if (__Pyx_ImportFunction(__pyx_1, "check_numpy_write", (void (**)(void))&__pyx_f_4h5py_5utils_check_numpy_write, "int (PyArrayObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_5utils_check_numpy_write *__pyx_optional_args)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7214
  if (__Pyx_ImportFunction(__pyx_1, "convert_tuple", (void (**)(void))&__pyx_f_4h5py_5utils_convert_tuple, "int (PyObject *, hsize_t *, hsize_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7215
  if (__Pyx_ImportFunction(__pyx_1, "convert_dims", (void (**)(void))&__pyx_f_4h5py_5utils_convert_dims, "PyObject *(hsize_t *, hsize_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7216
  if (__Pyx_ImportFunction(__pyx_1, "require_tuple", (void (**)(void))&__pyx_f_4h5py_5utils_require_tuple, "int (PyObject *, int, int, char *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7217
  if (__Pyx_ImportFunction(__pyx_1, "create_numpy_hsize", (void (**)(void))&__pyx_f_4h5py_5utils_create_numpy_hsize, "PyObject *(int, hsize_t *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7218
  if (__Pyx_ImportFunction(__pyx_1, "create_hsize_array", (void (**)(void))&__pyx_f_4h5py_5utils_create_hsize_array, "PyObject *(PyObject *)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7219
  Py_DECREF(__pyx_1); __pyx_1 = 0;
 
7220
  __pyx_1 = __Pyx_ImportModule("h5py.h5t"); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7221
  if (__Pyx_ImportFunction(__pyx_1, "typewrap", (void (**)(void))&__pyx_f_4h5py_3h5t_typewrap, "struct __pyx_obj_4h5py_3h5t_TypeID *(hid_t)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7222
  if (__Pyx_ImportFunction(__pyx_1, "py_create", (void (**)(void))&__pyx_f_4h5py_3h5t_py_create, "struct __pyx_obj_4h5py_3h5t_TypeID *(PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5t_py_create *__pyx_optional_args)") < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7223
  Py_DECREF(__pyx_1); __pyx_1 = 0;
 
7224
  /*--- Execution code ---*/
 
7225
 
 
7226
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":13
 
7227
 * #-
 
7228
 * __doc__ = \
 
7229
 * """             # <<<<<<<<<<<<<<
 
7230
 *     HDF5 property list interface.
 
7231
 * """
 
7232
 */
 
7233
  if (PyObject_SetAttr(__pyx_m, __pyx_kp___doc__, __pyx_kp_232) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 12; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7234
 
 
7235
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":28
 
7236
 * 
 
7237
 * # Initialization
 
7238
 * init_hdf5()             # <<<<<<<<<<<<<<
 
7239
 * import_array()
 
7240
 * 
 
7241
 */
 
7242
  __pyx_t_1 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7243
 
 
7244
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":29
 
7245
 * # Initialization
 
7246
 * init_hdf5()
 
7247
 * import_array()             # <<<<<<<<<<<<<<
 
7248
 * 
 
7249
 * # Runtime imports
 
7250
 */
 
7251
  import_array();
 
7252
 
 
7253
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":32
 
7254
 * 
 
7255
 * # Runtime imports
 
7256
 * from _sync import sync, nosync             # <<<<<<<<<<<<<<
 
7257
 * 
 
7258
 * # === C API ===================================================================
 
7259
 */
 
7260
  __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7261
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7262
  __Pyx_INCREF(__pyx_kp_sync);
 
7263
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_kp_sync);
 
7264
  __Pyx_GIVEREF(__pyx_kp_sync);
 
7265
  __Pyx_INCREF(__pyx_kp_nosync);
 
7266
  PyList_SET_ITEM(__pyx_t_2, 1, __pyx_kp_nosync);
 
7267
  __Pyx_GIVEREF(__pyx_kp_nosync);
 
7268
  __pyx_1 = __Pyx_Import(__pyx_kp__sync, ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7269
  __Pyx_GOTREF(__pyx_1);
 
7270
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7271
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7272
  __Pyx_GOTREF(__pyx_2);
 
7273
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_sync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7274
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7275
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_nosync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7276
  __Pyx_GOTREF(__pyx_2);
 
7277
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_nosync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7278
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7279
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7280
 
 
7281
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":84
 
7282
 * # Property list classes
 
7283
 * # These need to be locked, as the library won't let you close them.
 
7284
 * NO_CLASS       = lockcls(H5P_NO_CLASS)             # <<<<<<<<<<<<<<
 
7285
 * FILE_CREATE    = lockcls(H5P_FILE_CREATE)
 
7286
 * FILE_ACCESS    = lockcls(H5P_FILE_ACCESS)
 
7287
 */
 
7288
  __pyx_t_2 = __pyx_f_4h5py_3h5p_lockcls(H5P_NO_CLASS); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7289
  __Pyx_GOTREF(__pyx_t_2);
 
7290
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NO_CLASS, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7291
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7292
 
 
7293
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":85
 
7294
 * # These need to be locked, as the library won't let you close them.
 
7295
 * NO_CLASS       = lockcls(H5P_NO_CLASS)
 
7296
 * FILE_CREATE    = lockcls(H5P_FILE_CREATE)             # <<<<<<<<<<<<<<
 
7297
 * FILE_ACCESS    = lockcls(H5P_FILE_ACCESS)
 
7298
 * DATASET_CREATE = lockcls(H5P_DATASET_CREATE)
 
7299
 */
 
7300
  __pyx_t_2 = __pyx_f_4h5py_3h5p_lockcls(H5P_FILE_CREATE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7301
  __Pyx_GOTREF(__pyx_t_2);
 
7302
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_FILE_CREATE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7303
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7304
 
 
7305
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":86
 
7306
 * NO_CLASS       = lockcls(H5P_NO_CLASS)
 
7307
 * FILE_CREATE    = lockcls(H5P_FILE_CREATE)
 
7308
 * FILE_ACCESS    = lockcls(H5P_FILE_ACCESS)             # <<<<<<<<<<<<<<
 
7309
 * DATASET_CREATE = lockcls(H5P_DATASET_CREATE)
 
7310
 * DATASET_XFER   = lockcls(H5P_DATASET_XFER)
 
7311
 */
 
7312
  __pyx_t_2 = __pyx_f_4h5py_3h5p_lockcls(H5P_FILE_ACCESS); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7313
  __Pyx_GOTREF(__pyx_t_2);
 
7314
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_FILE_ACCESS, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7315
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7316
 
 
7317
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":87
 
7318
 * FILE_CREATE    = lockcls(H5P_FILE_CREATE)
 
7319
 * FILE_ACCESS    = lockcls(H5P_FILE_ACCESS)
 
7320
 * DATASET_CREATE = lockcls(H5P_DATASET_CREATE)             # <<<<<<<<<<<<<<
 
7321
 * DATASET_XFER   = lockcls(H5P_DATASET_XFER)
 
7322
 * 
 
7323
 */
 
7324
  __pyx_t_2 = __pyx_f_4h5py_3h5p_lockcls(H5P_DATASET_CREATE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7325
  __Pyx_GOTREF(__pyx_t_2);
 
7326
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DATASET_CREATE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7327
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7328
 
 
7329
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":88
 
7330
 * FILE_ACCESS    = lockcls(H5P_FILE_ACCESS)
 
7331
 * DATASET_CREATE = lockcls(H5P_DATASET_CREATE)
 
7332
 * DATASET_XFER   = lockcls(H5P_DATASET_XFER)             # <<<<<<<<<<<<<<
 
7333
 * 
 
7334
 * IF H5PY_18API:
 
7335
 */
 
7336
  __pyx_t_2 = __pyx_f_4h5py_3h5p_lockcls(H5P_DATASET_XFER); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7337
  __Pyx_GOTREF(__pyx_t_2);
 
7338
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DATASET_XFER, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7339
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7340
 
 
7341
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":96
 
7342
 *     GROUP_CREATE = lockcls(H5P_GROUP_CREATE)
 
7343
 * 
 
7344
 * DEFAULT = None   # In the HDF5 header files this is actually 0, which is an             # <<<<<<<<<<<<<<
 
7345
 *                  # invalid identifier.  The new strategy for default options
 
7346
 *                  # is to make them all None, to better match the Python style
 
7347
 */
 
7348
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DEFAULT, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7349
 
 
7350
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":124
 
7351
 *         return propwrap(newid)
 
7352
 * ELSE:
 
7353
 *     @sync             # <<<<<<<<<<<<<<
 
7354
 *     def create(PropClassID cls not None):
 
7355
 *         """(PropClassID cls) => PropID
 
7356
 */
 
7357
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7358
  __Pyx_GOTREF(__pyx_1);
 
7359
 
 
7360
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":125
 
7361
 * ELSE:
 
7362
 *     @sync
 
7363
 *     def create(PropClassID cls not None):             # <<<<<<<<<<<<<<
 
7364
 *         """(PropClassID cls) => PropID
 
7365
 * 
 
7366
 */
 
7367
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_create); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7368
  __Pyx_GOTREF(__pyx_2);
 
7369
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7370
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7371
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7372
  __Pyx_GIVEREF(__pyx_2);
 
7373
  __pyx_2 = 0;
 
7374
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7375
  __Pyx_GOTREF(__pyx_t_3);
 
7376
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7377
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7378
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_create, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7379
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7380
 
 
7381
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":147
 
7382
 *     """
 
7383
 * 
 
7384
 *     @sync             # <<<<<<<<<<<<<<
 
7385
 *     def equal(self, PropID plist not None):
 
7386
 *         """(PropID plist) => BOOL
 
7387
 */
 
7388
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7389
  __Pyx_GOTREF(__pyx_2);
 
7390
 
 
7391
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":148
 
7392
 * 
 
7393
 *     @sync
 
7394
 *     def equal(self, PropID plist not None):             # <<<<<<<<<<<<<<
 
7395
 *         """(PropID plist) => BOOL
 
7396
 * 
 
7397
 */
 
7398
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropID, __pyx_kp_equal); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7399
  __Pyx_GOTREF(__pyx_1);
 
7400
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7401
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7402
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7403
  __Pyx_GIVEREF(__pyx_1);
 
7404
  __pyx_1 = 0;
 
7405
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7406
  __Pyx_GOTREF(__pyx_t_2);
 
7407
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7408
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7409
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropID->tp_dict, __pyx_kp_equal, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7410
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7411
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropID);
 
7412
 
 
7413
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":197
 
7414
 *     """
 
7415
 * 
 
7416
 *     @sync             # <<<<<<<<<<<<<<
 
7417
 *     def copy(self):
 
7418
 *         """() => PropList newid
 
7419
 */
 
7420
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7421
  __Pyx_GOTREF(__pyx_1);
 
7422
 
 
7423
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":198
 
7424
 * 
 
7425
 *     @sync
 
7426
 *     def copy(self):             # <<<<<<<<<<<<<<
 
7427
 *         """() => PropList newid
 
7428
 * 
 
7429
 */
 
7430
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID, __pyx_kp_copy); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7431
  __Pyx_GOTREF(__pyx_2);
 
7432
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7433
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7434
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7435
  __Pyx_GIVEREF(__pyx_2);
 
7436
  __pyx_2 = 0;
 
7437
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7438
  __Pyx_GOTREF(__pyx_t_3);
 
7439
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7440
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7441
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID->tp_dict, __pyx_kp_copy, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7442
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7443
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropInstanceID);
 
7444
 
 
7445
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":205
 
7446
 *         return type(self)(H5Pcopy(self.id))
 
7447
 * 
 
7448
 *     @sync             # <<<<<<<<<<<<<<
 
7449
 *     def _close(self):
 
7450
 *         """()
 
7451
 */
 
7452
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7453
  __Pyx_GOTREF(__pyx_2);
 
7454
 
 
7455
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":206
 
7456
 * 
 
7457
 *     @sync
 
7458
 *     def _close(self):             # <<<<<<<<<<<<<<
 
7459
 *         """()
 
7460
 * 
 
7461
 */
 
7462
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID, __pyx_kp__close); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7463
  __Pyx_GOTREF(__pyx_1);
 
7464
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7465
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7466
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7467
  __Pyx_GIVEREF(__pyx_1);
 
7468
  __pyx_1 = 0;
 
7469
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7470
  __Pyx_GOTREF(__pyx_t_2);
 
7471
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7472
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7473
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID->tp_dict, __pyx_kp__close, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7474
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7475
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropInstanceID);
 
7476
 
 
7477
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":215
 
7478
 *         H5Pclose(self.id)
 
7479
 * 
 
7480
 *     @sync             # <<<<<<<<<<<<<<
 
7481
 *     def get_class(self):
 
7482
 *         """() => PropClassID
 
7483
 */
 
7484
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7485
  __Pyx_GOTREF(__pyx_1);
 
7486
 
 
7487
  /* "/home/tachyon/pydev/h5py/h5py/h5p.pyx":216
 
7488
 * 
 
7489
 *     @sync
 
7490
 *     def get_class(self):             # <<<<<<<<<<<<<<
 
7491
 *         """() => PropClassID
 
7492
 * 
 
7493
 */
 
7494
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID, __pyx_kp_get_class); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7495
  __Pyx_GOTREF(__pyx_2);
 
7496
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7497
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7498
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7499
  __Pyx_GIVEREF(__pyx_2);
 
7500
  __pyx_2 = 0;
 
7501
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7502
  __Pyx_GOTREF(__pyx_t_3);
 
7503
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7504
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7505
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropInstanceID->tp_dict, __pyx_kp_get_class, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7506
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7507
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropInstanceID);
 
7508
 
 
7509
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":19
 
7510
 *     """
 
7511
 * 
 
7512
 *     @sync             # <<<<<<<<<<<<<<
 
7513
 *     def get_version(self):
 
7514
 *         """() => TUPLE version_info
 
7515
 */
 
7516
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7517
  __Pyx_GOTREF(__pyx_2);
 
7518
 
 
7519
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":20
 
7520
 * 
 
7521
 *     @sync
 
7522
 *     def get_version(self):             # <<<<<<<<<<<<<<
 
7523
 *         """() => TUPLE version_info
 
7524
 * 
 
7525
 */
 
7526
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID, __pyx_kp_get_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7527
  __Pyx_GOTREF(__pyx_1);
 
7528
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7529
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7530
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7531
  __Pyx_GIVEREF(__pyx_1);
 
7532
  __pyx_1 = 0;
 
7533
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7534
  __Pyx_GOTREF(__pyx_t_2);
 
7535
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7536
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7537
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID->tp_dict, __pyx_kp_get_version, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7538
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7539
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFCID);
 
7540
 
 
7541
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":41
 
7542
 *         return (super_, freelist, stab, shhdr)
 
7543
 * 
 
7544
 *     @sync             # <<<<<<<<<<<<<<
 
7545
 *     def set_userblock(self, hsize_t size):
 
7546
 *         """(INT/LONG size)
 
7547
 */
 
7548
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7549
  __Pyx_GOTREF(__pyx_1);
 
7550
 
 
7551
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":42
 
7552
 * 
 
7553
 *     @sync
 
7554
 *     def set_userblock(self, hsize_t size):             # <<<<<<<<<<<<<<
 
7555
 *         """(INT/LONG size)
 
7556
 * 
 
7557
 */
 
7558
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID, __pyx_kp_set_userblock); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7559
  __Pyx_GOTREF(__pyx_2);
 
7560
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7561
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7562
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7563
  __Pyx_GIVEREF(__pyx_2);
 
7564
  __pyx_2 = 0;
 
7565
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7566
  __Pyx_GOTREF(__pyx_t_3);
 
7567
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7568
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7569
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID->tp_dict, __pyx_kp_set_userblock, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7570
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7571
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFCID);
 
7572
 
 
7573
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":50
 
7574
 *         H5Pset_userblock(self.id, size)
 
7575
 * 
 
7576
 *     @sync             # <<<<<<<<<<<<<<
 
7577
 *     def get_userblock(self):
 
7578
 *         """() => LONG size
 
7579
 */
 
7580
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7581
  __Pyx_GOTREF(__pyx_2);
 
7582
 
 
7583
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":51
 
7584
 * 
 
7585
 *     @sync
 
7586
 *     def get_userblock(self):             # <<<<<<<<<<<<<<
 
7587
 *         """() => LONG size
 
7588
 * 
 
7589
 */
 
7590
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID, __pyx_kp_get_userblock); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7591
  __Pyx_GOTREF(__pyx_1);
 
7592
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7593
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7594
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7595
  __Pyx_GIVEREF(__pyx_1);
 
7596
  __pyx_1 = 0;
 
7597
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7598
  __Pyx_GOTREF(__pyx_t_2);
 
7599
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7600
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7601
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID->tp_dict, __pyx_kp_get_userblock, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7602
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7603
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFCID);
 
7604
 
 
7605
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":60
 
7606
 *         return size
 
7607
 * 
 
7608
 *     @sync             # <<<<<<<<<<<<<<
 
7609
 *     def set_sizes(self, size_t addr, size_t size):
 
7610
 *         """(UINT addr, UINT size)
 
7611
 */
 
7612
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7613
  __Pyx_GOTREF(__pyx_1);
 
7614
 
 
7615
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":61
 
7616
 * 
 
7617
 *     @sync
 
7618
 *     def set_sizes(self, size_t addr, size_t size):             # <<<<<<<<<<<<<<
 
7619
 *         """(UINT addr, UINT size)
 
7620
 * 
 
7621
 */
 
7622
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID, __pyx_kp_set_sizes); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7623
  __Pyx_GOTREF(__pyx_2);
 
7624
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7625
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7626
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7627
  __Pyx_GIVEREF(__pyx_2);
 
7628
  __pyx_2 = 0;
 
7629
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7630
  __Pyx_GOTREF(__pyx_t_3);
 
7631
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7632
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7633
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID->tp_dict, __pyx_kp_set_sizes, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7634
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7635
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFCID);
 
7636
 
 
7637
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":69
 
7638
 *         H5Pset_sizes(self.id, addr, size)
 
7639
 * 
 
7640
 *     @sync             # <<<<<<<<<<<<<<
 
7641
 *     def get_sizes(self):
 
7642
 *         """() => TUPLE sizes
 
7643
 */
 
7644
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7645
  __Pyx_GOTREF(__pyx_2);
 
7646
 
 
7647
  /* "/home/tachyon/pydev/h5py/h5py/h5p_fcid.pxi":70
 
7648
 * 
 
7649
 *     @sync
 
7650
 *     def get_sizes(self):             # <<<<<<<<<<<<<<
 
7651
 *         """() => TUPLE sizes
 
7652
 * 
 
7653
 */
 
7654
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID, __pyx_kp_get_sizes); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7655
  __Pyx_GOTREF(__pyx_1);
 
7656
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7657
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7658
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7659
  __Pyx_GIVEREF(__pyx_1);
 
7660
  __pyx_1 = 0;
 
7661
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7662
  __Pyx_GOTREF(__pyx_t_2);
 
7663
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7664
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7665
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFCID->tp_dict, __pyx_kp_get_sizes, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7666
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7667
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFCID);
 
7668
 
 
7669
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":19
 
7670
 *     """
 
7671
 * 
 
7672
 *     @sync             # <<<<<<<<<<<<<<
 
7673
 *     def set_layout(self, int layout_code):
 
7674
 *         """(INT layout_code)
 
7675
 */
 
7676
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7677
  __Pyx_GOTREF(__pyx_1);
 
7678
 
 
7679
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":20
 
7680
 * 
 
7681
 *     @sync
 
7682
 *     def set_layout(self, int layout_code):             # <<<<<<<<<<<<<<
 
7683
 *         """(INT layout_code)
 
7684
 * 
 
7685
 */
 
7686
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_layout); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7687
  __Pyx_GOTREF(__pyx_2);
 
7688
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7689
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7690
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7691
  __Pyx_GIVEREF(__pyx_2);
 
7692
  __pyx_2 = 0;
 
7693
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7694
  __Pyx_GOTREF(__pyx_t_3);
 
7695
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7696
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7697
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_layout, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7698
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7699
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7700
 
 
7701
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":31
 
7702
 *         H5Pset_layout(self.id, layout_code)
 
7703
 * 
 
7704
 *     @sync             # <<<<<<<<<<<<<<
 
7705
 *     def get_layout(self):
 
7706
 *         """() => INT layout_code
 
7707
 */
 
7708
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7709
  __Pyx_GOTREF(__pyx_2);
 
7710
 
 
7711
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":32
 
7712
 * 
 
7713
 *     @sync
 
7714
 *     def get_layout(self):             # <<<<<<<<<<<<<<
 
7715
 *         """() => INT layout_code
 
7716
 * 
 
7717
 */
 
7718
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_layout); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7719
  __Pyx_GOTREF(__pyx_1);
 
7720
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7721
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7722
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7723
  __Pyx_GIVEREF(__pyx_1);
 
7724
  __pyx_1 = 0;
 
7725
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7726
  __Pyx_GOTREF(__pyx_t_2);
 
7727
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7728
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7729
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_layout, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7730
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7731
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7732
 
 
7733
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":43
 
7734
 *         return <int>H5Pget_layout(self.id)
 
7735
 * 
 
7736
 *     @sync             # <<<<<<<<<<<<<<
 
7737
 *     def set_chunk(self, object chunksize):
 
7738
 *         """(TUPLE chunksize)
 
7739
 */
 
7740
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7741
  __Pyx_GOTREF(__pyx_1);
 
7742
 
 
7743
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":44
 
7744
 * 
 
7745
 *     @sync
 
7746
 *     def set_chunk(self, object chunksize):             # <<<<<<<<<<<<<<
 
7747
 *         """(TUPLE chunksize)
 
7748
 * 
 
7749
 */
 
7750
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_chunk); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7751
  __Pyx_GOTREF(__pyx_2);
 
7752
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7753
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7754
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7755
  __Pyx_GIVEREF(__pyx_2);
 
7756
  __pyx_2 = 0;
 
7757
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7758
  __Pyx_GOTREF(__pyx_t_3);
 
7759
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7760
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7761
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_chunk, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7762
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7763
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7764
 
 
7765
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":64
 
7766
 *             efree(dims)
 
7767
 * 
 
7768
 *     @sync             # <<<<<<<<<<<<<<
 
7769
 *     def get_chunk(self):
 
7770
 *         """() => TUPLE chunk_dimensions
 
7771
 */
 
7772
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7773
  __Pyx_GOTREF(__pyx_2);
 
7774
 
 
7775
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":65
 
7776
 * 
 
7777
 *     @sync
 
7778
 *     def get_chunk(self):             # <<<<<<<<<<<<<<
 
7779
 *         """() => TUPLE chunk_dimensions
 
7780
 * 
 
7781
 */
 
7782
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_chunk); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7783
  __Pyx_GOTREF(__pyx_1);
 
7784
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7785
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7786
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7787
  __Pyx_GIVEREF(__pyx_1);
 
7788
  __pyx_1 = 0;
 
7789
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7790
  __Pyx_GOTREF(__pyx_t_2);
 
7791
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7792
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7793
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_chunk, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7794
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7795
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7796
 
 
7797
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":84
 
7798
 *             efree(dims)
 
7799
 * 
 
7800
 *     @sync             # <<<<<<<<<<<<<<
 
7801
 *     def set_fill_value(self, ndarray value not None):
 
7802
 *         """(NDARRAY value)
 
7803
 */
 
7804
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7805
  __Pyx_GOTREF(__pyx_1);
 
7806
 
 
7807
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":85
 
7808
 * 
 
7809
 *     @sync
 
7810
 *     def set_fill_value(self, ndarray value not None):             # <<<<<<<<<<<<<<
 
7811
 *         """(NDARRAY value)
 
7812
 * 
 
7813
 */
 
7814
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_fill_value); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7815
  __Pyx_GOTREF(__pyx_2);
 
7816
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7817
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7818
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7819
  __Pyx_GIVEREF(__pyx_2);
 
7820
  __pyx_2 = 0;
 
7821
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7822
  __Pyx_GOTREF(__pyx_t_3);
 
7823
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7824
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7825
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_fill_value, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7826
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7827
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7828
 
 
7829
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":98
 
7830
 *         H5Pset_fill_value(self.id, tid.id, value.data)
 
7831
 * 
 
7832
 *     @sync             # <<<<<<<<<<<<<<
 
7833
 *     def get_fill_value(self, ndarray value not None):
 
7834
 *         """(NDARRAY value)
 
7835
 */
 
7836
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7837
  __Pyx_GOTREF(__pyx_2);
 
7838
 
 
7839
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":99
 
7840
 * 
 
7841
 *     @sync
 
7842
 *     def get_fill_value(self, ndarray value not None):             # <<<<<<<<<<<<<<
 
7843
 *         """(NDARRAY value)
 
7844
 * 
 
7845
 */
 
7846
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_fill_value); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7847
  __Pyx_GOTREF(__pyx_1);
 
7848
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7849
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7850
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7851
  __Pyx_GIVEREF(__pyx_1);
 
7852
  __pyx_1 = 0;
 
7853
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7854
  __Pyx_GOTREF(__pyx_t_2);
 
7855
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7856
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7857
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_fill_value, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7858
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7859
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7860
 
 
7861
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":112
 
7862
 *         H5Pget_fill_value(self.id, tid.id, value.data)
 
7863
 * 
 
7864
 *     @sync             # <<<<<<<<<<<<<<
 
7865
 *     def fill_value_defined(self):
 
7866
 *         """() => INT fill_status
 
7867
 */
 
7868
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7869
  __Pyx_GOTREF(__pyx_1);
 
7870
 
 
7871
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":113
 
7872
 * 
 
7873
 *     @sync
 
7874
 *     def fill_value_defined(self):             # <<<<<<<<<<<<<<
 
7875
 *         """() => INT fill_status
 
7876
 * 
 
7877
 */
 
7878
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_fill_value_defined); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7879
  __Pyx_GOTREF(__pyx_2);
 
7880
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7881
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7882
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7883
  __Pyx_GIVEREF(__pyx_2);
 
7884
  __pyx_2 = 0;
 
7885
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7886
  __Pyx_GOTREF(__pyx_t_3);
 
7887
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7888
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7889
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_fill_value_defined, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7890
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7891
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7892
 
 
7893
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":126
 
7894
 *         return <int>val
 
7895
 * 
 
7896
 *     @sync             # <<<<<<<<<<<<<<
 
7897
 *     def set_fill_time(self, int fill_time):
 
7898
 *         """(INT fill_time)
 
7899
 */
 
7900
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7901
  __Pyx_GOTREF(__pyx_2);
 
7902
 
 
7903
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":127
 
7904
 * 
 
7905
 *     @sync
 
7906
 *     def set_fill_time(self, int fill_time):             # <<<<<<<<<<<<<<
 
7907
 *         """(INT fill_time)
 
7908
 * 
 
7909
 */
 
7910
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_fill_time); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7911
  __Pyx_GOTREF(__pyx_1);
 
7912
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7913
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7914
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7915
  __Pyx_GIVEREF(__pyx_1);
 
7916
  __pyx_1 = 0;
 
7917
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7918
  __Pyx_GOTREF(__pyx_t_2);
 
7919
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7920
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7921
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_fill_time, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7922
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7923
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7924
 
 
7925
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":139
 
7926
 *         H5Pset_fill_time(self.id, <H5D_fill_time_t>fill_time)
 
7927
 * 
 
7928
 *     @sync             # <<<<<<<<<<<<<<
 
7929
 *     def get_fill_time(self):
 
7930
 *         """ () => INT
 
7931
 */
 
7932
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7933
  __Pyx_GOTREF(__pyx_1);
 
7934
 
 
7935
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":140
 
7936
 * 
 
7937
 *     @sync
 
7938
 *     def get_fill_time(self):             # <<<<<<<<<<<<<<
 
7939
 *         """ () => INT
 
7940
 * 
 
7941
 */
 
7942
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_fill_time); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7943
  __Pyx_GOTREF(__pyx_2);
 
7944
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7945
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
7946
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
7947
  __Pyx_GIVEREF(__pyx_2);
 
7948
  __pyx_2 = 0;
 
7949
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7950
  __Pyx_GOTREF(__pyx_t_3);
 
7951
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
7952
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7953
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_fill_time, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7954
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7955
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7956
 
 
7957
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":154
 
7958
 *         return <int>fill_time
 
7959
 * 
 
7960
 *     @sync             # <<<<<<<<<<<<<<
 
7961
 *     def set_alloc_time(self, int alloc_time):
 
7962
 *         """(INT alloc_time)
 
7963
 */
 
7964
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7965
  __Pyx_GOTREF(__pyx_2);
 
7966
 
 
7967
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":155
 
7968
 * 
 
7969
 *     @sync
 
7970
 *     def set_alloc_time(self, int alloc_time):             # <<<<<<<<<<<<<<
 
7971
 *         """(INT alloc_time)
 
7972
 * 
 
7973
 */
 
7974
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_alloc_time); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7975
  __Pyx_GOTREF(__pyx_1);
 
7976
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7977
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
7978
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
7979
  __Pyx_GIVEREF(__pyx_1);
 
7980
  __pyx_1 = 0;
 
7981
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7982
  __Pyx_GOTREF(__pyx_t_2);
 
7983
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
7984
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
7985
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_alloc_time, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7986
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
7987
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
7988
 
 
7989
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":162
 
7990
 *         H5Pset_alloc_time(self.id, <H5D_alloc_time_t>alloc_time)
 
7991
 * 
 
7992
 *     @sync             # <<<<<<<<<<<<<<
 
7993
 *     def get_alloc_time(self):
 
7994
 *         """() => INT alloc_time
 
7995
 */
 
7996
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7997
  __Pyx_GOTREF(__pyx_1);
 
7998
 
 
7999
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":163
 
8000
 * 
 
8001
 *     @sync
 
8002
 *     def get_alloc_time(self):             # <<<<<<<<<<<<<<
 
8003
 *         """() => INT alloc_time
 
8004
 * 
 
8005
 */
 
8006
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_alloc_time); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8007
  __Pyx_GOTREF(__pyx_2);
 
8008
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8009
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8010
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8011
  __Pyx_GIVEREF(__pyx_2);
 
8012
  __pyx_2 = 0;
 
8013
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8014
  __Pyx_GOTREF(__pyx_t_3);
 
8015
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8016
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8017
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_alloc_time, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8018
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8019
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8020
 
 
8021
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":175
 
8022
 *     # === Filter functions ====================================================
 
8023
 * 
 
8024
 *     @sync             # <<<<<<<<<<<<<<
 
8025
 *     def set_filter(self, int filter_code, unsigned int flags=0, object values=None):
 
8026
 *         """(INT filter_code, UINT flags=0, TUPLE values=None)
 
8027
 */
 
8028
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8029
  __Pyx_GOTREF(__pyx_2);
 
8030
 
 
8031
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":176
 
8032
 * 
 
8033
 *     @sync
 
8034
 *     def set_filter(self, int filter_code, unsigned int flags=0, object values=None):             # <<<<<<<<<<<<<<
 
8035
 *         """(INT filter_code, UINT flags=0, TUPLE values=None)
 
8036
 * 
 
8037
 */
 
8038
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_filter); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8039
  __Pyx_GOTREF(__pyx_1);
 
8040
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8041
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8042
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8043
  __Pyx_GIVEREF(__pyx_1);
 
8044
  __pyx_1 = 0;
 
8045
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8046
  __Pyx_GOTREF(__pyx_t_2);
 
8047
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8048
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8049
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_filter, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8050
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8051
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8052
 
 
8053
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":217
 
8054
 *             efree(cd_values)
 
8055
 * 
 
8056
 *     @sync             # <<<<<<<<<<<<<<
 
8057
 *     def all_filters_avail(self):
 
8058
 *         """() => BOOL
 
8059
 */
 
8060
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8061
  __Pyx_GOTREF(__pyx_1);
 
8062
 
 
8063
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":218
 
8064
 * 
 
8065
 *     @sync
 
8066
 *     def all_filters_avail(self):             # <<<<<<<<<<<<<<
 
8067
 *         """() => BOOL
 
8068
 * 
 
8069
 */
 
8070
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_all_filters_avail); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8071
  __Pyx_GOTREF(__pyx_2);
 
8072
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8073
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8074
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8075
  __Pyx_GIVEREF(__pyx_2);
 
8076
  __pyx_2 = 0;
 
8077
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8078
  __Pyx_GOTREF(__pyx_t_3);
 
8079
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8080
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8081
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_all_filters_avail, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8082
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8083
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8084
 
 
8085
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":226
 
8086
 *         return <bint>(H5Pall_filters_avail(self.id))
 
8087
 * 
 
8088
 *     @sync             # <<<<<<<<<<<<<<
 
8089
 *     def get_nfilters(self):
 
8090
 *         """() => INT
 
8091
 */
 
8092
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8093
  __Pyx_GOTREF(__pyx_2);
 
8094
 
 
8095
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":227
 
8096
 * 
 
8097
 *     @sync
 
8098
 *     def get_nfilters(self):             # <<<<<<<<<<<<<<
 
8099
 *         """() => INT
 
8100
 * 
 
8101
 */
 
8102
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_nfilters); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8103
  __Pyx_GOTREF(__pyx_1);
 
8104
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8105
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8106
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8107
  __Pyx_GIVEREF(__pyx_1);
 
8108
  __pyx_1 = 0;
 
8109
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8110
  __Pyx_GOTREF(__pyx_t_2);
 
8111
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8112
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8113
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_nfilters, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8114
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8115
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8116
 
 
8117
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":234
 
8118
 *         return H5Pget_nfilters(self.id)
 
8119
 * 
 
8120
 *     @sync             # <<<<<<<<<<<<<<
 
8121
 *     def get_filter(self, int filter_idx):
 
8122
 *         """(UINT filter_idx) => TUPLE filter_info
 
8123
 */
 
8124
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8125
  __Pyx_GOTREF(__pyx_1);
 
8126
 
 
8127
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":235
 
8128
 * 
 
8129
 *     @sync
 
8130
 *     def get_filter(self, int filter_idx):             # <<<<<<<<<<<<<<
 
8131
 *         """(UINT filter_idx) => TUPLE filter_info
 
8132
 * 
 
8133
 */
 
8134
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_filter); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8135
  __Pyx_GOTREF(__pyx_2);
 
8136
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8137
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8138
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8139
  __Pyx_GIVEREF(__pyx_2);
 
8140
  __pyx_2 = 0;
 
8141
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8142
  __Pyx_GOTREF(__pyx_t_3);
 
8143
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8144
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8145
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_filter, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8146
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8147
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8148
 
 
8149
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":268
 
8150
 *         return (filter_code, flags, tuple(vlist), name)
 
8151
 * 
 
8152
 *     @sync             # <<<<<<<<<<<<<<
 
8153
 *     def _has_filter(self, int filter_code):
 
8154
 *         """(INT filter_code)
 
8155
 */
 
8156
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8157
  __Pyx_GOTREF(__pyx_2);
 
8158
 
 
8159
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":269
 
8160
 * 
 
8161
 *     @sync
 
8162
 *     def _has_filter(self, int filter_code):             # <<<<<<<<<<<<<<
 
8163
 *         """(INT filter_code)
 
8164
 * 
 
8165
 */
 
8166
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp__has_filter); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8167
  __Pyx_GOTREF(__pyx_1);
 
8168
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8169
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8170
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8171
  __Pyx_GIVEREF(__pyx_1);
 
8172
  __pyx_1 = 0;
 
8173
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8174
  __Pyx_GOTREF(__pyx_t_2);
 
8175
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8176
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8177
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp__has_filter, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8178
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8179
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8180
 
 
8181
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":283
 
8182
 *         return False
 
8183
 * 
 
8184
 *     @sync             # <<<<<<<<<<<<<<
 
8185
 *     def get_filter_by_id(self, int filter_code):
 
8186
 *         """(INT filter_code) => TUPLE filter_info or None
 
8187
 */
 
8188
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8189
  __Pyx_GOTREF(__pyx_1);
 
8190
 
 
8191
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":284
 
8192
 * 
 
8193
 *     @sync
 
8194
 *     def get_filter_by_id(self, int filter_code):             # <<<<<<<<<<<<<<
 
8195
 *         """(INT filter_code) => TUPLE filter_info or None
 
8196
 * 
 
8197
 */
 
8198
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_get_filter_by_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8199
  __Pyx_GOTREF(__pyx_2);
 
8200
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8201
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8202
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8203
  __Pyx_GIVEREF(__pyx_2);
 
8204
  __pyx_2 = 0;
 
8205
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8206
  __Pyx_GOTREF(__pyx_t_3);
 
8207
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8208
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8209
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_get_filter_by_id, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8210
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8211
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8212
 
 
8213
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":320
 
8214
 *         return (flags, tuple(vlist), name)
 
8215
 * 
 
8216
 *     @sync             # <<<<<<<<<<<<<<
 
8217
 *     def remove_filter(self, int filter_class):
 
8218
 *         """(INT filter_class)
 
8219
 */
 
8220
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8221
  __Pyx_GOTREF(__pyx_2);
 
8222
 
 
8223
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":321
 
8224
 * 
 
8225
 *     @sync
 
8226
 *     def remove_filter(self, int filter_class):             # <<<<<<<<<<<<<<
 
8227
 *         """(INT filter_class)
 
8228
 * 
 
8229
 */
 
8230
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_remove_filter); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8231
  __Pyx_GOTREF(__pyx_1);
 
8232
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8233
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8234
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8235
  __Pyx_GIVEREF(__pyx_1);
 
8236
  __pyx_1 = 0;
 
8237
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8238
  __Pyx_GOTREF(__pyx_t_2);
 
8239
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8240
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8241
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_remove_filter, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8242
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8243
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8244
 
 
8245
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":329
 
8246
 *         H5Premove_filter(self.id, <H5Z_filter_t>filter_class)
 
8247
 * 
 
8248
 *     @sync             # <<<<<<<<<<<<<<
 
8249
 *     def set_deflate(self, unsigned int level=5):
 
8250
 *         """(UINT level=5)
 
8251
 */
 
8252
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8253
  __Pyx_GOTREF(__pyx_1);
 
8254
 
 
8255
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":330
 
8256
 * 
 
8257
 *     @sync
 
8258
 *     def set_deflate(self, unsigned int level=5):             # <<<<<<<<<<<<<<
 
8259
 *         """(UINT level=5)
 
8260
 * 
 
8261
 */
 
8262
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_deflate); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8263
  __Pyx_GOTREF(__pyx_2);
 
8264
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8265
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8266
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8267
  __Pyx_GIVEREF(__pyx_2);
 
8268
  __pyx_2 = 0;
 
8269
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8270
  __Pyx_GOTREF(__pyx_t_3);
 
8271
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8272
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8273
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_deflate, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8274
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8275
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8276
 
 
8277
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":338
 
8278
 *         H5Pset_deflate(self.id, level)
 
8279
 * 
 
8280
 *     @sync             # <<<<<<<<<<<<<<
 
8281
 *     def set_fletcher32(self):
 
8282
 *         """()
 
8283
 */
 
8284
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8285
  __Pyx_GOTREF(__pyx_2);
 
8286
 
 
8287
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":339
 
8288
 * 
 
8289
 *     @sync
 
8290
 *     def set_fletcher32(self):             # <<<<<<<<<<<<<<
 
8291
 *         """()
 
8292
 * 
 
8293
 */
 
8294
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_230); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8295
  __Pyx_GOTREF(__pyx_1);
 
8296
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8297
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8298
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8299
  __Pyx_GIVEREF(__pyx_1);
 
8300
  __pyx_1 = 0;
 
8301
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8302
  __Pyx_GOTREF(__pyx_t_2);
 
8303
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8304
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8305
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_230, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8306
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8307
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8308
 
 
8309
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":346
 
8310
 *         H5Pset_fletcher32(self.id)
 
8311
 * 
 
8312
 *     @sync             # <<<<<<<<<<<<<<
 
8313
 *     def set_shuffle(self):
 
8314
 *         """()
 
8315
 */
 
8316
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8317
  __Pyx_GOTREF(__pyx_1);
 
8318
 
 
8319
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":347
 
8320
 * 
 
8321
 *     @sync
 
8322
 *     def set_shuffle(self):             # <<<<<<<<<<<<<<
 
8323
 *         """()
 
8324
 * 
 
8325
 */
 
8326
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_shuffle); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8327
  __Pyx_GOTREF(__pyx_2);
 
8328
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8329
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8330
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8331
  __Pyx_GIVEREF(__pyx_2);
 
8332
  __pyx_2 = 0;
 
8333
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8334
  __Pyx_GOTREF(__pyx_t_3);
 
8335
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8336
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8337
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_shuffle, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8338
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8339
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8340
 
 
8341
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":355
 
8342
 *         H5Pset_shuffle(self.id)
 
8343
 * 
 
8344
 *     @sync             # <<<<<<<<<<<<<<
 
8345
 *     def set_szip(self, unsigned int options, unsigned int pixels_per_block):
 
8346
 *         """(UINT options, UINT pixels_per_block)
 
8347
 */
 
8348
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8349
  __Pyx_GOTREF(__pyx_2);
 
8350
 
 
8351
  /* "/home/tachyon/pydev/h5py/h5py/h5p_dcid.pxi":356
 
8352
 * 
 
8353
 *     @sync
 
8354
 *     def set_szip(self, unsigned int options, unsigned int pixels_per_block):             # <<<<<<<<<<<<<<
 
8355
 *         """(UINT options, UINT pixels_per_block)
 
8356
 * 
 
8357
 */
 
8358
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID, __pyx_kp_set_szip); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8359
  __Pyx_GOTREF(__pyx_1);
 
8360
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8361
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8362
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8363
  __Pyx_GIVEREF(__pyx_1);
 
8364
  __pyx_1 = 0;
 
8365
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8366
  __Pyx_GOTREF(__pyx_t_2);
 
8367
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8368
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8369
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropDCID->tp_dict, __pyx_kp_set_szip, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8370
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8371
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropDCID);
 
8372
 
 
8373
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":19
 
8374
 *     """
 
8375
 * 
 
8376
 *     @sync             # <<<<<<<<<<<<<<
 
8377
 *     def set_fclose_degree(self, int close_degree):
 
8378
 *         """(INT close_degree)
 
8379
 */
 
8380
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8381
  __Pyx_GOTREF(__pyx_1);
 
8382
 
 
8383
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":20
 
8384
 * 
 
8385
 *     @sync
 
8386
 *     def set_fclose_degree(self, int close_degree):             # <<<<<<<<<<<<<<
 
8387
 *         """(INT close_degree)
 
8388
 * 
 
8389
 */
 
8390
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_fclose_degree); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8391
  __Pyx_GOTREF(__pyx_2);
 
8392
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8393
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8394
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8395
  __Pyx_GIVEREF(__pyx_2);
 
8396
  __pyx_2 = 0;
 
8397
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8398
  __Pyx_GOTREF(__pyx_t_3);
 
8399
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8400
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8401
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_fclose_degree, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8402
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8403
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8404
 
 
8405
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":33
 
8406
 *         H5Pset_fclose_degree(self.id, <H5F_close_degree_t>close_degree)
 
8407
 * 
 
8408
 *     @sync             # <<<<<<<<<<<<<<
 
8409
 *     def get_fclose_degree(self):
 
8410
 *         """() => INT close_degree
 
8411
 */
 
8412
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8413
  __Pyx_GOTREF(__pyx_2);
 
8414
 
 
8415
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":34
 
8416
 * 
 
8417
 *     @sync
 
8418
 *     def get_fclose_degree(self):             # <<<<<<<<<<<<<<
 
8419
 *         """() => INT close_degree
 
8420
 *         - h5fd.
 
8421
 */
 
8422
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_fclose_degree); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8423
  __Pyx_GOTREF(__pyx_1);
 
8424
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8425
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8426
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8427
  __Pyx_GIVEREF(__pyx_1);
 
8428
  __pyx_1 = 0;
 
8429
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8430
  __Pyx_GOTREF(__pyx_t_2);
 
8431
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8432
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8433
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_fclose_degree, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8434
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8435
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8436
 
 
8437
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":49
 
8438
 *         return deg
 
8439
 * 
 
8440
 *     @sync             # <<<<<<<<<<<<<<
 
8441
 *     def set_fapl_core(self, size_t block_size=1024*1024, hbool_t backing_store=1):
 
8442
 *         """(UINT increment=1M, BOOL backing_store=True)
 
8443
 */
 
8444
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8445
  __Pyx_GOTREF(__pyx_1);
 
8446
 
 
8447
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":50
 
8448
 * 
 
8449
 *     @sync
 
8450
 *     def set_fapl_core(self, size_t block_size=1024*1024, hbool_t backing_store=1):             # <<<<<<<<<<<<<<
 
8451
 *         """(UINT increment=1M, BOOL backing_store=True)
 
8452
 * 
 
8453
 */
 
8454
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_fapl_core); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8455
  __Pyx_GOTREF(__pyx_2);
 
8456
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8457
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8458
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8459
  __Pyx_GIVEREF(__pyx_2);
 
8460
  __pyx_2 = 0;
 
8461
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8462
  __Pyx_GOTREF(__pyx_t_3);
 
8463
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8464
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8465
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_fapl_core, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8466
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8467
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8468
 
 
8469
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":65
 
8470
 *         H5Pset_fapl_core(self.id, block_size, backing_store)
 
8471
 * 
 
8472
 *     @sync             # <<<<<<<<<<<<<<
 
8473
 *     def get_fapl_core(self):
 
8474
 *         """() => TUPLE core_settings
 
8475
 */
 
8476
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8477
  __Pyx_GOTREF(__pyx_2);
 
8478
 
 
8479
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":66
 
8480
 * 
 
8481
 *     @sync
 
8482
 *     def get_fapl_core(self):             # <<<<<<<<<<<<<<
 
8483
 *         """() => TUPLE core_settings
 
8484
 * 
 
8485
 */
 
8486
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_fapl_core); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8487
  __Pyx_GOTREF(__pyx_1);
 
8488
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8489
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8490
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8491
  __Pyx_GIVEREF(__pyx_1);
 
8492
  __pyx_1 = 0;
 
8493
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8494
  __Pyx_GOTREF(__pyx_t_2);
 
8495
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8496
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8497
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_fapl_core, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8498
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8499
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8500
 
 
8501
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":81
 
8502
 *         return (increment, <bint>(backing_store))
 
8503
 * 
 
8504
 *     @sync             # <<<<<<<<<<<<<<
 
8505
 *     def set_fapl_family(self, hsize_t memb_size=2147483647, PropID memb_fapl=None):
 
8506
 *         """(UINT memb_size=2**31-1, PropFAID memb_fapl=None)
 
8507
 */
 
8508
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8509
  __Pyx_GOTREF(__pyx_1);
 
8510
 
 
8511
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":82
 
8512
 * 
 
8513
 *     @sync
 
8514
 *     def set_fapl_family(self, hsize_t memb_size=2147483647, PropID memb_fapl=None):             # <<<<<<<<<<<<<<
 
8515
 *         """(UINT memb_size=2**31-1, PropFAID memb_fapl=None)
 
8516
 * 
 
8517
 */
 
8518
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_fapl_family); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8519
  __Pyx_GOTREF(__pyx_2);
 
8520
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8521
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8522
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8523
  __Pyx_GIVEREF(__pyx_2);
 
8524
  __pyx_2 = 0;
 
8525
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8526
  __Pyx_GOTREF(__pyx_t_3);
 
8527
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8528
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8529
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_fapl_family, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8530
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8531
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8532
 
 
8533
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":97
 
8534
 *         H5Pset_fapl_family(self.id, memb_size, plist_id)
 
8535
 * 
 
8536
 *     @sync             # <<<<<<<<<<<<<<
 
8537
 *     def get_fapl_family(self):
 
8538
 *         """() => TUPLE info
 
8539
 */
 
8540
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8541
  __Pyx_GOTREF(__pyx_2);
 
8542
 
 
8543
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":98
 
8544
 * 
 
8545
 *     @sync
 
8546
 *     def get_fapl_family(self):             # <<<<<<<<<<<<<<
 
8547
 *         """() => TUPLE info
 
8548
 * 
 
8549
 */
 
8550
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_fapl_family); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8551
  __Pyx_GOTREF(__pyx_1);
 
8552
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8553
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8554
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8555
  __Pyx_GIVEREF(__pyx_1);
 
8556
  __pyx_1 = 0;
 
8557
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8558
  __Pyx_GOTREF(__pyx_t_2);
 
8559
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8560
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8561
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_fapl_family, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8562
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8563
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8564
 
 
8565
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":118
 
8566
 *         return (msize, plist)
 
8567
 * 
 
8568
 *     @sync             # <<<<<<<<<<<<<<
 
8569
 *     def set_fapl_log(self, char* logfile, unsigned int flags, size_t buf_size):
 
8570
 *         """(STRING logfile, UINT flags, UINT buf_size)
 
8571
 */
 
8572
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8573
  __Pyx_GOTREF(__pyx_1);
 
8574
 
 
8575
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":119
 
8576
 * 
 
8577
 *     @sync
 
8578
 *     def set_fapl_log(self, char* logfile, unsigned int flags, size_t buf_size):             # <<<<<<<<<<<<<<
 
8579
 *         """(STRING logfile, UINT flags, UINT buf_size)
 
8580
 * 
 
8581
 */
 
8582
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_fapl_log); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8583
  __Pyx_GOTREF(__pyx_2);
 
8584
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8585
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8586
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8587
  __Pyx_GIVEREF(__pyx_2);
 
8588
  __pyx_2 = 0;
 
8589
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8590
  __Pyx_GOTREF(__pyx_t_3);
 
8591
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8592
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8593
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_fapl_log, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8594
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8595
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8596
 
 
8597
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":127
 
8598
 *         H5Pset_fapl_log(self.id, logfile, flags, buf_size)
 
8599
 * 
 
8600
 *     @sync             # <<<<<<<<<<<<<<
 
8601
 *     def set_fapl_sec2(self):
 
8602
 *         """()
 
8603
 */
 
8604
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8605
  __Pyx_GOTREF(__pyx_2);
 
8606
 
 
8607
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":128
 
8608
 * 
 
8609
 *     @sync
 
8610
 *     def set_fapl_sec2(self):             # <<<<<<<<<<<<<<
 
8611
 *         """()
 
8612
 * 
 
8613
 */
 
8614
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_231); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8615
  __Pyx_GOTREF(__pyx_1);
 
8616
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8617
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8618
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8619
  __Pyx_GIVEREF(__pyx_1);
 
8620
  __pyx_1 = 0;
 
8621
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8622
  __Pyx_GOTREF(__pyx_t_2);
 
8623
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8624
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8625
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_231, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8626
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8627
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8628
 
 
8629
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":135
 
8630
 *         H5Pset_fapl_sec2(self.id)
 
8631
 * 
 
8632
 *     @sync             # <<<<<<<<<<<<<<
 
8633
 *     def set_fapl_stdio(self):
 
8634
 *         """()
 
8635
 */
 
8636
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8637
  __Pyx_GOTREF(__pyx_1);
 
8638
 
 
8639
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":136
 
8640
 * 
 
8641
 *     @sync
 
8642
 *     def set_fapl_stdio(self):             # <<<<<<<<<<<<<<
 
8643
 *         """()
 
8644
 * 
 
8645
 */
 
8646
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_fapl_stdio); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8647
  __Pyx_GOTREF(__pyx_2);
 
8648
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8649
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8650
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8651
  __Pyx_GIVEREF(__pyx_2);
 
8652
  __pyx_2 = 0;
 
8653
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8654
  __Pyx_GOTREF(__pyx_t_3);
 
8655
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8656
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8657
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_fapl_stdio, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8658
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8659
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8660
 
 
8661
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":143
 
8662
 *         H5Pset_fapl_stdio(self.id)
 
8663
 * 
 
8664
 *     @sync             # <<<<<<<<<<<<<<
 
8665
 *     def get_driver(self):
 
8666
 *         """() => INT driver code
 
8667
 */
 
8668
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8669
  __Pyx_GOTREF(__pyx_2);
 
8670
 
 
8671
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":144
 
8672
 * 
 
8673
 *     @sync
 
8674
 *     def get_driver(self):             # <<<<<<<<<<<<<<
 
8675
 *         """() => INT driver code
 
8676
 * 
 
8677
 */
 
8678
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_driver); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8679
  __Pyx_GOTREF(__pyx_1);
 
8680
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8681
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8682
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8683
  __Pyx_GIVEREF(__pyx_1);
 
8684
  __pyx_1 = 0;
 
8685
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8686
  __Pyx_GOTREF(__pyx_t_2);
 
8687
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8688
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8689
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_driver, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8690
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8691
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8692
 
 
8693
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":162
 
8694
 *         return H5Pget_driver(self.id)
 
8695
 * 
 
8696
 *     @sync             # <<<<<<<<<<<<<<
 
8697
 *     def set_cache(self, int mdc, int rdcc, size_t rdcc_nbytes, double rdcc_w0):
 
8698
 *         """(INT mdc, INT rdcc, UINT rdcc_nbytes, DOUBLE rdcc_w0)
 
8699
 */
 
8700
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8701
  __Pyx_GOTREF(__pyx_1);
 
8702
 
 
8703
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":163
 
8704
 * 
 
8705
 *     @sync
 
8706
 *     def set_cache(self, int mdc, int rdcc, size_t rdcc_nbytes, double rdcc_w0):             # <<<<<<<<<<<<<<
 
8707
 *         """(INT mdc, INT rdcc, UINT rdcc_nbytes, DOUBLE rdcc_w0)
 
8708
 * 
 
8709
 */
 
8710
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_cache); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8711
  __Pyx_GOTREF(__pyx_2);
 
8712
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8713
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8714
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8715
  __Pyx_GIVEREF(__pyx_2);
 
8716
  __pyx_2 = 0;
 
8717
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8718
  __Pyx_GOTREF(__pyx_t_3);
 
8719
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8720
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8721
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_cache, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8722
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8723
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8724
 
 
8725
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":171
 
8726
 *         H5Pset_cache(self.id, mdc, rdcc, rdcc_nbytes, rdcc_w0)
 
8727
 * 
 
8728
 *     @sync             # <<<<<<<<<<<<<<
 
8729
 *     def get_cache(self):
 
8730
 *         """() => TUPLE cache info
 
8731
 */
 
8732
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8733
  __Pyx_GOTREF(__pyx_2);
 
8734
 
 
8735
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":172
 
8736
 * 
 
8737
 *     @sync
 
8738
 *     def get_cache(self):             # <<<<<<<<<<<<<<
 
8739
 *         """() => TUPLE cache info
 
8740
 * 
 
8741
 */
 
8742
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_cache); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8743
  __Pyx_GOTREF(__pyx_1);
 
8744
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8745
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8746
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8747
  __Pyx_GIVEREF(__pyx_1);
 
8748
  __pyx_1 = 0;
 
8749
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8750
  __Pyx_GOTREF(__pyx_t_2);
 
8751
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8752
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8753
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_cache, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8754
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8755
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8756
 
 
8757
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":190
 
8758
 *         return (mdc, rdcc, rdcc_nbytes, w0)
 
8759
 * 
 
8760
 *     @sync             # <<<<<<<<<<<<<<
 
8761
 *     def set_sieve_buf_size(self, size_t size):
 
8762
 *         """ (UINT size)
 
8763
 */
 
8764
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8765
  __Pyx_GOTREF(__pyx_1);
 
8766
 
 
8767
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":191
 
8768
 * 
 
8769
 *     @sync
 
8770
 *     def set_sieve_buf_size(self, size_t size):             # <<<<<<<<<<<<<<
 
8771
 *         """ (UINT size)
 
8772
 * 
 
8773
 */
 
8774
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_set_sieve_buf_size); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8775
  __Pyx_GOTREF(__pyx_2);
 
8776
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8777
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8778
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
 
8779
  __Pyx_GIVEREF(__pyx_2);
 
8780
  __pyx_2 = 0;
 
8781
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8782
  __Pyx_GOTREF(__pyx_t_3);
 
8783
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8784
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
8785
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_set_sieve_buf_size, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8786
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8787
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8788
 
 
8789
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":200
 
8790
 *         H5Pset_sieve_buf_size(self.id, size)
 
8791
 * 
 
8792
 *     @sync             # <<<<<<<<<<<<<<
 
8793
 *     def get_sieve_buf_size(self):
 
8794
 *         """ () => UINT size
 
8795
 */
 
8796
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8797
  __Pyx_GOTREF(__pyx_2);
 
8798
 
 
8799
  /* "/home/tachyon/pydev/h5py/h5py/h5p_faid.pxi":201
 
8800
 * 
 
8801
 *     @sync
 
8802
 *     def get_sieve_buf_size(self):             # <<<<<<<<<<<<<<
 
8803
 *         """ () => UINT size
 
8804
 * 
 
8805
 */
 
8806
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID, __pyx_kp_get_sieve_buf_size); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8807
  __Pyx_GOTREF(__pyx_1);
 
8808
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8809
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8810
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
 
8811
  __Pyx_GIVEREF(__pyx_1);
 
8812
  __pyx_1 = 0;
 
8813
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8814
  __Pyx_GOTREF(__pyx_t_2);
 
8815
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
8816
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8817
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5p_PropFAID->tp_dict, __pyx_kp_get_sieve_buf_size, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8818
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8819
  PyType_Modified(__pyx_ptype_4h5py_3h5p_PropFAID);
 
8820
 
 
8821
  /* "/home/tachyon/pydev/h5py/h5py/h5.pxd":42
 
8822
 * 
 
8823
 *     cdef object __weakref__
 
8824
 *     cdef readonly hid_t id             # <<<<<<<<<<<<<<
 
8825
 *     cdef readonly int _locked
 
8826
 *     cdef object _hash
 
8827
 */
 
8828
  goto __pyx_L0;
 
8829
  __pyx_L1_error:;
 
8830
  __Pyx_XDECREF(__pyx_1);
 
8831
  __Pyx_XDECREF(__pyx_2);
 
8832
  __Pyx_XDECREF(__pyx_t_2);
 
8833
  __Pyx_XDECREF(__pyx_t_3);
 
8834
  __Pyx_AddTraceback("h5py.h5p");
 
8835
  Py_DECREF(__pyx_m); __pyx_m = 0;
 
8836
  __pyx_L0:;
 
8837
  __Pyx_FinishRefcountContext();
 
8838
  #if PY_MAJOR_VERSION < 3
 
8839
  return;
 
8840
  #else
 
8841
  return __pyx_m;
 
8842
  #endif
 
8843
}
 
8844
 
 
8845
static const char *__pyx_filenames[] = {
 
8846
  "h5p.pyx",
 
8847
  "h5p_fcid.pxi",
 
8848
  "h5p_dcid.pxi",
 
8849
  "h5p_faid.pxi",
 
8850
  "h5.pxd",
 
8851
  "h5p.pxd",
 
8852
  "numpy.pxd",
 
8853
  "h5t.pxd",
 
8854
};
 
8855
 
 
8856
/* Runtime support code */
 
8857
 
 
8858
static void __pyx_init_filenames(void) {
 
8859
  __pyx_f = __pyx_filenames;
 
8860
}
 
8861
 
 
8862
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
 
8863
    PyObject *tmp_type, *tmp_value, *tmp_tb;
 
8864
    PyThreadState *tstate = PyThreadState_GET();
 
8865
 
 
8866
#if PY_MAJOR_VERSION >= 3
 
8867
    /* Note: this is a temporary work-around to prevent crashes in Python 3.0 */
 
8868
    if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
 
8869
        tmp_type = tstate->exc_type;
 
8870
        tmp_value = tstate->exc_value;
 
8871
        tmp_tb = tstate->exc_traceback;
 
8872
        PyErr_NormalizeException(&type, &value, &tb);
 
8873
        PyErr_NormalizeException(&tmp_type, &tmp_value, &tmp_tb);
 
8874
        tstate->exc_type = 0;
 
8875
        tstate->exc_value = 0;
 
8876
        tstate->exc_traceback = 0;
 
8877
        PyException_SetContext(value, tmp_value);
 
8878
        Py_DECREF(tmp_type);
 
8879
        Py_XDECREF(tmp_tb);
 
8880
    }
 
8881
#endif
 
8882
 
 
8883
    tmp_type = tstate->curexc_type;
 
8884
    tmp_value = tstate->curexc_value;
 
8885
    tmp_tb = tstate->curexc_traceback;
 
8886
    tstate->curexc_type = type;
 
8887
    tstate->curexc_value = value;
 
8888
    tstate->curexc_traceback = tb;
 
8889
    Py_XDECREF(tmp_type);
 
8890
    Py_XDECREF(tmp_value);
 
8891
    Py_XDECREF(tmp_tb);
 
8892
}
 
8893
 
 
8894
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
 
8895
    PyThreadState *tstate = PyThreadState_GET();
 
8896
    *type = tstate->curexc_type;
 
8897
    *value = tstate->curexc_value;
 
8898
    *tb = tstate->curexc_traceback;
 
8899
 
 
8900
    tstate->curexc_type = 0;
 
8901
    tstate->curexc_value = 0;
 
8902
    tstate->curexc_traceback = 0;
 
8903
}
 
8904
 
 
8905
 
 
8906
static int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
 
8907
    if (!type) {
 
8908
        PyErr_Format(PyExc_SystemError, "Missing type object");
 
8909
        return 0;
 
8910
    }
 
8911
    if (obj == Py_None || PyObject_TypeCheck(obj, type))
 
8912
        return 1;
 
8913
    PyErr_Format(PyExc_TypeError, "Cannot convert %s to %s",
 
8914
        Py_TYPE(obj)->tp_name, type->tp_name);
 
8915
    return 0;
 
8916
}
 
8917
 
 
8918
static void __Pyx_RaiseDoubleKeywordsError(
 
8919
    const char* func_name,
 
8920
    PyObject* kw_name)
 
8921
{
 
8922
    PyErr_Format(PyExc_TypeError,
 
8923
        #if PY_MAJOR_VERSION >= 3
 
8924
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
 
8925
        #else
 
8926
        "%s() got multiple values for keyword argument '%s'", func_name,
 
8927
        PyString_AS_STRING(kw_name));
 
8928
        #endif
 
8929
}
 
8930
 
 
8931
static void __Pyx_RaiseArgtupleInvalid(
 
8932
    const char* func_name,
 
8933
    int exact,
 
8934
    Py_ssize_t num_min,
 
8935
    Py_ssize_t num_max,
 
8936
    Py_ssize_t num_found)
 
8937
{
 
8938
    Py_ssize_t num_expected;
 
8939
    const char *number, *more_or_less;
 
8940
 
 
8941
    if (num_found < num_min) {
 
8942
        num_expected = num_min;
 
8943
        more_or_less = "at least";
 
8944
    } else {
 
8945
        num_expected = num_max;
 
8946
        more_or_less = "at most";
 
8947
    }
 
8948
    if (exact) {
 
8949
        more_or_less = "exactly";
 
8950
    }
 
8951
    number = (num_expected == 1) ? "" : "s";
 
8952
    PyErr_Format(PyExc_TypeError,
 
8953
        #if PY_VERSION_HEX < 0x02050000
 
8954
            "%s() takes %s %d positional argument%s (%d given)",
 
8955
        #else
 
8956
            "%s() takes %s %zd positional argument%s (%zd given)",
 
8957
        #endif
 
8958
        func_name, more_or_less, num_expected, number, num_found);
 
8959
}
 
8960
 
 
8961
static int __Pyx_ParseOptionalKeywords(
 
8962
    PyObject *kwds,
 
8963
    PyObject **argnames[],
 
8964
    PyObject *kwds2,
 
8965
    PyObject *values[],
 
8966
    Py_ssize_t num_pos_args,
 
8967
    const char* function_name)
 
8968
{
 
8969
    PyObject *key = 0, *value = 0;
 
8970
    Py_ssize_t pos = 0;
 
8971
    PyObject*** name;
 
8972
    PyObject*** first_kw_arg = argnames + num_pos_args;
 
8973
 
 
8974
    while (PyDict_Next(kwds, &pos, &key, &value)) {
 
8975
        name = first_kw_arg;
 
8976
        while (*name && (**name != key)) name++;
 
8977
        if (*name) {
 
8978
            values[name-argnames] = value;
 
8979
        } else {
 
8980
            #if PY_MAJOR_VERSION < 3
 
8981
            if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key))) {
 
8982
            #else
 
8983
            if (unlikely(!PyUnicode_CheckExact(key)) && unlikely(!PyUnicode_Check(key))) {
 
8984
            #endif
 
8985
                goto invalid_keyword_type;
 
8986
            } else {
 
8987
                for (name = first_kw_arg; *name; name++) {
 
8988
                    #if PY_MAJOR_VERSION >= 3
 
8989
                    if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
 
8990
                        PyUnicode_Compare(**name, key) == 0) break;
 
8991
                    #else
 
8992
                    if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
 
8993
                        _PyString_Eq(**name, key)) break;
 
8994
                    #endif
 
8995
                }
 
8996
                if (*name) {
 
8997
                    values[name-argnames] = value;
 
8998
                } else {
 
8999
                    /* unexpected keyword found */
 
9000
                    for (name=argnames; name != first_kw_arg; name++) {
 
9001
                        if (**name == key) goto arg_passed_twice;
 
9002
                        #if PY_MAJOR_VERSION >= 3
 
9003
                        if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
 
9004
                            PyUnicode_Compare(**name, key) == 0) goto arg_passed_twice;
 
9005
                        #else
 
9006
                        if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
 
9007
                            _PyString_Eq(**name, key)) goto arg_passed_twice;
 
9008
                        #endif
 
9009
                    }
 
9010
                    if (kwds2) {
 
9011
                        if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
 
9012
                    } else {
 
9013
                        goto invalid_keyword;
 
9014
                    }
 
9015
                }
 
9016
            }
 
9017
        }
 
9018
    }
 
9019
    return 0;
 
9020
arg_passed_twice:
 
9021
    __Pyx_RaiseDoubleKeywordsError(function_name, **name);
 
9022
    goto bad;
 
9023
invalid_keyword_type:
 
9024
    PyErr_Format(PyExc_TypeError,
 
9025
        "%s() keywords must be strings", function_name);
 
9026
    goto bad;
 
9027
invalid_keyword:
 
9028
    PyErr_Format(PyExc_TypeError,
 
9029
    #if PY_MAJOR_VERSION < 3
 
9030
        "%s() got an unexpected keyword argument '%s'",
 
9031
        function_name, PyString_AsString(key));
 
9032
    #else
 
9033
        "%s() got an unexpected keyword argument '%U'",
 
9034
        function_name, key);
 
9035
    #endif
 
9036
bad:
 
9037
    return -1;
 
9038
}
 
9039
 
 
9040
 
 
9041
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
 
9042
    const char *name, int exact)
 
9043
{
 
9044
    if (!type) {
 
9045
        PyErr_Format(PyExc_SystemError, "Missing type object");
 
9046
        return 0;
 
9047
    }
 
9048
    if (none_allowed && obj == Py_None) return 1;
 
9049
    else if (exact) {
 
9050
        if (Py_TYPE(obj) == type) return 1;
 
9051
    }
 
9052
    else {
 
9053
        if (PyObject_TypeCheck(obj, type)) return 1;
 
9054
    }
 
9055
    PyErr_Format(PyExc_TypeError,
 
9056
        "Argument '%s' has incorrect type (expected %s, got %s)",
 
9057
        name, type->tp_name, Py_TYPE(obj)->tp_name);
 
9058
    return 0;
 
9059
}
 
9060
 
 
9061
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list) {
 
9062
    PyObject *__import__ = 0;
 
9063
    PyObject *empty_list = 0;
 
9064
    PyObject *module = 0;
 
9065
    PyObject *global_dict = 0;
 
9066
    PyObject *empty_dict = 0;
 
9067
    PyObject *list;
 
9068
    __import__ = __Pyx_GetAttrString(__pyx_b, "__import__");
 
9069
    if (!__import__)
 
9070
        goto bad;
 
9071
    if (from_list)
 
9072
        list = from_list;
 
9073
    else {
 
9074
        empty_list = PyList_New(0);
 
9075
        if (!empty_list)
 
9076
            goto bad;
 
9077
        list = empty_list;
 
9078
    }
 
9079
    global_dict = PyModule_GetDict(__pyx_m);
 
9080
    if (!global_dict)
 
9081
        goto bad;
 
9082
    empty_dict = PyDict_New();
 
9083
    if (!empty_dict)
 
9084
        goto bad;
 
9085
    module = PyObject_CallFunctionObjArgs(__import__,
 
9086
        name, global_dict, empty_dict, list, NULL);
 
9087
bad:
 
9088
    Py_XDECREF(empty_list);
 
9089
    Py_XDECREF(__import__);
 
9090
    Py_XDECREF(empty_dict);
 
9091
    return module;
 
9092
}
 
9093
 
 
9094
static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name) {
 
9095
    PyObject *result;
 
9096
    result = PyObject_GetAttr(dict, name);
 
9097
    if (!result)
 
9098
        PyErr_SetObject(PyExc_NameError, name);
 
9099
    return result;
 
9100
}
 
9101
 
 
9102
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb) {
 
9103
    Py_XINCREF(type);
 
9104
    Py_XINCREF(value);
 
9105
    Py_XINCREF(tb);
 
9106
    /* First, check the traceback argument, replacing None with NULL. */
 
9107
    if (tb == Py_None) {
 
9108
        Py_DECREF(tb);
 
9109
        tb = 0;
 
9110
    }
 
9111
    else if (tb != NULL && !PyTraceBack_Check(tb)) {
 
9112
        PyErr_SetString(PyExc_TypeError,
 
9113
            "raise: arg 3 must be a traceback or None");
 
9114
        goto raise_error;
 
9115
    }
 
9116
    /* Next, replace a missing value with None */
 
9117
    if (value == NULL) {
 
9118
        value = Py_None;
 
9119
        Py_INCREF(value);
 
9120
    }
 
9121
    #if PY_VERSION_HEX < 0x02050000
 
9122
    if (!PyClass_Check(type))
 
9123
    #else
 
9124
    if (!PyType_Check(type))
 
9125
    #endif
 
9126
    {
 
9127
        /* Raising an instance.  The value should be a dummy. */
 
9128
        if (value != Py_None) {
 
9129
            PyErr_SetString(PyExc_TypeError,
 
9130
                "instance exception may not have a separate value");
 
9131
            goto raise_error;
 
9132
        }
 
9133
        /* Normalize to raise <class>, <instance> */
 
9134
        Py_DECREF(value);
 
9135
        value = type;
 
9136
        #if PY_VERSION_HEX < 0x02050000
 
9137
            if (PyInstance_Check(type)) {
 
9138
                type = (PyObject*) ((PyInstanceObject*)type)->in_class;
 
9139
                Py_INCREF(type);
 
9140
            }
 
9141
            else {
 
9142
                type = 0;
 
9143
                PyErr_SetString(PyExc_TypeError,
 
9144
                    "raise: exception must be an old-style class or instance");
 
9145
                goto raise_error;
 
9146
            }
 
9147
        #else
 
9148
            type = (PyObject*) Py_TYPE(type);
 
9149
            Py_INCREF(type);
 
9150
            if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
 
9151
                PyErr_SetString(PyExc_TypeError,
 
9152
                    "raise: exception class must be a subclass of BaseException");
 
9153
                goto raise_error;
 
9154
            }
 
9155
        #endif
 
9156
    }
 
9157
    __Pyx_ErrRestore(type, value, tb);
 
9158
    return;
 
9159
raise_error:
 
9160
    Py_XDECREF(value);
 
9161
    Py_XDECREF(type);
 
9162
    Py_XDECREF(tb);
 
9163
    return;
 
9164
}
 
9165
 
 
9166
static INLINE int __Pyx_StrEq(const char *s1, const char *s2) {
 
9167
     while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
 
9168
     return *s1 == *s2;
 
9169
}
 
9170
 
 
9171
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
 
9172
    if (sizeof(unsigned char) < sizeof(long)) {
 
9173
        long val = __Pyx_PyInt_AsLong(x);
 
9174
        if (unlikely(val != (long)(unsigned char)val)) {
 
9175
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9176
                return (unsigned char)-1;
 
9177
            if (unlikely(val < 0)) {
 
9178
                PyErr_SetString(PyExc_OverflowError,
 
9179
                                "can't convert negative value to unsigned char");
 
9180
                return (unsigned char)-1;
 
9181
            }
 
9182
            PyErr_SetString(PyExc_OverflowError,
 
9183
                           "value too large to convert to unsigned char");
 
9184
            return (unsigned char)-1;
 
9185
        }
 
9186
        return (unsigned char)val;
 
9187
    }
 
9188
    return (unsigned char)__Pyx_PyInt_AsUnsignedLong(x);
 
9189
}
 
9190
 
 
9191
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
 
9192
    if (sizeof(unsigned short) < sizeof(long)) {
 
9193
        long val = __Pyx_PyInt_AsLong(x);
 
9194
        if (unlikely(val != (long)(unsigned short)val)) {
 
9195
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9196
                return (unsigned short)-1;
 
9197
            if (unlikely(val < 0)) {
 
9198
                PyErr_SetString(PyExc_OverflowError,
 
9199
                                "can't convert negative value to unsigned short");
 
9200
                return (unsigned short)-1;
 
9201
            }
 
9202
            PyErr_SetString(PyExc_OverflowError,
 
9203
                           "value too large to convert to unsigned short");
 
9204
            return (unsigned short)-1;
 
9205
        }
 
9206
        return (unsigned short)val;
 
9207
    }
 
9208
    return (unsigned short)__Pyx_PyInt_AsUnsignedLong(x);
 
9209
}
 
9210
 
 
9211
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
 
9212
    if (sizeof(unsigned int) < sizeof(long)) {
 
9213
        long val = __Pyx_PyInt_AsLong(x);
 
9214
        if (unlikely(val != (long)(unsigned int)val)) {
 
9215
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9216
                return (unsigned int)-1;
 
9217
            if (unlikely(val < 0)) {
 
9218
                PyErr_SetString(PyExc_OverflowError,
 
9219
                                "can't convert negative value to unsigned int");
 
9220
                return (unsigned int)-1;
 
9221
            }
 
9222
            PyErr_SetString(PyExc_OverflowError,
 
9223
                           "value too large to convert to unsigned int");
 
9224
            return (unsigned int)-1;
 
9225
        }
 
9226
        return (unsigned int)val;
 
9227
    }
 
9228
    return (unsigned int)__Pyx_PyInt_AsUnsignedLong(x);
 
9229
}
 
9230
 
 
9231
static INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
 
9232
    if (sizeof(char) < sizeof(long)) {
 
9233
        long val = __Pyx_PyInt_AsLong(x);
 
9234
        if (unlikely(val != (long)(char)val)) {
 
9235
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9236
                return (char)-1;
 
9237
            PyErr_SetString(PyExc_OverflowError,
 
9238
                           "value too large to convert to char");
 
9239
            return (char)-1;
 
9240
        }
 
9241
        return (char)val;
 
9242
    }
 
9243
    return (char)__Pyx_PyInt_AsLong(x);
 
9244
}
 
9245
 
 
9246
static INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
 
9247
    if (sizeof(short) < sizeof(long)) {
 
9248
        long val = __Pyx_PyInt_AsLong(x);
 
9249
        if (unlikely(val != (long)(short)val)) {
 
9250
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9251
                return (short)-1;
 
9252
            PyErr_SetString(PyExc_OverflowError,
 
9253
                           "value too large to convert to short");
 
9254
            return (short)-1;
 
9255
        }
 
9256
        return (short)val;
 
9257
    }
 
9258
    return (short)__Pyx_PyInt_AsLong(x);
 
9259
}
 
9260
 
 
9261
static INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
 
9262
    if (sizeof(int) < sizeof(long)) {
 
9263
        long val = __Pyx_PyInt_AsLong(x);
 
9264
        if (unlikely(val != (long)(int)val)) {
 
9265
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9266
                return (int)-1;
 
9267
            PyErr_SetString(PyExc_OverflowError,
 
9268
                           "value too large to convert to int");
 
9269
            return (int)-1;
 
9270
        }
 
9271
        return (int)val;
 
9272
    }
 
9273
    return (int)__Pyx_PyInt_AsLong(x);
 
9274
}
 
9275
 
 
9276
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
 
9277
    if (sizeof(signed char) < sizeof(long)) {
 
9278
        long val = __Pyx_PyInt_AsLong(x);
 
9279
        if (unlikely(val != (long)(signed char)val)) {
 
9280
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9281
                return (signed char)-1;
 
9282
            PyErr_SetString(PyExc_OverflowError,
 
9283
                           "value too large to convert to signed char");
 
9284
            return (signed char)-1;
 
9285
        }
 
9286
        return (signed char)val;
 
9287
    }
 
9288
    return (signed char)__Pyx_PyInt_AsSignedLong(x);
 
9289
}
 
9290
 
 
9291
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
 
9292
    if (sizeof(signed short) < sizeof(long)) {
 
9293
        long val = __Pyx_PyInt_AsLong(x);
 
9294
        if (unlikely(val != (long)(signed short)val)) {
 
9295
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9296
                return (signed short)-1;
 
9297
            PyErr_SetString(PyExc_OverflowError,
 
9298
                           "value too large to convert to signed short");
 
9299
            return (signed short)-1;
 
9300
        }
 
9301
        return (signed short)val;
 
9302
    }
 
9303
    return (signed short)__Pyx_PyInt_AsSignedLong(x);
 
9304
}
 
9305
 
 
9306
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
 
9307
    if (sizeof(signed int) < sizeof(long)) {
 
9308
        long val = __Pyx_PyInt_AsLong(x);
 
9309
        if (unlikely(val != (long)(signed int)val)) {
 
9310
            if (unlikely(val == -1 && PyErr_Occurred()))
 
9311
                return (signed int)-1;
 
9312
            PyErr_SetString(PyExc_OverflowError,
 
9313
                           "value too large to convert to signed int");
 
9314
            return (signed int)-1;
 
9315
        }
 
9316
        return (signed int)val;
 
9317
    }
 
9318
    return (signed int)__Pyx_PyInt_AsSignedLong(x);
 
9319
}
 
9320
 
 
9321
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
 
9322
#if PY_VERSION_HEX < 0x03000000
 
9323
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9324
        long val = PyInt_AS_LONG(x);
 
9325
        if (unlikely(val < 0)) {
 
9326
            PyErr_SetString(PyExc_OverflowError,
 
9327
                            "can't convert negative value to unsigned long");
 
9328
            return (unsigned long)-1;
 
9329
        }
 
9330
        return (unsigned long)val;
 
9331
    } else
 
9332
#endif
 
9333
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9334
        if (unlikely(Py_SIZE(x) < 0)) {
 
9335
            PyErr_SetString(PyExc_OverflowError,
 
9336
                            "can't convert negative value to unsigned long");
 
9337
            return (unsigned long)-1;
 
9338
        }
 
9339
        return PyLong_AsUnsignedLong(x);
 
9340
    } else {
 
9341
        unsigned long val;
 
9342
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9343
        if (!tmp) return (unsigned long)-1;
 
9344
        val = __Pyx_PyInt_AsUnsignedLong(tmp);
 
9345
        Py_DECREF(tmp);
 
9346
        return val;
 
9347
    }
 
9348
}
 
9349
 
 
9350
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
 
9351
#if PY_VERSION_HEX < 0x03000000
 
9352
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9353
        long val = PyInt_AS_LONG(x);
 
9354
        if (unlikely(val < 0)) {
 
9355
            PyErr_SetString(PyExc_OverflowError,
 
9356
                            "can't convert negative value to unsigned PY_LONG_LONG");
 
9357
            return (unsigned PY_LONG_LONG)-1;
 
9358
        }
 
9359
        return (unsigned PY_LONG_LONG)val;
 
9360
    } else
 
9361
#endif
 
9362
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9363
        if (unlikely(Py_SIZE(x) < 0)) {
 
9364
            PyErr_SetString(PyExc_OverflowError,
 
9365
                            "can't convert negative value to unsigned PY_LONG_LONG");
 
9366
            return (unsigned PY_LONG_LONG)-1;
 
9367
        }
 
9368
        return PyLong_AsUnsignedLongLong(x);
 
9369
    } else {
 
9370
        unsigned PY_LONG_LONG val;
 
9371
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9372
        if (!tmp) return (unsigned PY_LONG_LONG)-1;
 
9373
        val = __Pyx_PyInt_AsUnsignedLongLong(tmp);
 
9374
        Py_DECREF(tmp);
 
9375
        return val;
 
9376
    }
 
9377
}
 
9378
 
 
9379
static INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
 
9380
#if PY_VERSION_HEX < 0x03000000
 
9381
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9382
        long val = PyInt_AS_LONG(x);
 
9383
        return (long)val;
 
9384
    } else
 
9385
#endif
 
9386
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9387
        return PyLong_AsLong(x);
 
9388
    } else {
 
9389
        long val;
 
9390
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9391
        if (!tmp) return (long)-1;
 
9392
        val = __Pyx_PyInt_AsLong(tmp);
 
9393
        Py_DECREF(tmp);
 
9394
        return val;
 
9395
    }
 
9396
}
 
9397
 
 
9398
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
 
9399
#if PY_VERSION_HEX < 0x03000000
 
9400
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9401
        long val = PyInt_AS_LONG(x);
 
9402
        return (PY_LONG_LONG)val;
 
9403
    } else
 
9404
#endif
 
9405
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9406
        return PyLong_AsLongLong(x);
 
9407
    } else {
 
9408
        PY_LONG_LONG val;
 
9409
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9410
        if (!tmp) return (PY_LONG_LONG)-1;
 
9411
        val = __Pyx_PyInt_AsLongLong(tmp);
 
9412
        Py_DECREF(tmp);
 
9413
        return val;
 
9414
    }
 
9415
}
 
9416
 
 
9417
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
 
9418
#if PY_VERSION_HEX < 0x03000000
 
9419
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9420
        long val = PyInt_AS_LONG(x);
 
9421
        return (signed long)val;
 
9422
    } else
 
9423
#endif
 
9424
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9425
        return PyLong_AsLong(x);
 
9426
    } else {
 
9427
        signed long val;
 
9428
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9429
        if (!tmp) return (signed long)-1;
 
9430
        val = __Pyx_PyInt_AsSignedLong(tmp);
 
9431
        Py_DECREF(tmp);
 
9432
        return val;
 
9433
    }
 
9434
}
 
9435
 
 
9436
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
 
9437
#if PY_VERSION_HEX < 0x03000000
 
9438
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
9439
        long val = PyInt_AS_LONG(x);
 
9440
        return (signed PY_LONG_LONG)val;
 
9441
    } else
 
9442
#endif
 
9443
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
 
9444
        return PyLong_AsLongLong(x);
 
9445
    } else {
 
9446
        signed PY_LONG_LONG val;
 
9447
        PyObject *tmp = __Pyx_PyNumber_Int(x);
 
9448
        if (!tmp) return (signed PY_LONG_LONG)-1;
 
9449
        val = __Pyx_PyInt_AsSignedLongLong(tmp);
 
9450
        Py_DECREF(tmp);
 
9451
        return val;
 
9452
    }
 
9453
}
 
9454
 
 
9455
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig) {
 
9456
#if PY_VERSION_HEX < 0x02050000
 
9457
    char *api = (char *)"__pyx_capi__";
 
9458
#else
 
9459
    const char *api = "__pyx_capi__";
 
9460
#endif
 
9461
    PyObject *d = 0;
 
9462
    PyObject *cobj = 0;
 
9463
    union {
 
9464
        void (*fp)(void);
 
9465
        void *p;
 
9466
    } tmp;
 
9467
 
 
9468
 
 
9469
    d = PyObject_GetAttrString(__pyx_m, api);
 
9470
    if (!d) {
 
9471
        PyErr_Clear();
 
9472
        d = PyDict_New();
 
9473
        if (!d)
 
9474
            goto bad;
 
9475
        Py_INCREF(d);
 
9476
        if (PyModule_AddObject(__pyx_m, api, d) < 0)
 
9477
            goto bad;
 
9478
    }
 
9479
    tmp.fp = f;
 
9480
    cobj = PyCObject_FromVoidPtrAndDesc(tmp.p, (void *)sig, 0);
 
9481
    if (!cobj)
 
9482
        goto bad;
 
9483
    if (PyDict_SetItemString(d, name, cobj) < 0)
 
9484
        goto bad;
 
9485
    Py_DECREF(cobj);
 
9486
    Py_DECREF(d);
 
9487
    return 0;
 
9488
bad:
 
9489
    Py_XDECREF(cobj);
 
9490
    Py_XDECREF(d);
 
9491
    return -1;
 
9492
}
 
9493
 
 
9494
#ifndef __PYX_HAVE_RT_ImportType
 
9495
#define __PYX_HAVE_RT_ImportType
 
9496
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
 
9497
    long size)
 
9498
{
 
9499
    PyObject *py_module = 0;
 
9500
    PyObject *result = 0;
 
9501
    PyObject *py_name = 0;
 
9502
 
 
9503
    py_module = __Pyx_ImportModule(module_name);
 
9504
    if (!py_module)
 
9505
        goto bad;
 
9506
    #if PY_MAJOR_VERSION < 3
 
9507
    py_name = PyString_FromString(class_name);
 
9508
    #else
 
9509
    py_name = PyUnicode_FromString(class_name);
 
9510
    #endif
 
9511
    if (!py_name)
 
9512
        goto bad;
 
9513
    result = PyObject_GetAttr(py_module, py_name);
 
9514
    Py_DECREF(py_name);
 
9515
    py_name = 0;
 
9516
    Py_DECREF(py_module);
 
9517
    py_module = 0;
 
9518
    if (!result)
 
9519
        goto bad;
 
9520
    if (!PyType_Check(result)) {
 
9521
        PyErr_Format(PyExc_TypeError, 
 
9522
            "%s.%s is not a type object",
 
9523
            module_name, class_name);
 
9524
        goto bad;
 
9525
    }
 
9526
    if (((PyTypeObject *)result)->tp_basicsize != size) {
 
9527
        PyErr_Format(PyExc_ValueError, 
 
9528
            "%s.%s does not appear to be the correct type object",
 
9529
            module_name, class_name);
 
9530
        goto bad;
 
9531
    }
 
9532
    return (PyTypeObject *)result;
 
9533
bad:
 
9534
    Py_XDECREF(py_module);
 
9535
    Py_XDECREF(result);
 
9536
    return 0;
 
9537
}
 
9538
#endif
 
9539
 
 
9540
#ifndef __PYX_HAVE_RT_ImportModule
 
9541
#define __PYX_HAVE_RT_ImportModule
 
9542
static PyObject *__Pyx_ImportModule(const char *name) {
 
9543
    PyObject *py_name = 0;
 
9544
    PyObject *py_module = 0;
 
9545
 
 
9546
    #if PY_MAJOR_VERSION < 3
 
9547
    py_name = PyString_FromString(name);
 
9548
    #else
 
9549
    py_name = PyUnicode_FromString(name);
 
9550
    #endif
 
9551
    if (!py_name)
 
9552
        goto bad;
 
9553
    py_module = PyImport_Import(py_name);
 
9554
    Py_DECREF(py_name);
 
9555
    return py_module;
 
9556
bad:
 
9557
    Py_XDECREF(py_name);
 
9558
    return 0;
 
9559
}
 
9560
#endif
 
9561
 
 
9562
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr) {
 
9563
    int result;
 
9564
    PyObject *pycobj;
 
9565
 
 
9566
    pycobj = PyMapping_GetItemString(dict, (char *)"__pyx_vtable__");
 
9567
    if (!pycobj)
 
9568
        goto bad;
 
9569
    *(void **)vtabptr = PyCObject_AsVoidPtr(pycobj);
 
9570
    if (!*(void **)vtabptr)
 
9571
        goto bad;
 
9572
    result = 0;
 
9573
    goto done;
 
9574
 
 
9575
bad:
 
9576
    result = -1;
 
9577
done:
 
9578
    Py_XDECREF(pycobj);
 
9579
    return result;
 
9580
}
 
9581
 
 
9582
#ifndef __PYX_HAVE_RT_ImportFunction
 
9583
#define __PYX_HAVE_RT_ImportFunction
 
9584
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
 
9585
#if PY_VERSION_HEX < 0x02050000
 
9586
    char *api = (char *)"__pyx_capi__";
 
9587
#else
 
9588
    const char *api = "__pyx_capi__";
 
9589
#endif
 
9590
    PyObject *d = 0;
 
9591
    PyObject *cobj = 0;
 
9592
    const char *desc;
 
9593
    const char *s1, *s2;
 
9594
    union {
 
9595
        void (*fp)(void);
 
9596
        void *p;
 
9597
    } tmp;
 
9598
 
 
9599
    d = PyObject_GetAttrString(module, api);
 
9600
    if (!d)
 
9601
        goto bad;
 
9602
    cobj = PyDict_GetItemString(d, funcname);
 
9603
    if (!cobj) {
 
9604
        PyErr_Format(PyExc_ImportError,
 
9605
            "%s does not export expected C function %s",
 
9606
                PyModule_GetName(module), funcname);
 
9607
        goto bad;
 
9608
    }
 
9609
    desc = (const char *)PyCObject_GetDesc(cobj);
 
9610
    if (!desc)
 
9611
        goto bad;
 
9612
    s1 = desc; s2 = sig;
 
9613
    while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
 
9614
    if (*s1 != *s2) {
 
9615
        PyErr_Format(PyExc_TypeError,
 
9616
            "C function %s.%s has wrong signature (expected %s, got %s)",
 
9617
             PyModule_GetName(module), funcname, sig, desc);
 
9618
        goto bad;
 
9619
    }
 
9620
    tmp.p = PyCObject_AsVoidPtr(cobj);
 
9621
    *f = tmp.fp;
 
9622
    Py_DECREF(d);
 
9623
    return 0;
 
9624
bad:
 
9625
    Py_XDECREF(d);
 
9626
    return -1;
 
9627
}
 
9628
#endif
 
9629
 
 
9630
#include "compile.h"
 
9631
#include "frameobject.h"
 
9632
#include "traceback.h"
 
9633
 
 
9634
static void __Pyx_AddTraceback(const char *funcname) {
 
9635
    PyObject *py_srcfile = 0;
 
9636
    PyObject *py_funcname = 0;
 
9637
    PyObject *py_globals = 0;
 
9638
    PyObject *empty_string = 0;
 
9639
    PyCodeObject *py_code = 0;
 
9640
    PyFrameObject *py_frame = 0;
 
9641
 
 
9642
    #if PY_MAJOR_VERSION < 3
 
9643
    py_srcfile = PyString_FromString(__pyx_filename);
 
9644
    #else
 
9645
    py_srcfile = PyUnicode_FromString(__pyx_filename);
 
9646
    #endif
 
9647
    if (!py_srcfile) goto bad;
 
9648
    if (__pyx_clineno) {
 
9649
        #if PY_MAJOR_VERSION < 3
 
9650
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, __pyx_clineno);
 
9651
        #else
 
9652
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, __pyx_clineno);
 
9653
        #endif
 
9654
    }
 
9655
    else {
 
9656
        #if PY_MAJOR_VERSION < 3
 
9657
        py_funcname = PyString_FromString(funcname);
 
9658
        #else
 
9659
        py_funcname = PyUnicode_FromString(funcname);
 
9660
        #endif
 
9661
    }
 
9662
    if (!py_funcname) goto bad;
 
9663
    py_globals = PyModule_GetDict(__pyx_m);
 
9664
    if (!py_globals) goto bad;
 
9665
    #if PY_MAJOR_VERSION < 3
 
9666
    empty_string = PyString_FromStringAndSize("", 0);
 
9667
    #else
 
9668
    empty_string = PyBytes_FromStringAndSize("", 0);
 
9669
    #endif
 
9670
    if (!empty_string) goto bad;
 
9671
    py_code = PyCode_New(
 
9672
        0,            /*int argcount,*/
 
9673
        #if PY_MAJOR_VERSION >= 3
 
9674
        0,            /*int kwonlyargcount,*/
 
9675
        #endif
 
9676
        0,            /*int nlocals,*/
 
9677
        0,            /*int stacksize,*/
 
9678
        0,            /*int flags,*/
 
9679
        empty_string, /*PyObject *code,*/
 
9680
        __pyx_empty_tuple,  /*PyObject *consts,*/
 
9681
        __pyx_empty_tuple,  /*PyObject *names,*/
 
9682
        __pyx_empty_tuple,  /*PyObject *varnames,*/
 
9683
        __pyx_empty_tuple,  /*PyObject *freevars,*/
 
9684
        __pyx_empty_tuple,  /*PyObject *cellvars,*/
 
9685
        py_srcfile,   /*PyObject *filename,*/
 
9686
        py_funcname,  /*PyObject *name,*/
 
9687
        __pyx_lineno,   /*int firstlineno,*/
 
9688
        empty_string  /*PyObject *lnotab*/
 
9689
    );
 
9690
    if (!py_code) goto bad;
 
9691
    py_frame = PyFrame_New(
 
9692
        PyThreadState_GET(), /*PyThreadState *tstate,*/
 
9693
        py_code,             /*PyCodeObject *code,*/
 
9694
        py_globals,          /*PyObject *globals,*/
 
9695
        0                    /*PyObject *locals*/
 
9696
    );
 
9697
    if (!py_frame) goto bad;
 
9698
    py_frame->f_lineno = __pyx_lineno;
 
9699
    PyTraceBack_Here(py_frame);
 
9700
bad:
 
9701
    Py_XDECREF(py_srcfile);
 
9702
    Py_XDECREF(py_funcname);
 
9703
    Py_XDECREF(empty_string);
 
9704
    Py_XDECREF(py_code);
 
9705
    Py_XDECREF(py_frame);
 
9706
}
 
9707
 
 
9708
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
 
9709
    while (t->p) {
 
9710
        #if PY_MAJOR_VERSION < 3
 
9711
        if (t->is_unicode && (!t->is_identifier)) {
 
9712
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
 
9713
        } else if (t->intern) {
 
9714
            *t->p = PyString_InternFromString(t->s);
 
9715
        } else {
 
9716
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
 
9717
        }
 
9718
        #else  /* Python 3+ has unicode identifiers */
 
9719
        if (t->is_identifier || (t->is_unicode && t->intern)) {
 
9720
            *t->p = PyUnicode_InternFromString(t->s);
 
9721
        } else if (t->is_unicode) {
 
9722
            *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
 
9723
        } else {
 
9724
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
 
9725
        }
 
9726
        #endif
 
9727
        if (!*t->p)
 
9728
            return -1;
 
9729
        ++t;
 
9730
    }
 
9731
    return 0;
 
9732
}
 
9733
 
 
9734
/* Type Conversion Functions */
 
9735
 
 
9736
static INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
 
9737
   if (x == Py_True) return 1;
 
9738
   else if ((x == Py_False) | (x == Py_None)) return 0;
 
9739
   else return PyObject_IsTrue(x);
 
9740
}
 
9741
 
 
9742
static INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
 
9743
  PyNumberMethods *m;
 
9744
  const char *name = NULL;
 
9745
  PyObject *res = NULL;
 
9746
#if PY_VERSION_HEX < 0x03000000
 
9747
  if (PyInt_Check(x) || PyLong_Check(x))
 
9748
#else
 
9749
  if (PyLong_Check(x))
 
9750
#endif
 
9751
    return Py_INCREF(x), x;
 
9752
  m = Py_TYPE(x)->tp_as_number;
 
9753
#if PY_VERSION_HEX < 0x03000000
 
9754
  if (m && m->nb_int) {
 
9755
    name = "int";
 
9756
    res = PyNumber_Int(x);
 
9757
  }
 
9758
  else if (m && m->nb_long) {
 
9759
    name = "long";
 
9760
    res = PyNumber_Long(x);
 
9761
  }
 
9762
#else
 
9763
  if (m && m->nb_int) {
 
9764
    name = "int";
 
9765
    res = PyNumber_Long(x);
 
9766
  }
 
9767
#endif
 
9768
  if (res) {
 
9769
#if PY_VERSION_HEX < 0x03000000
 
9770
    if (!PyInt_Check(res) && !PyLong_Check(res)) {
 
9771
#else
 
9772
    if (!PyLong_Check(res)) {
 
9773
#endif
 
9774
      PyErr_Format(PyExc_TypeError,
 
9775
                   "__%s__ returned non-%s (type %.200s)",
 
9776
                   name, name, Py_TYPE(res)->tp_name);
 
9777
      Py_DECREF(res);
 
9778
      return NULL;
 
9779
    }
 
9780
  }
 
9781
  else if (!PyErr_Occurred()) {
 
9782
    PyErr_SetString(PyExc_TypeError,
 
9783
                    "an integer is required");
 
9784
  }
 
9785
  return res;
 
9786
}
 
9787
 
 
9788
static INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
 
9789
  Py_ssize_t ival;
 
9790
  PyObject* x = PyNumber_Index(b);
 
9791
  if (!x) return -1;
 
9792
  ival = PyInt_AsSsize_t(x);
 
9793
  Py_DECREF(x);
 
9794
  return ival;
 
9795
}
 
9796
 
 
9797
static INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
 
9798
#if PY_VERSION_HEX < 0x02050000
 
9799
   if (ival <= LONG_MAX)
 
9800
       return PyInt_FromLong((long)ival);
 
9801
   else {
 
9802
       unsigned char *bytes = (unsigned char *) &ival;
 
9803
       int one = 1; int little = (int)*(unsigned char*)&one;
 
9804
       return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0);
 
9805
   }
 
9806
#else
 
9807
   return PyInt_FromSize_t(ival);
 
9808
#endif
 
9809
}
 
9810
 
 
9811
static INLINE size_t __Pyx_PyInt_AsSize_t(PyObject* x) {
 
9812
   unsigned PY_LONG_LONG val = __Pyx_PyInt_AsUnsignedLongLong(x);
 
9813
   if (unlikely(val == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred())) {
 
9814
       return (size_t)-1;
 
9815
   } else if (unlikely(val != (unsigned PY_LONG_LONG)(size_t)val)) {
 
9816
       PyErr_SetString(PyExc_OverflowError,
 
9817
                       "value too large to convert to size_t");
 
9818
       return (size_t)-1;
 
9819
   }
 
9820
   return (size_t)val;
 
9821
}
 
9822
 
 
9823