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

« back to all changes in this revision

Viewing changes to api16/h5t.c

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Generated by Cython 0.11.2 on Mon Aug 31 11:03:07 2009 */
 
1
/* Generated by Cython 0.12 on Sun Mar 14 21:50:04 2010 */
2
2
 
3
3
#define PY_SSIZE_T_CLEAN
4
4
#include "Python.h"
5
5
#include "structmember.h"
6
6
#ifndef Py_PYTHON_H
7
7
    #error Python headers needed to compile C extensions, please install development version of Python.
8
 
#endif
 
8
#else
9
9
#ifndef PY_LONG_LONG
10
10
  #define PY_LONG_LONG LONG_LONG
11
11
#endif
15
15
#if PY_VERSION_HEX < 0x02040000
16
16
  #define METH_COEXIST 0
17
17
  #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
 
18
  #define PyDict_Contains(d,o)   PySequence_Contains(d,o)
18
19
#endif
19
20
#if PY_VERSION_HEX < 0x02050000
20
21
  typedef int Py_ssize_t;
73
74
#endif
74
75
#if PY_MAJOR_VERSION >= 3
75
76
  #define PyBaseString_Type            PyUnicode_Type
76
 
  #define PyString_Type                PyBytes_Type
77
 
  #define PyString_CheckExact          PyBytes_CheckExact
 
77
  #define PyString_Type                PyUnicode_Type
 
78
  #define PyString_CheckExact          PyUnicode_CheckExact
 
79
#else
 
80
  #define PyBytes_Type                 PyString_Type
 
81
  #define PyBytes_CheckExact           PyString_CheckExact
 
82
#endif
 
83
#if PY_MAJOR_VERSION >= 3
78
84
  #define PyInt_Type                   PyLong_Type
79
85
  #define PyInt_Check(op)              PyLong_Check(op)
80
86
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
89
95
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
90
96
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
91
97
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
 
98
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
92
99
#else
93
100
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
94
 
  #define PyBytes_Type                 PyString_Type
 
101
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
95
102
#endif
96
103
#if PY_MAJOR_VERSION >= 3
97
104
  #define PyMethod_New(func, self, klass) PyInstanceMethod_New(func)
140
147
#include "compat.h"
141
148
#include "lzf_filter.h"
142
149
#include "hdf5.h"
143
 
#include "typeconv.h"
144
 
#include "typeproxy.h"
145
150
#include "numpy/arrayobject.h"
146
 
#define __PYX_USE_C99_COMPLEX defined(_Complex_I)
147
 
 
148
151
 
149
152
#ifdef __GNUC__
150
153
#define INLINE __inline__
154
157
#define INLINE 
155
158
#endif
156
159
 
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;
 
160
typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/
162
161
 
163
162
 
164
163
/* Type Conversion Predeclarations */
173
172
#define __Pyx_PyBytes_AsString            PyBytes_AsString
174
173
#endif
175
174
 
 
175
#define __Pyx_PyBytes_FromUString(s)      __Pyx_PyBytes_FromString((char*)s)
 
176
#define __Pyx_PyBytes_AsUString(s)        ((unsigned char*) __Pyx_PyBytes_AsString(s))
 
177
 
176
178
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
177
179
static INLINE int __Pyx_PyObject_IsTrue(PyObject*);
178
180
static INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
192
194
#endif
193
195
#endif
194
196
 
 
197
 
 
198
#if !defined(T_ULONGLONG)
 
199
#define __Pyx_T_UNSIGNED_INT(x) \
 
200
        ((sizeof(x) == sizeof(unsigned char))  ? T_UBYTE : \
 
201
        ((sizeof(x) == sizeof(unsigned short)) ? T_USHORT : \
 
202
        ((sizeof(x) == sizeof(unsigned int))   ? T_UINT : \
 
203
        ((sizeof(x) == sizeof(unsigned long))  ? T_ULONG : -1))))
 
204
#else
 
205
#define __Pyx_T_UNSIGNED_INT(x) \
 
206
        ((sizeof(x) == sizeof(unsigned char))  ? T_UBYTE : \
 
207
        ((sizeof(x) == sizeof(unsigned short)) ? T_USHORT : \
 
208
        ((sizeof(x) == sizeof(unsigned int))   ? T_UINT : \
 
209
        ((sizeof(x) == sizeof(unsigned long))  ? T_ULONG : \
 
210
        ((sizeof(x) == sizeof(unsigned PY_LONG_LONG)) ? T_ULONGLONG : -1)))))
 
211
#endif
 
212
#if !defined(T_LONGLONG)
 
213
#define __Pyx_T_SIGNED_INT(x) \
 
214
        ((sizeof(x) == sizeof(char))  ? T_BYTE : \
 
215
        ((sizeof(x) == sizeof(short)) ? T_SHORT : \
 
216
        ((sizeof(x) == sizeof(int))   ? T_INT : \
 
217
        ((sizeof(x) == sizeof(long))  ? T_LONG : -1))))
 
218
#else
 
219
#define __Pyx_T_SIGNED_INT(x) \
 
220
        ((sizeof(x) == sizeof(char))  ? T_BYTE : \
 
221
        ((sizeof(x) == sizeof(short)) ? T_SHORT : \
 
222
        ((sizeof(x) == sizeof(int))   ? T_INT : \
 
223
        ((sizeof(x) == sizeof(long))  ? T_LONG : \
 
224
        ((sizeof(x) == sizeof(PY_LONG_LONG))   ? T_LONGLONG : -1)))))
 
225
#endif
 
226
 
 
227
#define __Pyx_T_FLOATING(x) \
 
228
        ((sizeof(x) == sizeof(float)) ? T_FLOAT : \
 
229
        ((sizeof(x) == sizeof(double)) ? T_DOUBLE : -1))
 
230
 
195
231
#if !defined(T_SIZET)
196
232
#if !defined(T_ULONGLONG)
197
233
#define T_SIZET \
229
265
static PyObject *__pyx_m;
230
266
static PyObject *__pyx_b;
231
267
static PyObject *__pyx_empty_tuple;
 
268
static PyObject *__pyx_empty_bytes;
232
269
static int __pyx_lineno;
233
270
static int __pyx_clineno = 0;
234
271
static const char * __pyx_cfilenm= __FILE__;
236
273
static const char **__pyx_f;
237
274
 
238
275
 
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 int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
270
 
 
271
 
static void __Pyx_RaiseDoubleKeywordsError(
272
 
    const char* func_name, PyObject* kw_name); /*proto*/
273
 
 
274
 
static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
275
 
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/
276
 
 
277
 
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,     const char* function_name); /*proto*/
278
 
 
279
 
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
280
 
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
281
 
 
282
 
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
283
 
 
284
 
 
285
 
static INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
286
 
    PyObject *r;
287
 
    if (!j) return NULL;
288
 
    r = PyObject_GetItem(o, j);
289
 
    Py_DECREF(j);
290
 
    return r;
291
 
}
292
 
 
293
 
 
294
 
#define __Pyx_GetItemInt_List(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
295
 
                                                    __Pyx_GetItemInt_List_Fast(o, i, size <= sizeof(long)) : \
296
 
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
297
 
 
298
 
static INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
299
 
    if (likely(o != Py_None)) {
300
 
        if (likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
301
 
            PyObject *r = PyList_GET_ITEM(o, i);
302
 
            Py_INCREF(r);
303
 
            return r;
304
 
        }
305
 
        else if ((-PyList_GET_SIZE(o) <= i) & (i < 0)) {
306
 
            PyObject *r = PyList_GET_ITEM(o, PyList_GET_SIZE(o) + i);
307
 
            Py_INCREF(r);
308
 
            return r;
309
 
        }
310
 
    }
311
 
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
312
 
}
313
 
 
314
 
#define __Pyx_GetItemInt_Tuple(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
315
 
                                                    __Pyx_GetItemInt_Tuple_Fast(o, i, size <= sizeof(long)) : \
316
 
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
317
 
 
318
 
static INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
319
 
    if (likely(o != Py_None)) {
320
 
        if (likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
321
 
            PyObject *r = PyTuple_GET_ITEM(o, i);
322
 
            Py_INCREF(r);
323
 
            return r;
324
 
        }
325
 
        else if ((-PyTuple_GET_SIZE(o) <= i) & (i < 0)) {
326
 
            PyObject *r = PyTuple_GET_ITEM(o, PyTuple_GET_SIZE(o) + i);
327
 
            Py_INCREF(r);
328
 
            return r;
329
 
        }
330
 
    }
331
 
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
332
 
}
333
 
 
334
 
 
335
 
#define __Pyx_GetItemInt(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
336
 
                                                    __Pyx_GetItemInt_Fast(o, i, size <= sizeof(long)) : \
337
 
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
338
 
 
339
 
static INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
340
 
    PyObject *r;
341
 
    if (PyList_CheckExact(o) && ((0 <= i) & (i < PyList_GET_SIZE(o)))) {
342
 
        r = PyList_GET_ITEM(o, i);
343
 
        Py_INCREF(r);
344
 
    }
345
 
    else if (PyTuple_CheckExact(o) && ((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
346
 
        r = PyTuple_GET_ITEM(o, i);
347
 
        Py_INCREF(r);
348
 
    }
349
 
    else if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_item && (likely(i >= 0))) {
350
 
        r = PySequence_GetItem(o, i);
351
 
    }
352
 
    else {
353
 
        r = __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
354
 
    }
355
 
    return r;
356
 
}
357
 
 
358
 
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
359
 
    const char *name, int exact); /*proto*/
360
 
 
361
 
static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
362
 
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
363
 
 
364
 
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/
365
 
 
366
 
static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
367
 
 
368
 
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
369
 
 
370
 
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
371
 
 
372
 
static INLINE void __Pyx_RaiseTooManyValuesError(void);
373
 
 
374
 
static PyObject *__Pyx_UnpackItem(PyObject *, Py_ssize_t index); /*proto*/
375
 
static int __Pyx_EndUnpack(PyObject *); /*proto*/
376
 
 
377
 
static INLINE int __Pyx_StrEq(const char *, const char *); /*proto*/
378
 
 
379
 
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
380
 
 
381
 
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
382
 
 
383
 
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
384
 
 
385
 
static INLINE char __Pyx_PyInt_AsChar(PyObject *);
386
 
 
387
 
static INLINE short __Pyx_PyInt_AsShort(PyObject *);
388
 
 
389
 
static INLINE int __Pyx_PyInt_AsInt(PyObject *);
390
 
 
391
 
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
392
 
 
393
 
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
394
 
 
395
 
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
396
 
 
397
 
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
398
 
 
399
 
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
400
 
 
401
 
static INLINE long __Pyx_PyInt_AsLong(PyObject *);
402
 
 
403
 
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
404
 
 
405
 
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
406
 
 
407
 
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
408
 
 
409
 
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig); /*proto*/
410
 
 
411
 
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, long size);  /*proto*/
412
 
 
413
 
static PyObject *__Pyx_ImportModule(const char *name); /*proto*/
414
 
 
415
 
static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/
416
 
 
417
 
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr); /*proto*/
418
 
 
419
 
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig); /*proto*/
420
 
 
421
 
static void __Pyx_AddTraceback(const char *funcname); /*proto*/
422
 
 
423
 
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
424
 
 
425
276
/* Type declarations */
426
277
 
427
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":21
428
 
 *     cpdef bint __enter__(self) except -1
429
 
 *     cpdef bint __exit__(self, a, b, c) except -1
430
 
 *     cpdef bint acquire(self, int blocking=*) except -1             # <<<<<<<<<<<<<<
431
 
 *     cpdef bint release(self) except -1
 
278
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":20
 
279
 *   ctypedef unsigned char hdset_reg_ref_t[12]
432
280
 * 
 
281
 * cdef union ref_u:             # <<<<<<<<<<<<<<
 
282
 *     hobj_ref_t         obj_ref
 
283
 *     hdset_reg_ref_t    reg_ref
433
284
 */
434
285
 
435
 
struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire {
436
 
  int __pyx_n;
437
 
  int blocking;
 
286
union __pyx_t_4h5py_3h5r_ref_u {
 
287
  hobj_ref_t obj_ref;
 
288
  hdset_reg_ref_t reg_ref;
438
289
};
439
290
 
440
 
/* "/home/tachyon/pydev/h5py/h5py/utils.pxd":20
441
 
 * cdef void efree(void* ptr)
442
 
 * 
443
 
 * cpdef int check_numpy_read(ndarray arr, hid_t space_id=*) except -1             # <<<<<<<<<<<<<<
444
 
 * cpdef int check_numpy_write(ndarray arr, hid_t space_id=*) except -1
445
 
 * 
446
 
 */
447
 
 
448
291
struct __pyx_opt_args_4h5py_5utils_check_numpy_read {
449
292
  int __pyx_n;
450
293
  hid_t space_id;
451
294
};
452
295
 
453
 
/* "/home/tachyon/pydev/h5py/h5py/utils.pxd":21
 
296
/* "/home/tachyon/slave/unix-release/build/h5py/utils.pxd":21
454
297
 * 
455
298
 * cpdef int check_numpy_read(ndarray arr, hid_t space_id=*) except -1
456
299
 * cpdef int check_numpy_write(ndarray arr, hid_t space_id=*) except -1             # <<<<<<<<<<<<<<
463
306
  hid_t space_id;
464
307
};
465
308
 
466
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":72
 
309
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":72
467
310
 * 
468
311
 * cdef TypeID typewrap(hid_t id_)
469
312
 * cpdef TypeID py_create(object dtype, bint logical=*)             # <<<<<<<<<<<<<<
476
319
  int logical;
477
320
};
478
321
 
479
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":39
 
322
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":28
480
323
 * cpdef H5PYConfig get_config()
481
324
 * 
482
325
 * cdef class ObjectID:             # <<<<<<<<<<<<<<
492
335
  PyObject *_hash;
493
336
};
494
337
 
495
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":23
 
338
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":23
496
339
 * # --- Base classes ---
497
340
 * 
498
341
 * cdef class PropID(ObjectID):             # <<<<<<<<<<<<<<
504
347
  struct __pyx_obj_4h5py_2h5_ObjectID __pyx_base;
505
348
};
506
349
 
507
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":33
 
350
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":33
508
351
 *     pass
509
352
 * 
510
353
 * cdef class PropInstanceID(PropID):             # <<<<<<<<<<<<<<
516
359
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
517
360
};
518
361
 
519
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":62
 
362
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":62
520
363
 * # --- Object access ---
521
364
 * 
522
365
 * cdef class PropFAID(PropInstanceID):             # <<<<<<<<<<<<<<
528
371
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
529
372
};
530
373
 
531
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":17
 
374
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":17
532
375
 * from h5 cimport class ObjectID
533
376
 * 
534
377
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
541
384
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtab;
542
385
};
543
386
 
544
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":40
 
387
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":40
545
388
 *     pass
546
389
 * 
547
390
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
553
396
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
554
397
};
555
398
 
556
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":39
 
399
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":39
557
400
 *     pass
558
401
 * 
559
402
 * cdef class PropCreateID(PropInstanceID):             # <<<<<<<<<<<<<<
565
408
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
566
409
};
567
410
 
568
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":55
 
411
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":55
569
412
 *     pass
570
413
 * 
571
414
 * cdef class PropFCID(PropCreateID):             # <<<<<<<<<<<<<<
577
420
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
578
421
};
579
422
 
580
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":27
 
423
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":27
581
424
 *     pass
582
425
 * 
583
426
 * cdef class PropClassID(PropID):             # <<<<<<<<<<<<<<
589
432
  struct __pyx_obj_4h5py_3h5p_PropID __pyx_base;
590
433
};
591
434
 
592
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":59
 
435
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":59
593
436
 * # --- Enums & compound types ---
594
437
 * 
595
438
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
601
444
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
602
445
};
603
446
 
604
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":66
 
447
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":66
605
448
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1
606
449
 * 
607
450
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
613
456
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
614
457
};
615
458
 
616
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":15
617
 
 * include "defs.pxd"
618
 
 * 
619
 
 * cdef class PHIL:             # <<<<<<<<<<<<<<
620
 
 * 
621
 
 *     cdef object lock
622
 
 */
623
 
 
624
 
struct __pyx_obj_4h5py_2h5_PHIL {
625
 
  PyObject_HEAD
626
 
  struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtab;
627
 
  PyObject *lock;
628
 
};
629
 
 
630
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":33
 
459
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":33
631
460
 *     pass
632
461
 * 
633
462
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
639
468
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
640
469
};
641
470
 
642
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":51
 
471
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":51
643
472
 * # --- Object creation ---
644
473
 * 
645
474
 * cdef class PropDCID(PropCreateID):             # <<<<<<<<<<<<<<
651
480
  struct __pyx_obj_4h5py_3h5p_PropCreateID __pyx_base;
652
481
};
653
482
 
654
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":37
 
483
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":37
655
484
 *     pass
656
485
 * 
657
486
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
663
492
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
664
493
};
665
494
 
666
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":23
 
495
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":24
 
496
 *     hdset_reg_ref_t    reg_ref
 
497
 * 
 
498
 * cdef class Reference:             # <<<<<<<<<<<<<<
 
499
 * 
 
500
 *     cdef ref_u ref
 
501
 */
 
502
 
 
503
struct __pyx_obj_4h5py_3h5r_Reference {
 
504
  PyObject_HEAD
 
505
  union __pyx_t_4h5py_3h5r_ref_u ref;
 
506
  int typecode;
 
507
  size_t typesize;
 
508
};
 
509
 
 
510
/* "/home/tachyon/slave/unix-release/build/h5py/h5r.pxd":30
 
511
 *     cdef readonly size_t typesize
 
512
 * 
 
513
 * cdef class RegionReference(Reference):             # <<<<<<<<<<<<<<
 
514
 * 
 
515
 *     pass
 
516
 */
 
517
 
 
518
struct __pyx_obj_4h5py_3h5r_RegionReference {
 
519
  struct __pyx_obj_4h5py_3h5r_Reference __pyx_base;
 
520
};
 
521
 
 
522
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":23
667
523
 * # --- Top-level classes ---
668
524
 * 
669
525
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
675
531
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
676
532
};
677
533
 
678
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":48
 
534
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":48
679
535
 * # --- Numeric atomic types ---
680
536
 * 
681
537
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
687
543
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
688
544
};
689
545
 
690
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":54
 
546
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":54
691
547
 *     pass
692
548
 * 
693
549
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
699
555
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
700
556
};
701
557
 
702
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":29
 
558
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":29
703
559
 *     pass
704
560
 * 
705
561
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
711
567
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
712
568
};
713
569
 
714
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":26
 
570
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":26
715
571
 *     pass
716
572
 * 
717
573
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
723
579
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
724
580
};
725
581
 
726
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":62
 
582
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":62
727
583
 *     pass
728
584
 * 
729
585
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
735
591
  struct __pyx_obj_4h5py_3h5t_TypeCompositeID __pyx_base;
736
592
};
737
593
 
738
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":26
739
 
 * cpdef PHIL get_phil()
 
594
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":15
 
595
 * include "defs.pxd"
740
596
 * 
741
597
 * cdef class H5PYConfig:             # <<<<<<<<<<<<<<
742
598
 * 
755
611
  PyObject *THREADS;
756
612
};
757
613
 
758
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":46
 
614
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":46
759
615
 *     pass
760
616
 * 
761
617
 * cdef class PropCopyID(PropInstanceID):             # <<<<<<<<<<<<<<
767
623
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
768
624
};
769
625
 
770
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":51
 
626
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":51
771
627
 *     pass
772
628
 * 
773
629
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
779
635
  struct __pyx_obj_4h5py_3h5t_TypeAtomicID __pyx_base;
780
636
};
781
637
 
782
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pxd":43
 
638
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pxd":43
783
639
 *     pass
784
640
 * 
785
641
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
791
647
  struct __pyx_obj_4h5py_3h5t_TypeID __pyx_base;
792
648
};
793
649
 
794
 
/* "/home/tachyon/pydev/h5py/h5py/h5p.pxd":66
 
650
/* "/home/tachyon/slave/unix-release/build/h5py/h5p.pxd":66
795
651
 *     pass
796
652
 * 
797
653
 * cdef class PropDXID(PropInstanceID):             # <<<<<<<<<<<<<<
803
659
  struct __pyx_obj_4h5py_3h5p_PropInstanceID __pyx_base;
804
660
};
805
661
 
806
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":46
 
662
/* "/home/tachyon/slave/unix-release/build/h5py/h5.pxd":35
807
663
 *     cdef object _hash
808
664
 * 
809
665
 * cdef class SmartStruct:             # <<<<<<<<<<<<<<
818
674
};
819
675
 
820
676
 
821
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":318
 
677
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":285
822
678
 * # === Base type class =========================================================
823
679
 * 
824
680
 * cdef class TypeID(ObjectID):             # <<<<<<<<<<<<<<
832
688
static struct __pyx_vtabstruct_4h5py_3h5t_TypeID *__pyx_vtabptr_4h5py_3h5t_TypeID;
833
689
 
834
690
 
835
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":924
 
691
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":898
836
692
 * # === Composite types (enums and compound) ====================================
837
693
 * 
838
694
 * cdef class TypeCompositeID(TypeID):             # <<<<<<<<<<<<<<
846
702
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID *__pyx_vtabptr_4h5py_3h5t_TypeCompositeID;
847
703
 
848
704
 
849
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":970
 
705
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":944
850
706
 * 
851
707
 * 
852
708
 * cdef class TypeCompoundID(TypeCompositeID):             # <<<<<<<<<<<<<<
860
716
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompoundID *__pyx_vtabptr_4h5py_3h5t_TypeCompoundID;
861
717
 
862
718
 
863
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":660
864
 
 *         return dtype("|S" + str(self.get_size()))
865
 
 * 
866
 
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
 
719
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":521
 
720
 * 
 
721
 * 
 
722
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
867
723
 * 
868
724
 *     """
869
725
 */
870
726
 
871
 
struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID {
 
727
struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID {
872
728
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
873
729
};
874
 
static struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID *__pyx_vtabptr_4h5py_3h5t_TypeVlenID;
875
 
 
876
 
 
877
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":511
 
730
static struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID *__pyx_vtabptr_4h5py_3h5t_TypeOpaqueID;
 
731
 
 
732
 
 
733
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":478
878
734
 * # === Top-level classes (inherit directly from TypeID) ========================
879
735
 * 
880
736
 * cdef class TypeArrayID(TypeID):             # <<<<<<<<<<<<<<
888
744
static struct __pyx_vtabstruct_4h5py_3h5t_TypeArrayID *__pyx_vtabptr_4h5py_3h5t_TypeArrayID;
889
745
 
890
746
 
891
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":691
 
747
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":665
892
748
 * # === Numeric classes (integers and floats) ===================================
893
749
 * 
894
750
 * cdef class TypeAtomicID(TypeID):             # <<<<<<<<<<<<<<
902
758
static struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID *__pyx_vtabptr_4h5py_3h5t_TypeAtomicID;
903
759
 
904
760
 
905
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":779
 
761
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":753
906
762
 * 
907
763
 * 
908
764
 * cdef class TypeIntegerID(TypeAtomicID):             # <<<<<<<<<<<<<<
916
772
static struct __pyx_vtabstruct_4h5py_3h5t_TypeIntegerID *__pyx_vtabptr_4h5py_3h5t_TypeIntegerID;
917
773
 
918
774
 
919
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":681
 
775
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":648
920
776
 *     pass
921
777
 * 
922
778
 * cdef class TypeReferenceID(TypeID):             # <<<<<<<<<<<<<<
930
786
static struct __pyx_vtabstruct_4h5py_3h5t_TypeReferenceID *__pyx_vtabptr_4h5py_3h5t_TypeReferenceID;
931
787
 
932
788
 
933
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":589
 
789
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":556
934
790
 *         return dtype("|V" + str(self.get_size()))
935
791
 * 
936
792
 * cdef class TypeStringID(TypeID):             # <<<<<<<<<<<<<<
944
800
static struct __pyx_vtabstruct_4h5py_3h5t_TypeStringID *__pyx_vtabptr_4h5py_3h5t_TypeStringID;
945
801
 
946
802
 
947
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":15
948
 
 * include "defs.pxd"
949
 
 * 
950
 
 * cdef class PHIL:             # <<<<<<<<<<<<<<
951
 
 * 
952
 
 *     cdef object lock
 
803
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":793
 
804
 * 
 
805
 * 
 
806
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
 
807
 * 
 
808
 *     """
953
809
 */
954
810
 
955
 
struct __pyx_vtabstruct_4h5py_2h5_PHIL {
956
 
  int (*__enter__)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
957
 
  int (*__exit__)(struct __pyx_obj_4h5py_2h5_PHIL *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch);
958
 
  int (*acquire)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_2h5_4PHIL_acquire *__pyx_optional_args);
959
 
  int (*release)(struct __pyx_obj_4h5py_2h5_PHIL *, int __pyx_skip_dispatch);
 
811
struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID {
 
812
  struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID __pyx_base;
960
813
};
961
 
static struct __pyx_vtabstruct_4h5py_2h5_PHIL *__pyx_vtabptr_4h5py_2h5_PHIL;
962
 
 
963
 
 
964
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":667
 
814
static struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID *__pyx_vtabptr_4h5py_3h5t_TypeFloatID;
 
815
 
 
816
 
 
817
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":634
965
818
 *     pass
966
819
 * 
967
820
 * cdef class TypeTimeID(TypeID):             # <<<<<<<<<<<<<<
975
828
static struct __pyx_vtabstruct_4h5py_3h5t_TypeTimeID *__pyx_vtabptr_4h5py_3h5t_TypeTimeID;
976
829
 
977
830
 
978
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":674
 
831
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":641
979
832
 *     pass
980
833
 * 
981
834
 * cdef class TypeBitfieldID(TypeID):             # <<<<<<<<<<<<<<
989
842
static struct __pyx_vtabstruct_4h5py_3h5t_TypeBitfieldID *__pyx_vtabptr_4h5py_3h5t_TypeBitfieldID;
990
843
 
991
844
 
992
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":554
993
 
 * 
994
 
 * 
995
 
 * cdef class TypeOpaqueID(TypeID):             # <<<<<<<<<<<<<<
 
845
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":627
 
846
 *         return dtype("|S" + str(self.get_size()))
 
847
 * 
 
848
 * cdef class TypeVlenID(TypeID):             # <<<<<<<<<<<<<<
996
849
 * 
997
850
 *     """
998
851
 */
999
852
 
1000
 
struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID {
 
853
struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID {
1001
854
  struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_base;
1002
855
};
1003
 
static struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID *__pyx_vtabptr_4h5py_3h5t_TypeOpaqueID;
1004
 
 
1005
 
 
1006
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":819
1007
 
 * 
1008
 
 * 
1009
 
 * cdef class TypeFloatID(TypeAtomicID):             # <<<<<<<<<<<<<<
1010
 
 * 
1011
 
 *     """
1012
 
 */
1013
 
 
1014
 
struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID {
1015
 
  struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID __pyx_base;
1016
 
};
1017
 
static struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID *__pyx_vtabptr_4h5py_3h5t_TypeFloatID;
1018
 
 
1019
 
 
1020
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1065
 
856
static struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID *__pyx_vtabptr_4h5py_3h5t_TypeVlenID;
 
857
 
 
858
 
 
859
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1039
1021
860
 *         return typeobj
1022
861
 * 
1023
862
 * cdef class TypeEnumID(TypeCompositeID):             # <<<<<<<<<<<<<<
1030
869
  int (*enum_convert)(struct __pyx_obj_4h5py_3h5t_TypeEnumID *, PY_LONG_LONG *, int);
1031
870
};
1032
871
static struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *__pyx_vtabptr_4h5py_3h5t_TypeEnumID;
 
872
 
 
873
#ifndef CYTHON_REFNANNY
 
874
  #define CYTHON_REFNANNY 0
 
875
#endif
 
876
 
 
877
#if CYTHON_REFNANNY
 
878
  typedef struct {
 
879
    void (*INCREF)(void*, PyObject*, int);
 
880
    void (*DECREF)(void*, PyObject*, int);
 
881
    void (*GOTREF)(void*, PyObject*, int);
 
882
    void (*GIVEREF)(void*, PyObject*, int);
 
883
    void* (*SetupContext)(const char*, int, const char*);
 
884
    void (*FinishContext)(void**);
 
885
  } __Pyx_RefNannyAPIStruct;
 
886
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
 
887
  static __Pyx_RefNannyAPIStruct * __Pyx_RefNannyImportAPI(const char *modname) {
 
888
    PyObject *m = NULL, *p = NULL;
 
889
    void *r = NULL;
 
890
    m = PyImport_ImportModule((char *)modname);
 
891
    if (!m) goto end;
 
892
    p = PyObject_GetAttrString(m, (char *)"RefNannyAPI");
 
893
    if (!p) goto end;
 
894
    r = PyLong_AsVoidPtr(p);
 
895
  end:
 
896
    Py_XDECREF(p);
 
897
    Py_XDECREF(m);
 
898
    return (__Pyx_RefNannyAPIStruct *)r;
 
899
  }
 
900
  #define __Pyx_RefNannySetupContext(name)           void *__pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
 
901
  #define __Pyx_RefNannyFinishContext()           __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
 
902
  #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
 
903
  #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
 
904
  #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
 
905
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
 
906
  #define __Pyx_XDECREF(r) do { if((r) != NULL) {__Pyx_DECREF(r);} } while(0)
 
907
#else
 
908
  #define __Pyx_RefNannySetupContext(name)
 
909
  #define __Pyx_RefNannyFinishContext()
 
910
  #define __Pyx_INCREF(r) Py_INCREF(r)
 
911
  #define __Pyx_DECREF(r) Py_DECREF(r)
 
912
  #define __Pyx_GOTREF(r)
 
913
  #define __Pyx_GIVEREF(r)
 
914
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
 
915
#endif /* CYTHON_REFNANNY */
 
916
#define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);} } while(0)
 
917
#define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r);} } while(0)
 
918
 
 
919
static INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
 
920
 
 
921
static void __Pyx_RaiseDoubleKeywordsError(
 
922
    const char* func_name, PyObject* kw_name); /*proto*/
 
923
 
 
924
static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
 
925
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/
 
926
 
 
927
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,     const char* function_name); /*proto*/
 
928
 
 
929
static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
930
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
931
 
 
932
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
933
 
 
934
 
 
935
static INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
 
936
    PyObject *r;
 
937
    if (!j) return NULL;
 
938
    r = PyObject_GetItem(o, j);
 
939
    Py_DECREF(j);
 
940
    return r;
 
941
}
 
942
 
 
943
 
 
944
#define __Pyx_GetItemInt_List(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
945
                                                    __Pyx_GetItemInt_List_Fast(o, i, size <= sizeof(long)) : \
 
946
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
947
 
 
948
static INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
949
    if (likely(o != Py_None)) {
 
950
        if (likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
 
951
            PyObject *r = PyList_GET_ITEM(o, i);
 
952
            Py_INCREF(r);
 
953
            return r;
 
954
        }
 
955
        else if ((-PyList_GET_SIZE(o) <= i) & (i < 0)) {
 
956
            PyObject *r = PyList_GET_ITEM(o, PyList_GET_SIZE(o) + i);
 
957
            Py_INCREF(r);
 
958
            return r;
 
959
        }
 
960
    }
 
961
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
962
}
 
963
 
 
964
#define __Pyx_GetItemInt_Tuple(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
965
                                                    __Pyx_GetItemInt_Tuple_Fast(o, i, size <= sizeof(long)) : \
 
966
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
967
 
 
968
static INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
969
    if (likely(o != Py_None)) {
 
970
        if (likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
 
971
            PyObject *r = PyTuple_GET_ITEM(o, i);
 
972
            Py_INCREF(r);
 
973
            return r;
 
974
        }
 
975
        else if ((-PyTuple_GET_SIZE(o) <= i) & (i < 0)) {
 
976
            PyObject *r = PyTuple_GET_ITEM(o, PyTuple_GET_SIZE(o) + i);
 
977
            Py_INCREF(r);
 
978
            return r;
 
979
        }
 
980
    }
 
981
    return __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
982
}
 
983
 
 
984
 
 
985
#define __Pyx_GetItemInt(o, i, size, to_py_func) ((size <= sizeof(Py_ssize_t)) ? \
 
986
                                                    __Pyx_GetItemInt_Fast(o, i, size <= sizeof(long)) : \
 
987
                                                    __Pyx_GetItemInt_Generic(o, to_py_func(i)))
 
988
 
 
989
static INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int fits_long) {
 
990
    PyObject *r;
 
991
    if (PyList_CheckExact(o) && ((0 <= i) & (i < PyList_GET_SIZE(o)))) {
 
992
        r = PyList_GET_ITEM(o, i);
 
993
        Py_INCREF(r);
 
994
    }
 
995
    else if (PyTuple_CheckExact(o) && ((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
 
996
        r = PyTuple_GET_ITEM(o, i);
 
997
        Py_INCREF(r);
 
998
    }
 
999
    else if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_item && (likely(i >= 0))) {
 
1000
        r = PySequence_GetItem(o, i);
 
1001
    }
 
1002
    else {
 
1003
        r = __Pyx_GetItemInt_Generic(o, fits_long ? PyInt_FromLong(i) : PyLong_FromLongLong(i));
 
1004
    }
 
1005
    return r;
 
1006
}
 
1007
 
 
1008
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
 
1009
 
 
1010
static INLINE void __Pyx_RaiseTooManyValuesError(void);
 
1011
 
 
1012
static PyObject *__Pyx_UnpackItem(PyObject *, Py_ssize_t index); /*proto*/
 
1013
static int __Pyx_EndUnpack(PyObject *); /*proto*/
 
1014
 
 
1015
static INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict,
 
1016
    const char* function_name, int kw_allowed); /*proto*/
 
1017
 
 
1018
static INLINE long __Pyx_NegateNonNeg(long b) { return unlikely(b < 0) ? b : !b; }
 
1019
static INLINE PyObject* __Pyx_PyBoolOrNull_FromLong(long b) {
 
1020
    return unlikely(b < 0) ? NULL : __Pyx_PyBool_FromLong(b);
 
1021
}
 
1022
 
 
1023
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
 
1024
    const char *name, int exact); /*proto*/
 
1025
 
 
1026
static INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
 
1027
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
1028
 
 
1029
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/
 
1030
 
 
1031
static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
 
1032
 
 
1033
static INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject *);
 
1034
 
 
1035
static INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t);
 
1036
 
 
1037
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
 
1038
 
 
1039
static INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t);
 
1040
 
 
1041
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
 
1042
 
 
1043
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
 
1044
 
 
1045
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
 
1046
 
 
1047
static INLINE char __Pyx_PyInt_AsChar(PyObject *);
 
1048
 
 
1049
static INLINE short __Pyx_PyInt_AsShort(PyObject *);
 
1050
 
 
1051
static INLINE int __Pyx_PyInt_AsInt(PyObject *);
 
1052
 
 
1053
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
 
1054
 
 
1055
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
 
1056
 
 
1057
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
 
1058
 
 
1059
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
 
1060
 
 
1061
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
 
1062
 
 
1063
static INLINE long __Pyx_PyInt_AsLong(PyObject *);
 
1064
 
 
1065
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
 
1066
 
 
1067
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
 
1068
 
 
1069
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
 
1070
 
 
1071
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig); /*proto*/
 
1072
 
 
1073
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, long size);  /*proto*/
 
1074
 
 
1075
static PyObject *__Pyx_ImportModule(const char *name); /*proto*/
 
1076
 
 
1077
static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/
 
1078
 
 
1079
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig); /*proto*/
 
1080
 
 
1081
static void __Pyx_AddTraceback(const char *funcname); /*proto*/
 
1082
 
 
1083
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
1033
1084
/* Module declarations from h5py.h5 */
1034
1085
 
1035
 
static PyTypeObject *__pyx_ptype_4h5py_2h5_PHIL = 0;
1036
1086
static PyTypeObject *__pyx_ptype_4h5py_2h5_H5PYConfig = 0;
1037
1087
static PyTypeObject *__pyx_ptype_4h5py_2h5_ObjectID = 0;
1038
1088
static PyTypeObject *__pyx_ptype_4h5py_2h5_SmartStruct = 0;
1039
 
static struct __pyx_obj_4h5py_2h5_PHIL *(*__pyx_f_4h5py_2h5_get_phil)(int __pyx_skip_dispatch); /*proto*/
1040
1089
static struct __pyx_obj_4h5py_2h5_H5PYConfig *(*__pyx_f_4h5py_2h5_get_config)(int __pyx_skip_dispatch); /*proto*/
1041
1090
static int (*__pyx_f_4h5py_2h5_init_hdf5)(void); /*proto*/
1042
 
static hid_t (*__pyx_f_4h5py_2h5_get_object_type)(void); /*proto*/
1043
 
static herr_t (*__pyx_f_4h5py_2h5_attr_rw)(hid_t, hid_t, void *, h5py_rw_t); /*proto*/
1044
 
static herr_t (*__pyx_f_4h5py_2h5_dset_rw)(hid_t, hid_t, hid_t, hid_t, hid_t, void *, h5py_rw_t); /*proto*/
1045
1091
/* Module declarations from h5py.h5p */
1046
1092
 
1047
1093
static PyTypeObject *__pyx_ptype_4h5py_3h5p_PropID = 0;
1061
1107
 
1062
1108
static PyTypeObject *__pyx_ptype_4h5py_5numpy_dtype = 0;
1063
1109
static PyTypeObject *__pyx_ptype_4h5py_5numpy_ndarray = 0;
 
1110
/* Module declarations from python_ref */
 
1111
 
1064
1112
/* Module declarations from python_string */
1065
1113
 
 
1114
/* Module declarations from h5py.h5r */
 
1115
 
 
1116
static PyTypeObject *__pyx_ptype_4h5py_3h5r_Reference = 0;
 
1117
static PyTypeObject *__pyx_ptype_4h5py_3h5r_RegionReference = 0;
1066
1118
/* Module declarations from h5py.utils */
1067
1119
 
1068
1120
static void *(*__pyx_f_4h5py_5utils_emalloc)(size_t); /*proto*/
1091
1143
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeEnumID = 0;
1092
1144
static PyTypeObject *__pyx_ptype_4h5py_3h5t_TypeCompoundID = 0;
1093
1145
static struct __pyx_obj_4h5py_2h5_H5PYConfig *__pyx_v_4h5py_3h5t_cfg = 0;
1094
 
static struct __pyx_obj_4h5py_2h5_PHIL *__pyx_v_4h5py_3h5t_phil = 0;
1095
1146
static PyObject *__pyx_v_4h5py_3h5t__order_map = 0;
1096
1147
static PyObject *__pyx_v_4h5py_3h5t__sign_map = 0;
1097
1148
static PyObject *__pyx_v_4h5py_3h5t__float_le = 0;
1115
1166
static struct __pyx_obj_4h5py_3h5t_TypeStringID *__pyx_f_4h5py_3h5t__c_string(PyArray_Descr *); /*proto*/
1116
1167
static struct __pyx_obj_4h5py_3h5t_TypeCompoundID *__pyx_f_4h5py_3h5t__c_complex(PyArray_Descr *); /*proto*/
1117
1168
static struct __pyx_obj_4h5py_3h5t_TypeCompoundID *__pyx_f_4h5py_3h5t__c_compound(PyArray_Descr *, int); /*proto*/
1118
 
static struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *__pyx_f_4h5py_3h5t__c_object(PyArray_Descr *); /*proto*/
1119
1169
static struct __pyx_obj_4h5py_3h5t_TypeStringID *__pyx_f_4h5py_3h5t__c_vlen_str(PyObject *); /*proto*/
1120
 
static PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_enum(PyArray_Descr *, PyObject *, int __pyx_skip_dispatch); /*proto*/
 
1170
static struct __pyx_obj_4h5py_3h5t_TypeReferenceID *__pyx_f_4h5py_3h5t__c_ref(PyObject *); /*proto*/
 
1171
static PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_enum(PyObject *, PyObject *, int __pyx_skip_dispatch); /*proto*/
1121
1172
static PyObject *__pyx_f_4h5py_3h5t_py_get_enum(PyObject *, int __pyx_skip_dispatch); /*proto*/
1122
1173
static PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_vlen(PyObject *, int __pyx_skip_dispatch); /*proto*/
1123
1174
static PyObject *__pyx_f_4h5py_3h5t_py_get_vlen(PyObject *, int __pyx_skip_dispatch); /*proto*/
1125
1176
int __pyx_module_is_main_h5py__h5t = 0;
1126
1177
 
1127
1178
/* Implementation of h5py.h5t */
1128
 
static char __pyx_k_125[] = " A Numpy-style dtype object representing this object.\n        ";
1129
 
static char __pyx_k_126[] = "\n    HDF5 \"H5T\" data-type API\n\n    This module contains the datatype identifier class TypeID, and its\n    subclasses which represent things like integer/float/compound identifiers.\n    The majority of the H5T API is presented as methods on these identifiers.\n\n    1. Translating between Numpy dtypes and HDF5 type objects\n\n       All identifier classes have a property \"dtype\", returning a Numpy\n       dtype which as closely as possible matches the HDF5 type.\n\n       The module function py_create is the complement to this property, and\n       is the standard way to translate Numpy dtypes to HDF5 type identifiers.\n       Unlike the dtype property, HDF5 datatypes returned by this function are\n       guaranteed to be binary-compatible with their Numpy dtype counterparts\n\n    2. Complex numbers\n\n       Complex number support has been refactored in this version of h5py.\n       HDF5 has no native concept of a complex number.  Numpy complex types\n       are translated to two-element compound types with two floating-point\n       fields. When a two-element compound type is encountered in a file with\n       compatible field names, it is treated as a complex type.\n\n       The names for complex types are set as a property on the global\n       configuration object, available at \"h5py.config\".\n\n    3. Enumerated types\n\n       NumPy has no native concept of an enumerated type.  Data of this type\n       will be read from the HDF5 file as integers, depending on the base\n       type of the enum.\n\n       You can get at the fields of an enum through the standard HDF5 API\n       calls, which are presented as methods of class TypeEnumID.\n       Additionally, the py_create function allows you to create HDF5\n       enumerated types by passing in a dictionary along with a Numpy dtype.\n\n    4. Variable-length types\n\n       \"VLEN\" datatype objects can be manipulated, but reading and writing data\n       in vlen format is not supported.  This applies to vlen strings as well.\n\n    5. Datatypes can be pickled if HDF5 1.8.X is available.\n";
1130
 
static char __pyx_k_164[] = "|";
1131
 
static char __pyx_k_165[] = "<";
1132
 
static char __pyx_k_166[] = ">";
1133
 
static PyObject *__pyx_int_4;
1134
 
static PyObject *__pyx_int_8;
1135
 
static PyObject *__pyx_int_1;
1136
 
static PyObject *__pyx_int_2;
1137
 
static PyObject *__pyx_int_0;
1138
 
static char __pyx_k___main__[] = "__main__";
1139
 
static PyObject *__pyx_kp___main__;
1140
 
static char __pyx_k___hash__[] = "__hash__";
1141
 
static PyObject *__pyx_kp___hash__;
1142
 
static char __pyx_k___richcmp__[] = "__richcmp__";
1143
 
static PyObject *__pyx_kp___richcmp__;
1144
 
static char __pyx_k___copy__[] = "__copy__";
1145
 
static PyObject *__pyx_kp___copy__;
1146
 
static char __pyx_k_commit[] = "commit";
1147
 
static PyObject *__pyx_kp_commit;
1148
 
static char __pyx_k_committed[] = "committed";
1149
 
static PyObject *__pyx_kp_committed;
1150
 
static char __pyx_k_copy[] = "copy";
1151
 
static PyObject *__pyx_kp_copy;
1152
 
static char __pyx_k_equal[] = "equal";
1153
 
static PyObject *__pyx_kp_equal;
1154
 
static char __pyx_k_lock[] = "lock";
1155
 
static PyObject *__pyx_kp_lock;
1156
 
static char __pyx_k_get_class[] = "get_class";
1157
 
static PyObject *__pyx_kp_get_class;
1158
 
static char __pyx_k_set_size[] = "set_size";
1159
 
static PyObject *__pyx_kp_set_size;
1160
 
static char __pyx_k_get_size[] = "get_size";
1161
 
static PyObject *__pyx_kp_get_size;
1162
 
static char __pyx_k_get_super[] = "get_super";
1163
 
static PyObject *__pyx_kp_get_super;
1164
 
static char __pyx_k_detect_class[] = "detect_class";
1165
 
static PyObject *__pyx_kp_detect_class;
1166
 
static char __pyx_k__close[] = "_close";
1167
 
static PyObject *__pyx_kp__close;
1168
 
static char __pyx_k_get_array_ndims[] = "get_array_ndims";
1169
 
static PyObject *__pyx_kp_get_array_ndims;
1170
 
static char __pyx_k_get_array_dims[] = "get_array_dims";
1171
 
static PyObject *__pyx_kp_get_array_dims;
1172
 
static char __pyx_k_set_tag[] = "set_tag";
1173
 
static PyObject *__pyx_kp_set_tag;
1174
 
static char __pyx_k_get_tag[] = "get_tag";
1175
 
static PyObject *__pyx_kp_get_tag;
1176
 
static char __pyx_k_is_variable_str[] = "is_variable_str";
1177
 
static PyObject *__pyx_kp_is_variable_str;
1178
 
static char __pyx_k_get_cset[] = "get_cset";
1179
 
static PyObject *__pyx_kp_get_cset;
1180
 
static char __pyx_k_set_cset[] = "set_cset";
1181
 
static PyObject *__pyx_kp_set_cset;
1182
 
static char __pyx_k_get_strpad[] = "get_strpad";
1183
 
static PyObject *__pyx_kp_get_strpad;
1184
 
static char __pyx_k_set_strpad[] = "set_strpad";
1185
 
static PyObject *__pyx_kp_set_strpad;
1186
 
static char __pyx_k_get_order[] = "get_order";
1187
 
static PyObject *__pyx_kp_get_order;
1188
 
static char __pyx_k_set_order[] = "set_order";
1189
 
static PyObject *__pyx_kp_set_order;
1190
 
static char __pyx_k_get_precision[] = "get_precision";
1191
 
static PyObject *__pyx_kp_get_precision;
1192
 
static char __pyx_k_set_precision[] = "set_precision";
1193
 
static PyObject *__pyx_kp_set_precision;
1194
 
static char __pyx_k_get_offset[] = "get_offset";
1195
 
static PyObject *__pyx_kp_get_offset;
1196
 
static char __pyx_k_set_offset[] = "set_offset";
1197
 
static PyObject *__pyx_kp_set_offset;
1198
 
static char __pyx_k_get_pad[] = "get_pad";
1199
 
static PyObject *__pyx_kp_get_pad;
1200
 
static char __pyx_k_set_pad[] = "set_pad";
1201
 
static PyObject *__pyx_kp_set_pad;
1202
 
static char __pyx_k_get_sign[] = "get_sign";
1203
 
static PyObject *__pyx_kp_get_sign;
1204
 
static char __pyx_k_set_sign[] = "set_sign";
1205
 
static PyObject *__pyx_kp_set_sign;
1206
 
static char __pyx_k_get_fields[] = "get_fields";
1207
 
static PyObject *__pyx_kp_get_fields;
1208
 
static char __pyx_k_set_fields[] = "set_fields";
1209
 
static PyObject *__pyx_kp_set_fields;
1210
 
static char __pyx_k_get_ebias[] = "get_ebias";
1211
 
static PyObject *__pyx_kp_get_ebias;
1212
 
static char __pyx_k_set_ebias[] = "set_ebias";
1213
 
static PyObject *__pyx_kp_set_ebias;
1214
 
static char __pyx_k_get_norm[] = "get_norm";
1215
 
static PyObject *__pyx_kp_get_norm;
1216
 
static char __pyx_k_set_norm[] = "set_norm";
1217
 
static PyObject *__pyx_kp_set_norm;
1218
 
static char __pyx_k_get_inpad[] = "get_inpad";
1219
 
static PyObject *__pyx_kp_get_inpad;
1220
 
static char __pyx_k_set_inpad[] = "set_inpad";
1221
 
static PyObject *__pyx_kp_set_inpad;
1222
 
static char __pyx_k_get_nmembers[] = "get_nmembers";
1223
 
static PyObject *__pyx_kp_get_nmembers;
1224
 
static char __pyx_k_get_member_name[] = "get_member_name";
1225
 
static PyObject *__pyx_kp_get_member_name;
1226
 
static char __pyx_k_get_member_index[] = "get_member_index";
1227
 
static PyObject *__pyx_kp_get_member_index;
1228
 
static char __pyx_k_get_member_class[] = "get_member_class";
1229
 
static PyObject *__pyx_kp_get_member_class;
1230
 
static char __pyx_k_get_member_offset[] = "get_member_offset";
1231
 
static PyObject *__pyx_kp_get_member_offset;
1232
 
static char __pyx_k_get_member_type[] = "get_member_type";
1233
 
static PyObject *__pyx_kp_get_member_type;
1234
 
static char __pyx_k_insert[] = "insert";
1235
 
static PyObject *__pyx_kp_insert;
1236
 
static char __pyx_k_pack[] = "pack";
1237
 
static PyObject *__pyx_kp_pack;
1238
 
static char __pyx_k_enum_insert[] = "enum_insert";
1239
 
static PyObject *__pyx_kp_enum_insert;
1240
 
static char __pyx_k_enum_nameof[] = "enum_nameof";
1241
 
static PyObject *__pyx_kp_enum_nameof;
1242
 
static char __pyx_k_enum_valueof[] = "enum_valueof";
1243
 
static PyObject *__pyx_kp_enum_valueof;
1244
 
static char __pyx_k_get_member_value[] = "get_member_value";
1245
 
static PyObject *__pyx_kp_get_member_value;
1246
 
static char __pyx_k_py_create[] = "py_create";
1247
 
static PyObject *__pyx_kp_py_create;
1248
 
static char __pyx_k_py_new_enum[] = "py_new_enum";
1249
 
static PyObject *__pyx_kp_py_new_enum;
1250
 
static char __pyx_k_py_get_enum[] = "py_get_enum";
1251
 
static PyObject *__pyx_kp_py_get_enum;
1252
 
static char __pyx_k_py_new_vlen[] = "py_new_vlen";
1253
 
static PyObject *__pyx_kp_py_new_vlen;
1254
 
static char __pyx_k_py_get_vlen[] = "py_get_vlen";
1255
 
static PyObject *__pyx_kp_py_get_vlen;
1256
 
static char __pyx_k_classtype[] = "classtype";
1257
 
static PyObject *__pyx_kp_classtype;
1258
 
static char __pyx_k_size[] = "size";
1259
 
static PyObject *__pyx_kp_size;
1260
 
static char __pyx_k_group[] = "group";
1261
 
static PyObject *__pyx_kp_group;
1262
 
static char __pyx_k_name[] = "name";
1263
 
static PyObject *__pyx_kp_name;
1264
 
static char __pyx_k_base[] = "base";
1265
 
static PyObject *__pyx_kp_base;
1266
 
static char __pyx_k_dims_tpl[] = "dims_tpl";
1267
 
static PyObject *__pyx_kp_dims_tpl;
1268
 
static char __pyx_k_self[] = "self";
1269
 
static PyObject *__pyx_kp_self;
1270
 
static char __pyx_k_other[] = "other";
1271
 
static PyObject *__pyx_kp_other;
1272
 
static char __pyx_k_how[] = "how";
1273
 
static PyObject *__pyx_kp_how;
1274
 
static char __pyx_k_typeid[] = "typeid";
1275
 
static PyObject *__pyx_kp_typeid;
1276
 
static char __pyx_k_tag[] = "tag";
1277
 
static PyObject *__pyx_kp_tag;
1278
 
static char __pyx_k_cset[] = "cset";
1279
 
static PyObject *__pyx_kp_cset;
1280
 
static char __pyx_k_pad[] = "pad";
1281
 
static PyObject *__pyx_kp_pad;
1282
 
static char __pyx_k_order[] = "order";
1283
 
static PyObject *__pyx_kp_order;
1284
 
static char __pyx_k_precision[] = "precision";
1285
 
static PyObject *__pyx_kp_precision;
1286
 
static char __pyx_k_offset[] = "offset";
1287
 
static PyObject *__pyx_kp_offset;
1288
 
static char __pyx_k_lsb[] = "lsb";
1289
 
static PyObject *__pyx_kp_lsb;
1290
 
static char __pyx_k_msb[] = "msb";
1291
 
static PyObject *__pyx_kp_msb;
1292
 
static char __pyx_k_sign[] = "sign";
1293
 
static PyObject *__pyx_kp_sign;
1294
 
static char __pyx_k_spos[] = "spos";
1295
 
static PyObject *__pyx_kp_spos;
1296
 
static char __pyx_k_epos[] = "epos";
1297
 
static PyObject *__pyx_kp_epos;
1298
 
static char __pyx_k_esize[] = "esize";
1299
 
static PyObject *__pyx_kp_esize;
1300
 
static char __pyx_k_mpos[] = "mpos";
1301
 
static PyObject *__pyx_kp_mpos;
1302
 
static char __pyx_k_msize[] = "msize";
1303
 
static PyObject *__pyx_kp_msize;
1304
 
static char __pyx_k_ebias[] = "ebias";
1305
 
static PyObject *__pyx_kp_ebias;
1306
 
static char __pyx_k_norm[] = "norm";
1307
 
static PyObject *__pyx_kp_norm;
1308
 
static char __pyx_k_pad_code[] = "pad_code";
1309
 
static PyObject *__pyx_kp_pad_code;
1310
 
static char __pyx_k_member[] = "member";
1311
 
static PyObject *__pyx_kp_member;
1312
 
static char __pyx_k_field[] = "field";
1313
 
static PyObject *__pyx_kp_field;
1314
 
static char __pyx_k_value[] = "value";
1315
 
static PyObject *__pyx_kp_value;
1316
 
static char __pyx_k_idx[] = "idx";
1317
 
static PyObject *__pyx_kp_idx;
1318
 
static char __pyx_k_dtype_in[] = "dtype_in";
1319
 
static PyObject *__pyx_kp_dtype_in;
1320
 
static char __pyx_k_logical[] = "logical";
1321
 
static PyObject *__pyx_kp_logical;
1322
 
static char __pyx_k_dt_in[] = "dt_in";
1323
 
static PyObject *__pyx_kp_dt_in;
1324
 
static char __pyx_k_enum_vals[] = "enum_vals";
1325
 
static PyObject *__pyx_kp_enum_vals;
1326
 
static char __pyx_k_dt[] = "dt";
1327
 
static PyObject *__pyx_kp_dt;
1328
 
static char __pyx_k_kind[] = "kind";
1329
 
static PyObject *__pyx_kp_kind;
1330
 
static char __pyx_k_src[] = "src";
1331
 
static PyObject *__pyx_kp_src;
1332
 
static char __pyx_k_dst[] = "dst";
1333
 
static PyObject *__pyx_kp_dst;
1334
 
static char __pyx_k___doc__[] = "__doc__";
1335
 
static PyObject *__pyx_kp___doc__;
1336
 
static char __pyx_k_sys[] = "sys";
1337
 
static PyObject *__pyx_kp_sys;
1338
 
static char __pyx_k_127[] = "h5";
1339
 
static PyObject *__pyx_kp_127;
1340
 
static char __pyx_k__sync[] = "_sync";
1341
 
static PyObject *__pyx_kp__sync;
1342
 
static char __pyx_k_sync[] = "sync";
1343
 
static PyObject *__pyx_kp_sync;
1344
 
static char __pyx_k_nosync[] = "nosync";
1345
 
static PyObject *__pyx_kp_nosync;
1346
 
static char __pyx_k_NO_CLASS[] = "NO_CLASS";
1347
 
static PyObject *__pyx_kp_NO_CLASS;
1348
 
static char __pyx_k_INTEGER[] = "INTEGER";
1349
 
static PyObject *__pyx_kp_INTEGER;
1350
 
static char __pyx_k_FLOAT[] = "FLOAT";
1351
 
static PyObject *__pyx_kp_FLOAT;
1352
 
static char __pyx_k_TIME[] = "TIME";
1353
 
static PyObject *__pyx_kp_TIME;
1354
 
static char __pyx_k_STRING[] = "STRING";
1355
 
static PyObject *__pyx_kp_STRING;
1356
 
static char __pyx_k_BITFIELD[] = "BITFIELD";
1357
 
static PyObject *__pyx_kp_BITFIELD;
1358
 
static char __pyx_k_OPAQUE[] = "OPAQUE";
1359
 
static PyObject *__pyx_kp_OPAQUE;
1360
 
static char __pyx_k_COMPOUND[] = "COMPOUND";
1361
 
static PyObject *__pyx_kp_COMPOUND;
1362
 
static char __pyx_k_REFERENCE[] = "REFERENCE";
1363
 
static PyObject *__pyx_kp_REFERENCE;
1364
 
static char __pyx_k_ENUM[] = "ENUM";
1365
 
static PyObject *__pyx_kp_ENUM;
1366
 
static char __pyx_k_VLEN[] = "VLEN";
1367
 
static PyObject *__pyx_kp_VLEN;
1368
 
static char __pyx_k_ARRAY[] = "ARRAY";
1369
 
static PyObject *__pyx_kp_ARRAY;
1370
 
static char __pyx_k_SGN_NONE[] = "SGN_NONE";
1371
 
static PyObject *__pyx_kp_SGN_NONE;
1372
 
static char __pyx_k_128[] = "SGN_2";
1373
 
static PyObject *__pyx_kp_128;
1374
 
static char __pyx_k_ORDER_LE[] = "ORDER_LE";
1375
 
static PyObject *__pyx_kp_ORDER_LE;
1376
 
static char __pyx_k_ORDER_BE[] = "ORDER_BE";
1377
 
static PyObject *__pyx_kp_ORDER_BE;
1378
 
static char __pyx_k_ORDER_VAX[] = "ORDER_VAX";
1379
 
static PyObject *__pyx_kp_ORDER_VAX;
1380
 
static char __pyx_k_ORDER_NONE[] = "ORDER_NONE";
1381
 
static PyObject *__pyx_kp_ORDER_NONE;
1382
 
static char __pyx_k_DIR_DEFAULT[] = "DIR_DEFAULT";
1383
 
static PyObject *__pyx_kp_DIR_DEFAULT;
1384
 
static char __pyx_k_DIR_ASCEND[] = "DIR_ASCEND";
1385
 
static PyObject *__pyx_kp_DIR_ASCEND;
1386
 
static char __pyx_k_DIR_DESCEND[] = "DIR_DESCEND";
1387
 
static PyObject *__pyx_kp_DIR_DESCEND;
1388
 
static char __pyx_k_STR_NULLTERM[] = "STR_NULLTERM";
1389
 
static PyObject *__pyx_kp_STR_NULLTERM;
1390
 
static char __pyx_k_STR_NULLPAD[] = "STR_NULLPAD";
1391
 
static PyObject *__pyx_kp_STR_NULLPAD;
1392
 
static char __pyx_k_STR_SPACEPAD[] = "STR_SPACEPAD";
1393
 
static PyObject *__pyx_kp_STR_SPACEPAD;
1394
 
static char __pyx_k_NORM_IMPLIED[] = "NORM_IMPLIED";
1395
 
static PyObject *__pyx_kp_NORM_IMPLIED;
1396
 
static char __pyx_k_NORM_MSBSET[] = "NORM_MSBSET";
1397
 
static PyObject *__pyx_kp_NORM_MSBSET;
1398
 
static char __pyx_k_NORM_NONE[] = "NORM_NONE";
1399
 
static PyObject *__pyx_kp_NORM_NONE;
1400
 
static char __pyx_k_CSET_ASCII[] = "CSET_ASCII";
1401
 
static PyObject *__pyx_kp_CSET_ASCII;
1402
 
static char __pyx_k_PAD_ZERO[] = "PAD_ZERO";
1403
 
static PyObject *__pyx_kp_PAD_ZERO;
1404
 
static char __pyx_k_PAD_ONE[] = "PAD_ONE";
1405
 
static PyObject *__pyx_kp_PAD_ONE;
1406
 
static char __pyx_k_PAD_BACKGROUND[] = "PAD_BACKGROUND";
1407
 
static PyObject *__pyx_kp_PAD_BACKGROUND;
1408
 
static char __pyx_k_byteorder[] = "byteorder";
1409
 
static PyObject *__pyx_kp_byteorder;
1410
 
static char __pyx_k_129[] = "little";
1411
 
static PyObject *__pyx_kp_129;
1412
 
static char __pyx_k_ORDER_NATIVE[] = "ORDER_NATIVE";
1413
 
static PyObject *__pyx_kp_ORDER_NATIVE;
1414
 
static char __pyx_k_130[] = "IEEE_F32LE";
1415
 
static PyObject *__pyx_kp_130;
1416
 
static char __pyx_k_131[] = "IEEE_F32BE";
1417
 
static PyObject *__pyx_kp_131;
1418
 
static char __pyx_k_132[] = "IEEE_F64LE";
1419
 
static PyObject *__pyx_kp_132;
1420
 
static char __pyx_k_133[] = "IEEE_F64BE";
1421
 
static PyObject *__pyx_kp_133;
1422
 
static char __pyx_k_134[] = "STD_I8LE";
1423
 
static PyObject *__pyx_kp_134;
1424
 
static char __pyx_k_135[] = "STD_I16LE";
1425
 
static PyObject *__pyx_kp_135;
1426
 
static char __pyx_k_136[] = "STD_I32LE";
1427
 
static PyObject *__pyx_kp_136;
1428
 
static char __pyx_k_137[] = "STD_I64LE";
1429
 
static PyObject *__pyx_kp_137;
1430
 
static char __pyx_k_138[] = "STD_I8BE";
1431
 
static PyObject *__pyx_kp_138;
1432
 
static char __pyx_k_139[] = "STD_I16BE";
1433
 
static PyObject *__pyx_kp_139;
1434
 
static char __pyx_k_140[] = "STD_I32BE";
1435
 
static PyObject *__pyx_kp_140;
1436
 
static char __pyx_k_141[] = "STD_I64BE";
1437
 
static PyObject *__pyx_kp_141;
1438
 
static char __pyx_k_142[] = "STD_U8LE";
1439
 
static PyObject *__pyx_kp_142;
1440
 
static char __pyx_k_143[] = "STD_U16LE";
1441
 
static PyObject *__pyx_kp_143;
1442
 
static char __pyx_k_144[] = "STD_U32LE";
1443
 
static PyObject *__pyx_kp_144;
1444
 
static char __pyx_k_145[] = "STD_U64LE";
1445
 
static PyObject *__pyx_kp_145;
1446
 
static char __pyx_k_146[] = "STD_U8BE";
1447
 
static PyObject *__pyx_kp_146;
1448
 
static char __pyx_k_147[] = "STD_U16BE";
1449
 
static PyObject *__pyx_kp_147;
1450
 
static char __pyx_k_148[] = "STD_U32BE";
1451
 
static PyObject *__pyx_kp_148;
1452
 
static char __pyx_k_149[] = "STD_U64BE";
1453
 
static PyObject *__pyx_kp_149;
1454
 
static char __pyx_k_150[] = "NATIVE_INT8";
1455
 
static PyObject *__pyx_kp_150;
1456
 
static char __pyx_k_151[] = "NATIVE_UINT8";
1457
 
static PyObject *__pyx_kp_151;
1458
 
static char __pyx_k_152[] = "NATIVE_INT16";
1459
 
static PyObject *__pyx_kp_152;
1460
 
static char __pyx_k_153[] = "NATIVE_UINT16";
1461
 
static PyObject *__pyx_kp_153;
1462
 
static char __pyx_k_154[] = "NATIVE_INT32";
1463
 
static PyObject *__pyx_kp_154;
1464
 
static char __pyx_k_155[] = "NATIVE_UINT32";
1465
 
static PyObject *__pyx_kp_155;
1466
 
static char __pyx_k_156[] = "NATIVE_INT64";
1467
 
static PyObject *__pyx_kp_156;
1468
 
static char __pyx_k_157[] = "NATIVE_UINT64";
1469
 
static PyObject *__pyx_kp_157;
1470
 
static char __pyx_k_NATIVE_FLOAT[] = "NATIVE_FLOAT";
1471
 
static PyObject *__pyx_kp_NATIVE_FLOAT;
1472
 
static char __pyx_k_NATIVE_DOUBLE[] = "NATIVE_DOUBLE";
1473
 
static PyObject *__pyx_kp_NATIVE_DOUBLE;
1474
 
static char __pyx_k_158[] = "UNIX_D32LE";
1475
 
static PyObject *__pyx_kp_158;
1476
 
static char __pyx_k_159[] = "UNIX_D64LE";
1477
 
static PyObject *__pyx_kp_159;
1478
 
static char __pyx_k_160[] = "UNIX_D32BE";
1479
 
static PyObject *__pyx_kp_160;
1480
 
static char __pyx_k_161[] = "UNIX_D64BE";
1481
 
static PyObject *__pyx_kp_161;
1482
 
static char __pyx_k_STD_REF_OBJ[] = "STD_REF_OBJ";
1483
 
static PyObject *__pyx_kp_STD_REF_OBJ;
1484
 
static char __pyx_k_STD_REF_DSETREG[] = "STD_REF_DSETREG";
1485
 
static PyObject *__pyx_kp_STD_REF_DSETREG;
1486
 
static char __pyx_k_162[] = "C_S1";
1487
 
static PyObject *__pyx_kp_162;
1488
 
static char __pyx_k_163[] = "FORTRAN_S1";
1489
 
static PyObject *__pyx_kp_163;
1490
 
static char __pyx_k_VARIABLE[] = "VARIABLE";
1491
 
static PyObject *__pyx_kp_VARIABLE;
1492
 
static char __pyx_k_PYTHON_OBJECT[] = "PYTHON_OBJECT";
1493
 
static PyObject *__pyx_kp_PYTHON_OBJECT;
1494
 
static char __pyx_k_167[] = "u";
1495
 
static PyObject *__pyx_kp_167;
1496
 
static char __pyx_k_168[] = "i";
1497
 
static PyObject *__pyx_kp_168;
1498
 
static char __pyx_k_create[] = "create";
1499
 
static PyObject *__pyx_kp_create;
1500
 
static char __pyx_k_open[] = "open";
1501
 
static PyObject *__pyx_kp_open;
1502
 
static char __pyx_k_array_create[] = "array_create";
1503
 
static PyObject *__pyx_kp_array_create;
1504
 
static char __pyx_k_enum_create[] = "enum_create";
1505
 
static PyObject *__pyx_kp_enum_create;
1506
 
static char __pyx_k_vlen_create[] = "vlen_create";
1507
 
static PyObject *__pyx_kp_vlen_create;
1508
 
static char __pyx_k_ValueError[] = "ValueError";
1509
 
static PyObject *__pyx_kp_ValueError;
1510
 
static char __pyx_k_TypeError[] = "TypeError";
1511
 
static PyObject *__pyx_kp_TypeError;
1512
 
static char __pyx_k_NotImplemented[] = "NotImplemented";
1513
 
static PyObject *__pyx_kp_NotImplemented;
1514
 
static char __pyx_k___class__[] = "__class__";
1515
 
static PyObject *__pyx_kp___class__;
1516
 
static char __pyx_k___name__[] = "__name__";
1517
 
static PyObject *__pyx_kp___name__;
1518
 
static char __pyx_k_175[] = "f";
1519
 
static PyObject *__pyx_kp_175;
1520
 
static char __pyx_k_180[] = "f";
1521
 
static PyObject *__pyx_kp_180;
1522
 
static char __pyx_k_str[] = "str";
1523
 
static PyObject *__pyx_kp_str;
1524
 
static char __pyx_k_181[] = "c";
1525
 
static PyObject *__pyx_kp_181;
1526
 
static char __pyx_k_zip[] = "zip";
1527
 
static PyObject *__pyx_kp_zip;
1528
 
static char __pyx_k_xrange[] = "xrange";
1529
 
static PyObject *__pyx_kp_xrange;
1530
 
static char __pyx_k_184[] = "bool";
1531
 
static PyObject *__pyx_kp_184;
1532
 
static char __pyx_k_sorted[] = "sorted";
1533
 
static PyObject *__pyx_kp_sorted;
1534
 
static char __pyx_k_subdtype[] = "subdtype";
1535
 
static PyObject *__pyx_kp_subdtype;
1536
 
static char __pyx_k_itemsize[] = "itemsize";
1537
 
static PyObject *__pyx_kp_itemsize;
1538
 
static char __pyx_k_names[] = "names";
1539
 
static PyObject *__pyx_kp_names;
1540
 
static char __pyx_k_192[] = "vals";
1541
 
static PyObject *__pyx_kp_192;
1542
 
static char __pyx_k_193[] = "enum";
1543
 
static PyObject *__pyx_kp_193;
1544
 
static char __pyx_k_194[] = "i";
1545
 
static PyObject *__pyx_kp_194;
1546
 
static char __pyx_k_195[] = "u";
1547
 
static PyObject *__pyx_kp_195;
1548
 
static char __pyx_k_fields[] = "fields";
1549
 
static PyObject *__pyx_kp_fields;
1550
 
static char __pyx_k_196[] = "enum";
1551
 
static PyObject *__pyx_kp_196;
1552
 
static char __pyx_k_197[] = "enum";
1553
 
static PyObject *__pyx_kp_197;
1554
 
static char __pyx_k_198[] = "vals";
1555
 
static PyObject *__pyx_kp_198;
1556
 
static char __pyx_k_199[] = "vals";
1557
 
static PyObject *__pyx_kp_199;
1558
 
static char __pyx_k_NotImplementedError[] = "NotImplementedError";
1559
 
static PyObject *__pyx_kp_NotImplementedError;
1560
 
static char __pyx_k_201[] = "O";
1561
 
static PyObject *__pyx_kp_201;
1562
 
static char __pyx_k_202[] = "type";
1563
 
static PyObject *__pyx_kp_202;
1564
 
static char __pyx_k_203[] = "vlen";
1565
 
static PyObject *__pyx_kp_203;
1566
 
static char __pyx_k_204[] = "O";
1567
 
static PyObject *__pyx_kp_204;
1568
 
static char __pyx_k_206[] = "vlen";
1569
 
static PyObject *__pyx_kp_206;
1570
 
static char __pyx_k_207[] = "vlen";
1571
 
static PyObject *__pyx_kp_207;
1572
 
static char __pyx_k_208[] = "type";
1573
 
static PyObject *__pyx_kp_208;
1574
 
static char __pyx_k_209[] = "type";
1575
 
static PyObject *__pyx_kp_209;
1576
 
static PyObject *__pyx_kp_126;
1577
 
static PyObject *__pyx_kp_164;
1578
 
static PyObject *__pyx_kp_165;
1579
 
static PyObject *__pyx_kp_166;
1580
1179
static PyObject *__pyx_builtin_ValueError;
1581
1180
static PyObject *__pyx_builtin_TypeError;
1582
1181
static PyObject *__pyx_builtin_NotImplemented;
1583
1182
static PyObject *__pyx_builtin_zip;
1584
1183
static PyObject *__pyx_builtin_xrange;
 
1184
static PyObject *__pyx_builtin_KeyError;
1585
1185
static PyObject *__pyx_builtin_sorted;
1586
1186
static PyObject *__pyx_builtin_NotImplementedError;
1587
 
static PyObject *__pyx_kp_169;
1588
 
static char __pyx_k_169[] = "Class must be COMPOUND or OPAQUE.";
1589
 
static char __pyx_k_170[] = "dims_tpl";
1590
 
static PyObject *__pyx_kp_171;
1591
 
static char __pyx_k_171[] = "Only committed types can be hashed";
1592
 
static PyObject *__pyx_kp_172;
1593
 
static char __pyx_k_172[] = "No NumPy equivalent for %s exists";
1594
 
static PyObject *__pyx_kp_173;
1595
 
static char __pyx_k_173[] = "|V";
1596
 
static PyObject *__pyx_kp_174;
1597
 
static char __pyx_k_174[] = "|S";
1598
 
static PyObject *__pyx_kp_176;
1599
 
static char __pyx_k_176[] = "Member index must be non-negative.";
1600
 
static PyObject *__pyx_kp_177;
1601
 
static char __pyx_k_177[] = "Member index must be non-negative.";
1602
 
static PyObject *__pyx_kp_178;
1603
 
static char __pyx_k_178[] = "Member index must be non-negative.";
1604
 
static PyObject *__pyx_kp_179;
1605
 
static char __pyx_k_179[] = "Member index must be non-negative.";
1606
 
static PyObject *__pyx_kp_182;
1607
 
static char __pyx_k_182[] = "This type (class %d) is not of class ENUM";
1608
 
static PyObject *__pyx_kp_183;
1609
 
static char __pyx_k_183[] = "Index must be non-negative.";
1610
 
static PyObject *__pyx_kp_185;
1611
 
static char __pyx_k_185[] = "Illegal int kind \"%s\"";
1612
 
static PyObject *__pyx_kp_186;
1613
 
static char __pyx_k_186[] = "Illegal length %d for complex dtype";
1614
 
static PyObject *__pyx_kp_187;
1615
 
static PyObject *__pyx_kp_188;
1616
 
static char __pyx_k_187[] = "Object dtype has no native HDF5 equivalent";
1617
 
static char __pyx_k_188[] = "No conversion path for dtype: %s";
1618
 
static PyObject *__pyx_kp_191;
1619
 
static char __pyx_k_189[] = "i";
1620
 
static char __pyx_k_190[] = "u";
1621
 
static char __pyx_k_191[] = "Only integer types can be used as enums";
1622
 
static PyObject *__pyx_kp_200;
1623
 
static char __pyx_k_200[] = "Only string vlens are currently supported";
1624
 
static char __pyx_k_205[] = "O";
 
1187
static char __pyx_k_1[] = "Class must be COMPOUND or OPAQUE.";
 
1188
static char __pyx_k_2[] = "Only committed types can be hashed";
 
1189
static char __pyx_k_3[] = "No NumPy equivalent for %s exists";
 
1190
static char __pyx_k_4[] = "|V";
 
1191
static char __pyx_k_5[] = "|S";
 
1192
static char __pyx_k_6[] = "Unknown reference type";
 
1193
static char __pyx_k_7[] = "Member index must be non-negative.";
 
1194
static char __pyx_k_8[] = "This type (class %d) is not of class ENUM";
 
1195
static char __pyx_k_9[] = "Index must be non-negative.";
 
1196
static char __pyx_k_10[] = "Unsupported float size (%s)";
 
1197
static char __pyx_k_11[] = "Illegal int kind \"%s\"";
 
1198
static char __pyx_k_12[] = "Unsupported integer size (%s)";
 
1199
static char __pyx_k_13[] = "Array shape for dtype must be a sequence or integer";
 
1200
static char __pyx_k_14[] = "Illegal length %d for complex dtype";
 
1201
static char __pyx_k_15[] = "Unrecognized reference code";
 
1202
static char __pyx_k_16[] = "Object dtype %r has no native HDF5 equivalent";
 
1203
static char __pyx_k_17[] = "No conversion path for dtype: %s";
 
1204
static char __pyx_k_18[] = "Exactly one keyword may be provided";
 
1205
static char __pyx_k_19[] = "Only string vlens are currently supported";
 
1206
static char __pyx_k_20[] = "Enums must be created from a 2-tuple (basetype, values_dict)";
 
1207
static char __pyx_k_21[] = "Only integer types can be used as enums";
 
1208
static char __pyx_k_22[] = "Ref class must be Reference or RegionReference";
 
1209
static char __pyx_k_23[] = "Unknown special type \"%s\"";
 
1210
static char __pyx_k_24[] = " A Numpy-style dtype object representing this object.\n        ";
 
1211
static char __pyx_k_25[] = "\n    HDF5 \"H5T\" data-type API\n\n    This module contains the datatype identifier class TypeID, and its\n    subclasses which represent things like integer/float/compound identifiers.\n    The majority of the H5T API is presented as methods on these identifiers.\n";
 
1212
static char __pyx_k_26[] = "|";
 
1213
static char __pyx_k_27[] = "<";
 
1214
static char __pyx_k_28[] = ">";
 
1215
static char __pyx_k__O[] = "O";
 
1216
static char __pyx_k__c[] = "c";
 
1217
static char __pyx_k__f[] = "f";
 
1218
static char __pyx_k__i[] = "i";
 
1219
static char __pyx_k__n[] = "n";
 
1220
static char __pyx_k__u[] = "u";
 
1221
static char __pyx_k__h5[] = "h5";
 
1222
static char __pyx_k__id[] = "id";
 
1223
static char __pyx_k__iu[] = "iu";
 
1224
static char __pyx_k__bkg[] = "bkg";
 
1225
static char __pyx_k__buf[] = "buf";
 
1226
static char __pyx_k__dst[] = "dst";
 
1227
static char __pyx_k__lsb[] = "lsb";
 
1228
static char __pyx_k__msb[] = "msb";
 
1229
static char __pyx_k__ref[] = "ref";
 
1230
static char __pyx_k__src[] = "src";
 
1231
static char __pyx_k__str[] = "str";
 
1232
static char __pyx_k__sys[] = "sys";
 
1233
static char __pyx_k__zip[] = "zip";
 
1234
static char __pyx_k__C_S1[] = "C_S1";
 
1235
static char __pyx_k__ENUM[] = "ENUM";
 
1236
static char __pyx_k__TIME[] = "TIME";
 
1237
static char __pyx_k__VLEN[] = "VLEN";
 
1238
static char __pyx_k__base[] = "base";
 
1239
static char __pyx_k__bool[] = "bool";
 
1240
static char __pyx_k__copy[] = "copy";
 
1241
static char __pyx_k__data[] = "data";
 
1242
static char __pyx_k__dxpl[] = "dxpl";
 
1243
static char __pyx_k__enum[] = "enum";
 
1244
static char __pyx_k__epos[] = "epos";
 
1245
static char __pyx_k__kind[] = "kind";
 
1246
static char __pyx_k__mpos[] = "mpos";
 
1247
static char __pyx_k__name[] = "name";
 
1248
static char __pyx_k__size[] = "size";
 
1249
static char __pyx_k__spos[] = "spos";
 
1250
static char __pyx_k__type[] = "type";
 
1251
static char __pyx_k__vals[] = "vals";
 
1252
static char __pyx_k__vlen[] = "vlen";
 
1253
static char __pyx_k__ARRAY[] = "ARRAY";
 
1254
static char __pyx_k__FLOAT[] = "FLOAT";
 
1255
static char __pyx_k__SGN_2[] = "SGN_2";
 
1256
static char __pyx_k___conv[] = "_conv";
 
1257
static char __pyx_k___hash[] = "_hash";
 
1258
static char __pyx_k__dt_in[] = "dt_in";
 
1259
static char __pyx_k__equal[] = "equal";
 
1260
static char __pyx_k__esize[] = "esize";
 
1261
static char __pyx_k__field[] = "field";
 
1262
static char __pyx_k__group[] = "group";
 
1263
static char __pyx_k__msize[] = "msize";
 
1264
static char __pyx_k__names[] = "names";
 
1265
static char __pyx_k__value[] = "value";
 
1266
static char __pyx_k__BKG_NO[] = "BKG_NO";
 
1267
static char __pyx_k__OPAQUE[] = "OPAQUE";
 
1268
static char __pyx_k__STRING[] = "STRING";
 
1269
static char __pyx_k__elsize[] = "elsize";
 
1270
static char __pyx_k__fields[] = "fields";
 
1271
static char __pyx_k__little[] = "little";
 
1272
static char __pyx_k__offset[] = "offset";
 
1273
static char __pyx_k__sorted[] = "sorted";
 
1274
static char __pyx_k__xrange[] = "xrange";
 
1275
static char __pyx_k__BKG_YES[] = "BKG_YES";
 
1276
static char __pyx_k__INTEGER[] = "INTEGER";
 
1277
static char __pyx_k__PAD_ONE[] = "PAD_ONE";
 
1278
static char __pyx_k___f_name[] = "_f_name";
 
1279
static char __pyx_k___i_name[] = "_i_name";
 
1280
static char __pyx_k___locked[] = "_locked";
 
1281
static char __pyx_k___r_name[] = "_r_name";
 
1282
static char __pyx_k___t_name[] = "_t_name";
 
1283
static char __pyx_k__logical[] = "logical";
 
1284
static char __pyx_k__popitem[] = "popitem";
 
1285
static char __pyx_k__BITFIELD[] = "BITFIELD";
 
1286
static char __pyx_k__BKG_TEMP[] = "BKG_TEMP";
 
1287
static char __pyx_k__COMPOUND[] = "COMPOUND";
 
1288
static char __pyx_k__KeyError[] = "KeyError";
 
1289
static char __pyx_k__NO_CLASS[] = "NO_CLASS";
 
1290
static char __pyx_k__ORDER_BE[] = "ORDER_BE";
 
1291
static char __pyx_k__ORDER_LE[] = "ORDER_LE";
 
1292
static char __pyx_k__PAD_ZERO[] = "PAD_ZERO";
 
1293
static char __pyx_k__SGN_NONE[] = "SGN_NONE";
 
1294
static char __pyx_k__STD_I8BE[] = "STD_I8BE";
 
1295
static char __pyx_k__STD_I8LE[] = "STD_I8LE";
 
1296
static char __pyx_k__STD_U8BE[] = "STD_U8BE";
 
1297
static char __pyx_k__STD_U8LE[] = "STD_U8LE";
 
1298
static char __pyx_k__VARIABLE[] = "VARIABLE";
 
1299
static char __pyx_k____copy__[] = "__copy__";
 
1300
static char __pyx_k____hash__[] = "__hash__";
 
1301
static char __pyx_k____main__[] = "__main__";
 
1302
static char __pyx_k____name__[] = "__name__";
 
1303
static char __pyx_k__dims_tpl[] = "dims_tpl";
 
1304
static char __pyx_k__dtype_in[] = "dtype_in";
 
1305
static char __pyx_k__get_sign[] = "get_sign";
 
1306
static char __pyx_k__get_size[] = "get_size";
 
1307
static char __pyx_k__itemsize[] = "itemsize";
 
1308
static char __pyx_k__need_bkg[] = "need_bkg";
 
1309
static char __pyx_k__py_dtype[] = "py_dtype";
 
1310
static char __pyx_k__subdtype[] = "subdtype";
 
1311
static char __pyx_k__warnings[] = "warnings";
 
1312
static char __pyx_k__NORM_NONE[] = "NORM_NONE";
 
1313
static char __pyx_k__ORDER_VAX[] = "ORDER_VAX";
 
1314
static char __pyx_k__REFERENCE[] = "REFERENCE";
 
1315
static char __pyx_k__STD_I16BE[] = "STD_I16BE";
 
1316
static char __pyx_k__STD_I16LE[] = "STD_I16LE";
 
1317
static char __pyx_k__STD_I32BE[] = "STD_I32BE";
 
1318
static char __pyx_k__STD_I32LE[] = "STD_I32LE";
 
1319
static char __pyx_k__STD_I64BE[] = "STD_I64BE";
 
1320
static char __pyx_k__STD_I64LE[] = "STD_I64LE";
 
1321
static char __pyx_k__STD_U16BE[] = "STD_U16BE";
 
1322
static char __pyx_k__STD_U16LE[] = "STD_U16LE";
 
1323
static char __pyx_k__STD_U32BE[] = "STD_U32BE";
 
1324
static char __pyx_k__STD_U32LE[] = "STD_U32LE";
 
1325
static char __pyx_k__STD_U64BE[] = "STD_U64BE";
 
1326
static char __pyx_k__STD_U64LE[] = "STD_U64LE";
 
1327
static char __pyx_k__TypeError[] = "TypeError";
 
1328
static char __pyx_k____class__[] = "__class__";
 
1329
static char __pyx_k__byteorder[] = "byteorder";
 
1330
static char __pyx_k__classtype[] = "classtype";
 
1331
static char __pyx_k__enum_vals[] = "enum_vals";
 
1332
static char __pyx_k__get_order[] = "get_order";
 
1333
static char __pyx_k__get_super[] = "get_super";
 
1334
static char __pyx_k__py_create[] = "py_create";
 
1335
static char __pyx_k__CSET_ASCII[] = "CSET_ASCII";
 
1336
static char __pyx_k__DIR_ASCEND[] = "DIR_ASCEND";
 
1337
static char __pyx_k__FORTRAN_S1[] = "FORTRAN_S1";
 
1338
static char __pyx_k__IEEE_F32BE[] = "IEEE_F32BE";
 
1339
static char __pyx_k__IEEE_F32LE[] = "IEEE_F32LE";
 
1340
static char __pyx_k__IEEE_F64BE[] = "IEEE_F64BE";
 
1341
static char __pyx_k__IEEE_F64LE[] = "IEEE_F64LE";
 
1342
static char __pyx_k__ORDER_NONE[] = "ORDER_NONE";
 
1343
static char __pyx_k__UNIX_D32BE[] = "UNIX_D32BE";
 
1344
static char __pyx_k__UNIX_D32LE[] = "UNIX_D32LE";
 
1345
static char __pyx_k__UNIX_D64BE[] = "UNIX_D64BE";
 
1346
static char __pyx_k__UNIX_D64LE[] = "UNIX_D64LE";
 
1347
static char __pyx_k__ValueError[] = "ValueError";
 
1348
static char __pyx_k__DIR_DEFAULT[] = "DIR_DEFAULT";
 
1349
static char __pyx_k__DIR_DESCEND[] = "DIR_DESCEND";
 
1350
static char __pyx_k__NATIVE_INT8[] = "NATIVE_INT8";
 
1351
static char __pyx_k__NORM_MSBSET[] = "NORM_MSBSET";
 
1352
static char __pyx_k__STD_REF_OBJ[] = "STD_REF_OBJ";
 
1353
static char __pyx_k__STR_NULLPAD[] = "STR_NULLPAD";
 
1354
static char __pyx_k__check_dtype[] = "check_dtype";
 
1355
static char __pyx_k__enum_insert[] = "enum_insert";
 
1356
static char __pyx_k__NATIVE_FLOAT[] = "NATIVE_FLOAT";
 
1357
static char __pyx_k__NATIVE_INT16[] = "NATIVE_INT16";
 
1358
static char __pyx_k__NATIVE_INT32[] = "NATIVE_INT32";
 
1359
static char __pyx_k__NATIVE_INT64[] = "NATIVE_INT64";
 
1360
static char __pyx_k__NATIVE_UINT8[] = "NATIVE_UINT8";
 
1361
static char __pyx_k__NORM_IMPLIED[] = "NORM_IMPLIED";
 
1362
static char __pyx_k__ORDER_NATIVE[] = "ORDER_NATIVE";
 
1363
static char __pyx_k__STR_NULLTERM[] = "STR_NULLTERM";
 
1364
static char __pyx_k__STR_SPACEPAD[] = "STR_SPACEPAD";
 
1365
static char __pyx_k__array_create[] = "array_create";
 
1366
static char __pyx_k__detect_class[] = "detect_class";
 
1367
static char __pyx_k__enum_convert[] = "enum_convert";
 
1368
static char __pyx_k__get_nmembers[] = "get_nmembers";
 
1369
static char __pyx_k__NATIVE_DOUBLE[] = "NATIVE_DOUBLE";
 
1370
static char __pyx_k__NATIVE_UINT16[] = "NATIVE_UINT16";
 
1371
static char __pyx_k__NATIVE_UINT32[] = "NATIVE_UINT32";
 
1372
static char __pyx_k__NATIVE_UINT64[] = "NATIVE_UINT64";
 
1373
static char __pyx_k__PYTHON_OBJECT[] = "PYTHON_OBJECT";
 
1374
static char __pyx_k__special_dtype[] = "special_dtype";
 
1375
static char __pyx_k__NotImplemented[] = "NotImplemented";
 
1376
static char __pyx_k__PAD_BACKGROUND[] = "PAD_BACKGROUND";
 
1377
static char __pyx_k__get_array_dims[] = "get_array_dims";
 
1378
static char __pyx_k__get_python_obj[] = "get_python_obj";
 
1379
static char __pyx_k__STD_REF_DSETREG[] = "STD_REF_DSETREG";
 
1380
static char __pyx_k__get_member_name[] = "get_member_name";
 
1381
static char __pyx_k__get_member_type[] = "get_member_type";
 
1382
static char __pyx_k__is_variable_str[] = "is_variable_str";
 
1383
static char __pyx_k__get_member_value[] = "get_member_value";
 
1384
static char __pyx_k__NotImplementedError[] = "NotImplementedError";
 
1385
static PyObject *__pyx_kp_s_1;
 
1386
static PyObject *__pyx_kp_s_10;
 
1387
static PyObject *__pyx_kp_s_11;
 
1388
static PyObject *__pyx_kp_s_12;
 
1389
static PyObject *__pyx_kp_s_13;
 
1390
static PyObject *__pyx_kp_s_14;
 
1391
static PyObject *__pyx_kp_s_15;
 
1392
static PyObject *__pyx_kp_s_16;
 
1393
static PyObject *__pyx_kp_s_17;
 
1394
static PyObject *__pyx_kp_s_18;
 
1395
static PyObject *__pyx_kp_s_19;
 
1396
static PyObject *__pyx_kp_s_2;
 
1397
static PyObject *__pyx_kp_s_20;
 
1398
static PyObject *__pyx_kp_s_21;
 
1399
static PyObject *__pyx_kp_s_22;
 
1400
static PyObject *__pyx_kp_s_23;
 
1401
static PyObject *__pyx_kp_s_26;
 
1402
static PyObject *__pyx_kp_s_27;
 
1403
static PyObject *__pyx_kp_s_28;
 
1404
static PyObject *__pyx_kp_s_3;
 
1405
static PyObject *__pyx_kp_s_4;
 
1406
static PyObject *__pyx_kp_s_5;
 
1407
static PyObject *__pyx_kp_s_6;
 
1408
static PyObject *__pyx_kp_s_7;
 
1409
static PyObject *__pyx_kp_s_8;
 
1410
static PyObject *__pyx_kp_s_9;
 
1411
static PyObject *__pyx_n_s__ARRAY;
 
1412
static PyObject *__pyx_n_s__BITFIELD;
 
1413
static PyObject *__pyx_n_s__BKG_NO;
 
1414
static PyObject *__pyx_n_s__BKG_TEMP;
 
1415
static PyObject *__pyx_n_s__BKG_YES;
 
1416
static PyObject *__pyx_n_s__COMPOUND;
 
1417
static PyObject *__pyx_n_s__CSET_ASCII;
 
1418
static PyObject *__pyx_n_s__C_S1;
 
1419
static PyObject *__pyx_n_s__DIR_ASCEND;
 
1420
static PyObject *__pyx_n_s__DIR_DEFAULT;
 
1421
static PyObject *__pyx_n_s__DIR_DESCEND;
 
1422
static PyObject *__pyx_n_s__ENUM;
 
1423
static PyObject *__pyx_n_s__FLOAT;
 
1424
static PyObject *__pyx_n_s__FORTRAN_S1;
 
1425
static PyObject *__pyx_n_s__IEEE_F32BE;
 
1426
static PyObject *__pyx_n_s__IEEE_F32LE;
 
1427
static PyObject *__pyx_n_s__IEEE_F64BE;
 
1428
static PyObject *__pyx_n_s__IEEE_F64LE;
 
1429
static PyObject *__pyx_n_s__INTEGER;
 
1430
static PyObject *__pyx_n_s__KeyError;
 
1431
static PyObject *__pyx_n_s__NATIVE_DOUBLE;
 
1432
static PyObject *__pyx_n_s__NATIVE_FLOAT;
 
1433
static PyObject *__pyx_n_s__NATIVE_INT16;
 
1434
static PyObject *__pyx_n_s__NATIVE_INT32;
 
1435
static PyObject *__pyx_n_s__NATIVE_INT64;
 
1436
static PyObject *__pyx_n_s__NATIVE_INT8;
 
1437
static PyObject *__pyx_n_s__NATIVE_UINT16;
 
1438
static PyObject *__pyx_n_s__NATIVE_UINT32;
 
1439
static PyObject *__pyx_n_s__NATIVE_UINT64;
 
1440
static PyObject *__pyx_n_s__NATIVE_UINT8;
 
1441
static PyObject *__pyx_n_s__NORM_IMPLIED;
 
1442
static PyObject *__pyx_n_s__NORM_MSBSET;
 
1443
static PyObject *__pyx_n_s__NORM_NONE;
 
1444
static PyObject *__pyx_n_s__NO_CLASS;
 
1445
static PyObject *__pyx_n_s__NotImplemented;
 
1446
static PyObject *__pyx_n_s__NotImplementedError;
 
1447
static PyObject *__pyx_n_s__O;
 
1448
static PyObject *__pyx_n_s__OPAQUE;
 
1449
static PyObject *__pyx_n_s__ORDER_BE;
 
1450
static PyObject *__pyx_n_s__ORDER_LE;
 
1451
static PyObject *__pyx_n_s__ORDER_NATIVE;
 
1452
static PyObject *__pyx_n_s__ORDER_NONE;
 
1453
static PyObject *__pyx_n_s__ORDER_VAX;
 
1454
static PyObject *__pyx_n_s__PAD_BACKGROUND;
 
1455
static PyObject *__pyx_n_s__PAD_ONE;
 
1456
static PyObject *__pyx_n_s__PAD_ZERO;
 
1457
static PyObject *__pyx_n_s__PYTHON_OBJECT;
 
1458
static PyObject *__pyx_n_s__REFERENCE;
 
1459
static PyObject *__pyx_n_s__SGN_2;
 
1460
static PyObject *__pyx_n_s__SGN_NONE;
 
1461
static PyObject *__pyx_n_s__STD_I16BE;
 
1462
static PyObject *__pyx_n_s__STD_I16LE;
 
1463
static PyObject *__pyx_n_s__STD_I32BE;
 
1464
static PyObject *__pyx_n_s__STD_I32LE;
 
1465
static PyObject *__pyx_n_s__STD_I64BE;
 
1466
static PyObject *__pyx_n_s__STD_I64LE;
 
1467
static PyObject *__pyx_n_s__STD_I8BE;
 
1468
static PyObject *__pyx_n_s__STD_I8LE;
 
1469
static PyObject *__pyx_n_s__STD_REF_DSETREG;
 
1470
static PyObject *__pyx_n_s__STD_REF_OBJ;
 
1471
static PyObject *__pyx_n_s__STD_U16BE;
 
1472
static PyObject *__pyx_n_s__STD_U16LE;
 
1473
static PyObject *__pyx_n_s__STD_U32BE;
 
1474
static PyObject *__pyx_n_s__STD_U32LE;
 
1475
static PyObject *__pyx_n_s__STD_U64BE;
 
1476
static PyObject *__pyx_n_s__STD_U64LE;
 
1477
static PyObject *__pyx_n_s__STD_U8BE;
 
1478
static PyObject *__pyx_n_s__STD_U8LE;
 
1479
static PyObject *__pyx_n_s__STRING;
 
1480
static PyObject *__pyx_n_s__STR_NULLPAD;
 
1481
static PyObject *__pyx_n_s__STR_NULLTERM;
 
1482
static PyObject *__pyx_n_s__STR_SPACEPAD;
 
1483
static PyObject *__pyx_n_s__TIME;
 
1484
static PyObject *__pyx_n_s__TypeError;
 
1485
static PyObject *__pyx_n_s__UNIX_D32BE;
 
1486
static PyObject *__pyx_n_s__UNIX_D32LE;
 
1487
static PyObject *__pyx_n_s__UNIX_D64BE;
 
1488
static PyObject *__pyx_n_s__UNIX_D64LE;
 
1489
static PyObject *__pyx_n_s__VARIABLE;
 
1490
static PyObject *__pyx_n_s__VLEN;
 
1491
static PyObject *__pyx_n_s__ValueError;
 
1492
static PyObject *__pyx_n_s____class__;
 
1493
static PyObject *__pyx_n_s____copy__;
 
1494
static PyObject *__pyx_n_s____hash__;
 
1495
static PyObject *__pyx_n_s____main__;
 
1496
static PyObject *__pyx_n_s____name__;
 
1497
static PyObject *__pyx_n_s___conv;
 
1498
static PyObject *__pyx_n_s___f_name;
 
1499
static PyObject *__pyx_n_s___hash;
 
1500
static PyObject *__pyx_n_s___i_name;
 
1501
static PyObject *__pyx_n_s___locked;
 
1502
static PyObject *__pyx_n_s___r_name;
 
1503
static PyObject *__pyx_n_s___t_name;
 
1504
static PyObject *__pyx_n_s__array_create;
 
1505
static PyObject *__pyx_n_s__base;
 
1506
static PyObject *__pyx_n_s__bkg;
 
1507
static PyObject *__pyx_n_s__bool;
 
1508
static PyObject *__pyx_n_s__buf;
 
1509
static PyObject *__pyx_n_s__byteorder;
 
1510
static PyObject *__pyx_n_s__c;
 
1511
static PyObject *__pyx_n_s__check_dtype;
 
1512
static PyObject *__pyx_n_s__classtype;
 
1513
static PyObject *__pyx_n_s__copy;
 
1514
static PyObject *__pyx_n_s__data;
 
1515
static PyObject *__pyx_n_s__detect_class;
 
1516
static PyObject *__pyx_n_s__dims_tpl;
 
1517
static PyObject *__pyx_n_s__dst;
 
1518
static PyObject *__pyx_n_s__dt_in;
 
1519
static PyObject *__pyx_n_s__dtype_in;
 
1520
static PyObject *__pyx_n_s__dxpl;
 
1521
static PyObject *__pyx_n_s__elsize;
 
1522
static PyObject *__pyx_n_s__enum;
 
1523
static PyObject *__pyx_n_s__enum_convert;
 
1524
static PyObject *__pyx_n_s__enum_insert;
 
1525
static PyObject *__pyx_n_s__enum_vals;
 
1526
static PyObject *__pyx_n_s__epos;
 
1527
static PyObject *__pyx_n_s__equal;
 
1528
static PyObject *__pyx_n_s__esize;
 
1529
static PyObject *__pyx_n_s__f;
 
1530
static PyObject *__pyx_n_s__field;
 
1531
static PyObject *__pyx_n_s__fields;
 
1532
static PyObject *__pyx_n_s__get_array_dims;
 
1533
static PyObject *__pyx_n_s__get_member_name;
 
1534
static PyObject *__pyx_n_s__get_member_type;
 
1535
static PyObject *__pyx_n_s__get_member_value;
 
1536
static PyObject *__pyx_n_s__get_nmembers;
 
1537
static PyObject *__pyx_n_s__get_order;
 
1538
static PyObject *__pyx_n_s__get_python_obj;
 
1539
static PyObject *__pyx_n_s__get_sign;
 
1540
static PyObject *__pyx_n_s__get_size;
 
1541
static PyObject *__pyx_n_s__get_super;
 
1542
static PyObject *__pyx_n_s__group;
 
1543
static PyObject *__pyx_n_s__h5;
 
1544
static PyObject *__pyx_n_s__i;
 
1545
static PyObject *__pyx_n_s__id;
 
1546
static PyObject *__pyx_n_s__is_variable_str;
 
1547
static PyObject *__pyx_n_s__itemsize;
 
1548
static PyObject *__pyx_n_s__iu;
 
1549
static PyObject *__pyx_n_s__kind;
 
1550
static PyObject *__pyx_n_s__little;
 
1551
static PyObject *__pyx_n_s__logical;
 
1552
static PyObject *__pyx_n_s__lsb;
 
1553
static PyObject *__pyx_n_s__mpos;
 
1554
static PyObject *__pyx_n_s__msb;
 
1555
static PyObject *__pyx_n_s__msize;
 
1556
static PyObject *__pyx_n_s__n;
 
1557
static PyObject *__pyx_n_s__name;
 
1558
static PyObject *__pyx_n_s__names;
 
1559
static PyObject *__pyx_n_s__need_bkg;
 
1560
static PyObject *__pyx_n_s__offset;
 
1561
static PyObject *__pyx_n_s__popitem;
 
1562
static PyObject *__pyx_n_s__py_create;
 
1563
static PyObject *__pyx_n_s__py_dtype;
 
1564
static PyObject *__pyx_n_s__ref;
 
1565
static PyObject *__pyx_n_s__size;
 
1566
static PyObject *__pyx_n_s__sorted;
 
1567
static PyObject *__pyx_n_s__special_dtype;
 
1568
static PyObject *__pyx_n_s__spos;
 
1569
static PyObject *__pyx_n_s__src;
 
1570
static PyObject *__pyx_n_s__str;
 
1571
static PyObject *__pyx_n_s__subdtype;
 
1572
static PyObject *__pyx_n_s__sys;
 
1573
static PyObject *__pyx_n_s__type;
 
1574
static PyObject *__pyx_n_s__u;
 
1575
static PyObject *__pyx_n_s__vals;
 
1576
static PyObject *__pyx_n_s__value;
 
1577
static PyObject *__pyx_n_s__vlen;
 
1578
static PyObject *__pyx_n_s__warnings;
 
1579
static PyObject *__pyx_n_s__xrange;
 
1580
static PyObject *__pyx_n_s__zip;
 
1581
static PyObject *__pyx_int_0;
 
1582
static PyObject *__pyx_int_1;
 
1583
static PyObject *__pyx_int_2;
 
1584
static PyObject *__pyx_int_4;
 
1585
static PyObject *__pyx_int_8;
1625
1586
 
1626
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":85
 
1587
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":45
1627
1588
 * # === Custom C API ============================================================
1628
1589
 * 
1629
1590
 * cdef TypeID typewrap(hid_t id_):             # <<<<<<<<<<<<<<
1639
1600
  int __pyx_t_2;
1640
1601
  PyObject *__pyx_t_3 = NULL;
1641
1602
  PyObject *__pyx_t_4 = NULL;
1642
 
  __Pyx_SetupRefcountContext("typewrap");
 
1603
  __Pyx_RefNannySetupContext("typewrap");
1643
1604
  __pyx_v_pcls = Py_None; __Pyx_INCREF(Py_None);
1644
1605
 
1645
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":88
 
1606
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":48
1646
1607
 * 
1647
1608
 *     cdef H5T_class_t cls
1648
1609
 *     cls = H5Tget_class(id_)             # <<<<<<<<<<<<<<
1649
1610
 * 
1650
1611
 *     if cls == H5T_INTEGER:
1651
1612
 */
1652
 
  __pyx_t_1 = H5Tget_class(__pyx_v_id_); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1613
  __pyx_t_1 = H5Tget_class(__pyx_v_id_); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1653
1614
  __pyx_v_cls = __pyx_t_1;
1654
1615
 
1655
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":90
 
1616
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":50
1656
1617
 *     cls = H5Tget_class(id_)
1657
1618
 * 
1658
1619
 *     if cls == H5T_INTEGER:             # <<<<<<<<<<<<<<
1662
1623
  __pyx_t_2 = (__pyx_v_cls == H5T_INTEGER);
1663
1624
  if (__pyx_t_2) {
1664
1625
 
1665
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":91
 
1626
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":51
1666
1627
 * 
1667
1628
 *     if cls == H5T_INTEGER:
1668
1629
 *         pcls = TypeIntegerID             # <<<<<<<<<<<<<<
1675
1636
    goto __pyx_L3;
1676
1637
  }
1677
1638
 
1678
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":92
 
1639
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":52
1679
1640
 *     if cls == H5T_INTEGER:
1680
1641
 *         pcls = TypeIntegerID
1681
1642
 *     elif cls == H5T_FLOAT:             # <<<<<<<<<<<<<<
1685
1646
  __pyx_t_2 = (__pyx_v_cls == H5T_FLOAT);
1686
1647
  if (__pyx_t_2) {
1687
1648
 
1688
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":93
 
1649
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":53
1689
1650
 *         pcls = TypeIntegerID
1690
1651
 *     elif cls == H5T_FLOAT:
1691
1652
 *         pcls = TypeFloatID             # <<<<<<<<<<<<<<
1698
1659
    goto __pyx_L3;
1699
1660
  }
1700
1661
 
1701
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":94
 
1662
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":54
1702
1663
 *     elif cls == H5T_FLOAT:
1703
1664
 *         pcls = TypeFloatID
1704
1665
 *     elif cls == H5T_TIME:             # <<<<<<<<<<<<<<
1708
1669
  __pyx_t_2 = (__pyx_v_cls == H5T_TIME);
1709
1670
  if (__pyx_t_2) {
1710
1671
 
1711
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":95
 
1672
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":55
1712
1673
 *         pcls = TypeFloatID
1713
1674
 *     elif cls == H5T_TIME:
1714
1675
 *         pcls = TypeTimeID             # <<<<<<<<<<<<<<
1721
1682
    goto __pyx_L3;
1722
1683
  }
1723
1684
 
1724
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":96
 
1685
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":56
1725
1686
 *     elif cls == H5T_TIME:
1726
1687
 *         pcls = TypeTimeID
1727
1688
 *     elif cls == H5T_STRING:             # <<<<<<<<<<<<<<
1731
1692
  __pyx_t_2 = (__pyx_v_cls == H5T_STRING);
1732
1693
  if (__pyx_t_2) {
1733
1694
 
1734
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":97
 
1695
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":57
1735
1696
 *         pcls = TypeTimeID
1736
1697
 *     elif cls == H5T_STRING:
1737
1698
 *         pcls = TypeStringID             # <<<<<<<<<<<<<<
1744
1705
    goto __pyx_L3;
1745
1706
  }
1746
1707
 
1747
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":98
 
1708
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":58
1748
1709
 *     elif cls == H5T_STRING:
1749
1710
 *         pcls = TypeStringID
1750
1711
 *     elif cls == H5T_BITFIELD:             # <<<<<<<<<<<<<<
1754
1715
  __pyx_t_2 = (__pyx_v_cls == H5T_BITFIELD);
1755
1716
  if (__pyx_t_2) {
1756
1717
 
1757
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":99
 
1718
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":59
1758
1719
 *         pcls = TypeStringID
1759
1720
 *     elif cls == H5T_BITFIELD:
1760
1721
 *         pcls = TypeBitfieldID             # <<<<<<<<<<<<<<
1767
1728
    goto __pyx_L3;
1768
1729
  }
1769
1730
 
1770
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":100
 
1731
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":60
1771
1732
 *     elif cls == H5T_BITFIELD:
1772
1733
 *         pcls = TypeBitfieldID
1773
1734
 *     elif cls == H5T_OPAQUE:             # <<<<<<<<<<<<<<
1777
1738
  __pyx_t_2 = (__pyx_v_cls == H5T_OPAQUE);
1778
1739
  if (__pyx_t_2) {
1779
1740
 
1780
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":101
 
1741
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":61
1781
1742
 *         pcls = TypeBitfieldID
1782
1743
 *     elif cls == H5T_OPAQUE:
1783
1744
 *         pcls = TypeOpaqueID             # <<<<<<<<<<<<<<
1790
1751
    goto __pyx_L3;
1791
1752
  }
1792
1753
 
1793
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":102
 
1754
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":62
1794
1755
 *     elif cls == H5T_OPAQUE:
1795
1756
 *         pcls = TypeOpaqueID
1796
1757
 *     elif cls == H5T_COMPOUND:             # <<<<<<<<<<<<<<
1800
1761
  __pyx_t_2 = (__pyx_v_cls == H5T_COMPOUND);
1801
1762
  if (__pyx_t_2) {
1802
1763
 
1803
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":103
 
1764
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":63
1804
1765
 *         pcls = TypeOpaqueID
1805
1766
 *     elif cls == H5T_COMPOUND:
1806
1767
 *         pcls = TypeCompoundID             # <<<<<<<<<<<<<<
1813
1774
    goto __pyx_L3;
1814
1775
  }
1815
1776
 
1816
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":104
 
1777
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":64
1817
1778
 *     elif cls == H5T_COMPOUND:
1818
1779
 *         pcls = TypeCompoundID
1819
1780
 *     elif cls == H5T_REFERENCE:             # <<<<<<<<<<<<<<
1823
1784
  __pyx_t_2 = (__pyx_v_cls == H5T_REFERENCE);
1824
1785
  if (__pyx_t_2) {
1825
1786
 
1826
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":105
 
1787
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":65
1827
1788
 *         pcls = TypeCompoundID
1828
1789
 *     elif cls == H5T_REFERENCE:
1829
1790
 *         pcls = TypeReferenceID             # <<<<<<<<<<<<<<
1836
1797
    goto __pyx_L3;
1837
1798
  }
1838
1799
 
1839
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":106
 
1800
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":66
1840
1801
 *     elif cls == H5T_REFERENCE:
1841
1802
 *         pcls = TypeReferenceID
1842
1803
 *     elif cls == H5T_ENUM:             # <<<<<<<<<<<<<<
1846
1807
  __pyx_t_2 = (__pyx_v_cls == H5T_ENUM);
1847
1808
  if (__pyx_t_2) {
1848
1809
 
1849
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":107
 
1810
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":67
1850
1811
 *         pcls = TypeReferenceID
1851
1812
 *     elif cls == H5T_ENUM:
1852
1813
 *         pcls = TypeEnumID             # <<<<<<<<<<<<<<
1859
1820
    goto __pyx_L3;
1860
1821
  }
1861
1822
 
1862
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":108
 
1823
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":68
1863
1824
 *     elif cls == H5T_ENUM:
1864
1825
 *         pcls = TypeEnumID
1865
1826
 *     elif cls == H5T_VLEN:             # <<<<<<<<<<<<<<
1869
1830
  __pyx_t_2 = (__pyx_v_cls == H5T_VLEN);
1870
1831
  if (__pyx_t_2) {
1871
1832
 
1872
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":109
 
1833
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":69
1873
1834
 *         pcls = TypeEnumID
1874
1835
 *     elif cls == H5T_VLEN:
1875
1836
 *         pcls = TypeVlenID             # <<<<<<<<<<<<<<
1882
1843
    goto __pyx_L3;
1883
1844
  }
1884
1845
 
1885
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":110
 
1846
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":70
1886
1847
 *     elif cls == H5T_VLEN:
1887
1848
 *         pcls = TypeVlenID
1888
1849
 *     elif cls == H5T_ARRAY:             # <<<<<<<<<<<<<<
1892
1853
  __pyx_t_2 = (__pyx_v_cls == H5T_ARRAY);
1893
1854
  if (__pyx_t_2) {
1894
1855
 
1895
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":111
 
1856
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":71
1896
1857
 *         pcls = TypeVlenID
1897
1858
 *     elif cls == H5T_ARRAY:
1898
1859
 *         pcls = TypeArrayID             # <<<<<<<<<<<<<<
1906
1867
  }
1907
1868
  /*else*/ {
1908
1869
 
1909
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":113
 
1870
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":73
1910
1871
 *         pcls = TypeArrayID
1911
1872
 *     else:
1912
1873
 *         pcls = TypeID             # <<<<<<<<<<<<<<
1919
1880
  }
1920
1881
  __pyx_L3:;
1921
1882
 
1922
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":115
 
1883
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":75
1923
1884
 *         pcls = TypeID
1924
1885
 * 
1925
1886
 *     return pcls(id_)             # <<<<<<<<<<<<<<
1927
1888
 * cdef object lockid(hid_t id_in):
1928
1889
 */
1929
1890
  __Pyx_XDECREF(((PyObject *)__pyx_r));
1930
 
  __pyx_t_3 = PyInt_FromLong(__pyx_v_id_); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1891
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_id_); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1931
1892
  __Pyx_GOTREF(__pyx_t_3);
1932
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1933
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
1893
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1894
  __Pyx_GOTREF(__pyx_t_4);
1934
1895
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
1935
1896
  __Pyx_GIVEREF(__pyx_t_3);
1936
1897
  __pyx_t_3 = 0;
1937
 
  __pyx_t_3 = PyObject_Call(__pyx_v_pcls, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1898
  __pyx_t_3 = PyObject_Call(__pyx_v_pcls, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1938
1899
  __Pyx_GOTREF(__pyx_t_3);
1939
 
  __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
1940
 
  if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1900
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
1901
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1941
1902
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
1942
1903
  __pyx_t_3 = 0;
1943
1904
  goto __pyx_L0;
1952
1913
  __pyx_L0:;
1953
1914
  __Pyx_DECREF(__pyx_v_pcls);
1954
1915
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
1955
 
  __Pyx_FinishRefcountContext();
 
1916
  __Pyx_RefNannyFinishContext();
1956
1917
  return __pyx_r;
1957
1918
}
1958
1919
 
1959
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":117
 
1920
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":77
1960
1921
 *     return pcls(id_)
1961
1922
 * 
1962
1923
 * cdef object lockid(hid_t id_in):             # <<<<<<<<<<<<<<
1968
1929
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_tid;
1969
1930
  PyObject *__pyx_r = NULL;
1970
1931
  PyObject *__pyx_t_1 = NULL;
1971
 
  __Pyx_SetupRefcountContext("lockid");
 
1932
  __Pyx_RefNannySetupContext("lockid");
1972
1933
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
1973
1934
 
1974
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":119
 
1935
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":79
1975
1936
 * cdef object lockid(hid_t id_in):
1976
1937
 *     cdef TypeID tid
1977
1938
 *     tid = typewrap(id_in)             # <<<<<<<<<<<<<<
1978
1939
 *     tid._locked = 1
1979
1940
 *     return tid
1980
1941
 */
1981
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_v_id_in)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
1942
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_v_id_in)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
1982
1943
  __Pyx_GOTREF(__pyx_t_1);
1983
1944
  __Pyx_DECREF(((PyObject *)__pyx_v_tid));
1984
1945
  __pyx_v_tid = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_1);
1985
1946
  __pyx_t_1 = 0;
1986
1947
 
1987
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":120
 
1948
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":80
1988
1949
 *     cdef TypeID tid
1989
1950
 *     tid = typewrap(id_in)
1990
1951
 *     tid._locked = 1             # <<<<<<<<<<<<<<
1993
1954
 */
1994
1955
  __pyx_v_tid->__pyx_base._locked = 1;
1995
1956
 
1996
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":121
 
1957
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":81
1997
1958
 *     tid = typewrap(id_in)
1998
1959
 *     tid._locked = 1
1999
1960
 *     return tid             # <<<<<<<<<<<<<<
2014
1975
  __pyx_L0:;
2015
1976
  __Pyx_DECREF((PyObject *)__pyx_v_tid);
2016
1977
  __Pyx_XGIVEREF(__pyx_r);
2017
 
  __Pyx_FinishRefcountContext();
 
1978
  __Pyx_RefNannyFinishContext();
2018
1979
  return __pyx_r;
2019
1980
}
2020
1981
 
2021
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":245
2022
 
 * 
2023
 
 * @sync
 
1982
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":212
 
1983
 * 
 
1984
 * 
2024
1985
 * def create(int classtype, size_t size):             # <<<<<<<<<<<<<<
2025
1986
 *     """(INT classtype, UINT size) => TypeID
2026
1987
 * 
2033
1994
  size_t __pyx_v_size;
2034
1995
  PyObject *__pyx_r = NULL;
2035
1996
  int __pyx_t_1;
2036
 
  PyObject *__pyx_t_2 = NULL;
2037
 
  PyObject *__pyx_t_3 = NULL;
2038
 
  hid_t __pyx_t_4;
2039
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_classtype,&__pyx_kp_size,0};
2040
 
  __Pyx_SetupRefcountContext("create");
 
1997
  int __pyx_t_2;
 
1998
  int __pyx_t_3;
 
1999
  PyObject *__pyx_t_4 = NULL;
 
2000
  PyObject *__pyx_t_5 = NULL;
 
2001
  hid_t __pyx_t_6;
 
2002
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__classtype,&__pyx_n_s__size,0};
 
2003
  __Pyx_RefNannySetupContext("create");
2041
2004
  __pyx_self = __pyx_self;
2042
2005
  if (unlikely(__pyx_kwds)) {
2043
2006
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2050
2013
    }
2051
2014
    switch (PyTuple_GET_SIZE(__pyx_args)) {
2052
2015
      case  0:
2053
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_classtype);
 
2016
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__classtype);
2054
2017
      if (likely(values[0])) kw_args--;
2055
2018
      else goto __pyx_L5_argtuple_error;
2056
2019
      case  1:
2057
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_size);
 
2020
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size);
2058
2021
      if (likely(values[1])) kw_args--;
2059
2022
      else {
2060
 
        __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2023
        __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2061
2024
      }
2062
2025
    }
2063
2026
    if (unlikely(kw_args > 0)) {
2064
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2027
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2065
2028
    }
2066
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2067
 
    __pyx_v_size = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2029
    __pyx_v_classtype = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2030
    __pyx_v_size = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2068
2031
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
2069
2032
    goto __pyx_L5_argtuple_error;
2070
2033
  } else {
2071
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2072
 
    __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[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2034
    __pyx_v_classtype = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2035
    __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[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2073
2036
  }
2074
2037
  goto __pyx_L4_argument_unpacking_done;
2075
2038
  __pyx_L5_argtuple_error:;
2076
 
  __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2039
  __Pyx_RaiseArgtupleInvalid("create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2077
2040
  __pyx_L3_error:;
2078
2041
  __Pyx_AddTraceback("h5py.h5t.create");
2079
2042
  return NULL;
2080
2043
  __pyx_L4_argument_unpacking_done:;
2081
2044
 
2082
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":253
 
2045
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":220
2083
2046
 * 
2084
2047
 *     # HDF5 versions 1.6.X segfault with anything else
2085
2048
 *     if classtype != H5T_COMPOUND and classtype != H5T_OPAQUE:             # <<<<<<<<<<<<<<
2086
2049
 *         raise ValueError("Class must be COMPOUND or OPAQUE.")
2087
2050
 * 
2088
2051
 */
2089
 
  if ((__pyx_v_classtype != H5T_COMPOUND)) {
2090
 
    __pyx_t_1 = (__pyx_v_classtype != H5T_OPAQUE);
 
2052
  __pyx_t_1 = (__pyx_v_classtype != H5T_COMPOUND);
 
2053
  if (__pyx_t_1) {
 
2054
    __pyx_t_2 = (__pyx_v_classtype != H5T_OPAQUE);
 
2055
    __pyx_t_3 = __pyx_t_2;
2091
2056
  } else {
2092
 
    __pyx_t_1 = (__pyx_v_classtype != H5T_COMPOUND);
 
2057
    __pyx_t_3 = __pyx_t_1;
2093
2058
  }
2094
 
  if (__pyx_t_1) {
 
2059
  if (__pyx_t_3) {
2095
2060
 
2096
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":254
 
2061
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":221
2097
2062
 *     # HDF5 versions 1.6.X segfault with anything else
2098
2063
 *     if classtype != H5T_COMPOUND and classtype != H5T_OPAQUE:
2099
2064
 *         raise ValueError("Class must be COMPOUND or OPAQUE.")             # <<<<<<<<<<<<<<
2100
2065
 * 
2101
2066
 *     return typewrap(H5Tcreate(<H5T_class_t>classtype, size))
2102
2067
 */
2103
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2104
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
2105
 
    __Pyx_INCREF(__pyx_kp_169);
2106
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_169);
2107
 
    __Pyx_GIVEREF(__pyx_kp_169);
2108
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2109
 
    __Pyx_GOTREF(__pyx_t_3);
2110
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
2111
 
    __Pyx_Raise(__pyx_t_3, 0, 0);
2112
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2113
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2068
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2069
    __Pyx_GOTREF(__pyx_t_4);
 
2070
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_1));
 
2071
    PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_kp_s_1));
 
2072
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_1));
 
2073
    __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2074
    __Pyx_GOTREF(__pyx_t_5);
 
2075
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
2076
    __Pyx_Raise(__pyx_t_5, 0, 0);
 
2077
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
2078
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2114
2079
    goto __pyx_L6;
2115
2080
  }
2116
2081
  __pyx_L6:;
2117
2082
 
2118
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":256
 
2083
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":223
2119
2084
 *         raise ValueError("Class must be COMPOUND or OPAQUE.")
2120
2085
 * 
2121
2086
 *     return typewrap(H5Tcreate(<H5T_class_t>classtype, size))             # <<<<<<<<<<<<<<
2122
2087
 * 
2123
 
 * @sync
 
2088
 * 
2124
2089
 */
2125
2090
  __Pyx_XDECREF(__pyx_r);
2126
 
  __pyx_t_4 = H5Tcreate(((enum H5T_class_t)__pyx_v_classtype), __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2127
 
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2128
 
  __Pyx_GOTREF(__pyx_t_3);
2129
 
  __pyx_r = __pyx_t_3;
2130
 
  __pyx_t_3 = 0;
 
2091
  __pyx_t_6 = H5Tcreate(((enum H5T_class_t)__pyx_v_classtype), __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2092
  __pyx_t_5 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_6)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2093
  __Pyx_GOTREF(__pyx_t_5);
 
2094
  __pyx_r = __pyx_t_5;
 
2095
  __pyx_t_5 = 0;
2131
2096
  goto __pyx_L0;
2132
2097
 
2133
2098
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2134
2099
  goto __pyx_L0;
2135
2100
  __pyx_L1_error:;
2136
 
  __Pyx_XDECREF(__pyx_t_2);
2137
 
  __Pyx_XDECREF(__pyx_t_3);
 
2101
  __Pyx_XDECREF(__pyx_t_4);
 
2102
  __Pyx_XDECREF(__pyx_t_5);
2138
2103
  __Pyx_AddTraceback("h5py.h5t.create");
2139
2104
  __pyx_r = NULL;
2140
2105
  __pyx_L0:;
2141
2106
  __Pyx_XGIVEREF(__pyx_r);
2142
 
  __Pyx_FinishRefcountContext();
 
2107
  __Pyx_RefNannyFinishContext();
2143
2108
  return __pyx_r;
2144
2109
}
2145
2110
 
2146
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":259
2147
 
 * 
2148
 
 * @sync
 
2111
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":226
 
2112
 * 
 
2113
 * 
2149
2114
 * def open(ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
2150
2115
 *     """(ObjectID group, STRING name) => TypeID
2151
2116
 * 
2159
2124
  PyObject *__pyx_r = NULL;
2160
2125
  hid_t __pyx_t_1;
2161
2126
  PyObject *__pyx_t_2 = NULL;
2162
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_group,&__pyx_kp_name,0};
2163
 
  __Pyx_SetupRefcountContext("open");
 
2127
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,0};
 
2128
  __Pyx_RefNannySetupContext("open");
2164
2129
  __pyx_self = __pyx_self;
2165
2130
  if (unlikely(__pyx_kwds)) {
2166
2131
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2173
2138
    }
2174
2139
    switch (PyTuple_GET_SIZE(__pyx_args)) {
2175
2140
      case  0:
2176
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_group);
 
2141
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
2177
2142
      if (likely(values[0])) kw_args--;
2178
2143
      else goto __pyx_L5_argtuple_error;
2179
2144
      case  1:
2180
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_name);
 
2145
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
2181
2146
      if (likely(values[1])) kw_args--;
2182
2147
      else {
2183
 
        __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2148
        __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2184
2149
      }
2185
2150
    }
2186
2151
    if (unlikely(kw_args > 0)) {
2187
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "open") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2152
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "open") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2188
2153
    }
2189
2154
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)values[0]);
2190
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2155
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2191
2156
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
2192
2157
    goto __pyx_L5_argtuple_error;
2193
2158
  } else {
2194
2159
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)PyTuple_GET_ITEM(__pyx_args, 0));
2195
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2160
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2196
2161
  }
2197
2162
  goto __pyx_L4_argument_unpacking_done;
2198
2163
  __pyx_L5_argtuple_error:;
2199
 
  __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2164
  __Pyx_RaiseArgtupleInvalid("open", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2200
2165
  __pyx_L3_error:;
2201
2166
  __Pyx_AddTraceback("h5py.h5t.open");
2202
2167
  return NULL;
2203
2168
  __pyx_L4_argument_unpacking_done:;
2204
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2169
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2205
2170
 
2206
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":264
 
2171
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":231
2207
2172
 *     Open a named datatype from a file.
2208
2173
 *     """
2209
2174
 *     return typewrap(H5Topen(group.id, name))             # <<<<<<<<<<<<<<
2210
2175
 * 
2211
 
 * @sync
 
2176
 * 
2212
2177
 */
2213
2178
  __Pyx_XDECREF(__pyx_r);
2214
 
  __pyx_t_1 = H5Topen(__pyx_v_group->id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2215
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2179
  __pyx_t_1 = H5Topen(__pyx_v_group->id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2180
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2216
2181
  __Pyx_GOTREF(__pyx_t_2);
2217
2182
  __pyx_r = __pyx_t_2;
2218
2183
  __pyx_t_2 = 0;
2226
2191
  __pyx_r = NULL;
2227
2192
  __pyx_L0:;
2228
2193
  __Pyx_XGIVEREF(__pyx_r);
2229
 
  __Pyx_FinishRefcountContext();
 
2194
  __Pyx_RefNannyFinishContext();
2230
2195
  return __pyx_r;
2231
2196
}
2232
2197
 
2233
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":267
2234
 
 * 
2235
 
 * @sync
 
2198
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":234
 
2199
 * 
 
2200
 * 
2236
2201
 * def array_create(TypeID base not None, object dims_tpl):             # <<<<<<<<<<<<<<
2237
2202
 *     """(TypeID base, TUPLE dimensions) => TypeArrayID
2238
2203
 * 
2252
2217
  hid_t __pyx_t_4;
2253
2218
  PyObject *__pyx_t_5 = NULL;
2254
2219
  PyObject *__pyx_t_6 = NULL;
2255
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_base,&__pyx_kp_dims_tpl,0};
2256
 
  __Pyx_SetupRefcountContext("array_create");
 
2220
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__base,&__pyx_n_s__dims_tpl,0};
 
2221
  __Pyx_RefNannySetupContext("array_create");
2257
2222
  __pyx_self = __pyx_self;
2258
2223
  if (unlikely(__pyx_kwds)) {
2259
2224
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
2266
2231
    }
2267
2232
    switch (PyTuple_GET_SIZE(__pyx_args)) {
2268
2233
      case  0:
2269
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_base);
 
2234
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__base);
2270
2235
      if (likely(values[0])) kw_args--;
2271
2236
      else goto __pyx_L5_argtuple_error;
2272
2237
      case  1:
2273
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_dims_tpl);
 
2238
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dims_tpl);
2274
2239
      if (likely(values[1])) kw_args--;
2275
2240
      else {
2276
 
        __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2241
        __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2277
2242
      }
2278
2243
    }
2279
2244
    if (unlikely(kw_args > 0)) {
2280
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "array_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2245
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "array_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2281
2246
    }
2282
2247
    __pyx_v_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
2283
2248
    __pyx_v_dims_tpl = values[1];
2289
2254
  }
2290
2255
  goto __pyx_L4_argument_unpacking_done;
2291
2256
  __pyx_L5_argtuple_error:;
2292
 
  __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
2257
  __Pyx_RaiseArgtupleInvalid("array_create", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
2293
2258
  __pyx_L3_error:;
2294
2259
  __Pyx_AddTraceback("h5py.h5t.array_create");
2295
2260
  return NULL;
2296
2261
  __pyx_L4_argument_unpacking_done:;
2297
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2262
  __Pyx_INCREF((PyObject *)__pyx_v_base);
 
2263
  __Pyx_INCREF(__pyx_v_dims_tpl);
 
2264
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2298
2265
 
2299
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":275
 
2266
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":242
2300
2267
 *     """
2301
2268
 *     cdef hsize_t rank
2302
2269
 *     cdef hsize_t *dims = NULL             # <<<<<<<<<<<<<<
2305
2272
 */
2306
2273
  __pyx_v_dims = NULL;
2307
2274
 
2308
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":277
 
2275
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":244
2309
2276
 *     cdef hsize_t *dims = NULL
2310
2277
 * 
2311
2278
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")             # <<<<<<<<<<<<<<
2312
2279
 *     rank = len(dims_tpl)
2313
2280
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2314
2281
 */
2315
 
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_dims_tpl, 0, -1, __pyx_k_170); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2282
  __pyx_t_1 = __pyx_f_4h5py_5utils_require_tuple(__pyx_v_dims_tpl, 0, -1, __pyx_k__dims_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2316
2283
 
2317
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":278
 
2284
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":245
2318
2285
 * 
2319
2286
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")
2320
2287
 *     rank = len(dims_tpl)             # <<<<<<<<<<<<<<
2321
2288
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2322
2289
 * 
2323
2290
 */
2324
 
  __pyx_t_2 = PyObject_Length(__pyx_v_dims_tpl); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2291
  __pyx_t_2 = PyObject_Length(__pyx_v_dims_tpl); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2325
2292
  __pyx_v_rank = __pyx_t_2;
2326
2293
 
2327
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":279
 
2294
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":246
2328
2295
 *     require_tuple(dims_tpl, 0, -1, "dims_tpl")
2329
2296
 *     rank = len(dims_tpl)
2330
2297
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
2331
2298
 * 
2332
2299
 *     try:
2333
2300
 */
2334
 
  __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[0]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2301
  __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[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2335
2302
  __pyx_v_dims = ((hsize_t *)__pyx_t_3);
2336
2303
 
2337
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":281
 
2304
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":248
2338
2305
 *     dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
2339
2306
 * 
2340
2307
 *     try:             # <<<<<<<<<<<<<<
2343
2310
 */
2344
2311
  /*try:*/ {
2345
2312
 
2346
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":282
 
2313
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":249
2347
2314
 * 
2348
2315
 *     try:
2349
2316
 *         convert_tuple(dims_tpl, dims, rank)             # <<<<<<<<<<<<<<
2350
2317
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))
2351
2318
 *     finally:
2352
2319
 */
2353
 
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_tuple(__pyx_v_dims_tpl, __pyx_v_dims, __pyx_v_rank); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2320
    __pyx_t_1 = __pyx_f_4h5py_5utils_convert_tuple(__pyx_v_dims_tpl, __pyx_v_dims, __pyx_v_rank); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L7;}
2354
2321
 
2355
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":283
 
2322
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":250
2356
2323
 *     try:
2357
2324
 *         convert_tuple(dims_tpl, dims, rank)
2358
2325
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))             # <<<<<<<<<<<<<<
2360
2327
 *         efree(dims)
2361
2328
 */
2362
2329
    __Pyx_XDECREF(__pyx_r);
2363
 
    __pyx_t_4 = H5Tarray_create(__pyx_v_base->__pyx_base.id, __pyx_v_rank, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L7;}
2364
 
    __pyx_t_5 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2330
    __pyx_t_4 = H5Tarray_create(__pyx_v_base->__pyx_base.id, __pyx_v_rank, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2331
    __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2365
2332
    __Pyx_GOTREF(__pyx_t_5);
2366
 
    __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L7;}
2367
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_6));
 
2333
    __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2334
    __Pyx_GOTREF(__pyx_t_6);
2368
2335
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5);
2369
2336
    __Pyx_GIVEREF(__pyx_t_5);
2370
2337
    __pyx_t_5 = 0;
2371
 
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeArrayID)), ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
2338
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeArrayID)), __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L7;}
2372
2339
    __Pyx_GOTREF(__pyx_t_5);
2373
 
    __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
 
2340
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2374
2341
    __pyx_r = __pyx_t_5;
2375
2342
    __pyx_t_5 = 0;
2376
2343
    goto __pyx_L6;
2393
2360
    }
2394
2361
    __pyx_L8:;
2395
2362
 
2396
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":285
 
2363
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":252
2397
2364
 *         return TypeArrayID(H5Tarray_create(base.id, rank, dims, NULL))
2398
2365
 *     finally:
2399
2366
 *         efree(dims)             # <<<<<<<<<<<<<<
2400
2367
 * 
2401
 
 * @sync
 
2368
 * 
2402
2369
 */
2403
2370
    __pyx_f_4h5py_5utils_efree(__pyx_v_dims);
2404
2371
    switch (__pyx_why) {
2422
2389
  __Pyx_AddTraceback("h5py.h5t.array_create");
2423
2390
  __pyx_r = NULL;
2424
2391
  __pyx_L0:;
 
2392
  __Pyx_DECREF((PyObject *)__pyx_v_base);
 
2393
  __Pyx_DECREF(__pyx_v_dims_tpl);
2425
2394
  __Pyx_XGIVEREF(__pyx_r);
2426
 
  __Pyx_FinishRefcountContext();
 
2395
  __Pyx_RefNannyFinishContext();
2427
2396
  return __pyx_r;
2428
2397
}
2429
2398
 
2430
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":288
2431
 
 * 
2432
 
 * @sync
 
2399
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":255
 
2400
 * 
 
2401
 * 
2433
2402
 * def enum_create(TypeID base not None):             # <<<<<<<<<<<<<<
2434
2403
 *     """(TypeID base) => TypeID
2435
2404
 * 
2441
2410
  PyObject *__pyx_r = NULL;
2442
2411
  hid_t __pyx_t_1;
2443
2412
  PyObject *__pyx_t_2 = NULL;
2444
 
  __Pyx_SetupRefcountContext("enum_create");
 
2413
  __Pyx_RefNannySetupContext("enum_create");
2445
2414
  __pyx_self = __pyx_self;
2446
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2415
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2447
2416
 
2448
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":293
 
2417
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":260
2449
2418
 *     Create a new enumerated type based on an (integer) parent type.
2450
2419
 *     """
2451
2420
 *     return typewrap(H5Tenum_create(base.id))             # <<<<<<<<<<<<<<
2452
2421
 * 
2453
 
 * @sync
 
2422
 * 
2454
2423
 */
2455
2424
  __Pyx_XDECREF(__pyx_r);
2456
 
  __pyx_t_1 = H5Tenum_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2457
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2425
  __pyx_t_1 = H5Tenum_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2426
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2458
2427
  __Pyx_GOTREF(__pyx_t_2);
2459
2428
  __pyx_r = __pyx_t_2;
2460
2429
  __pyx_t_2 = 0;
2468
2437
  __pyx_r = NULL;
2469
2438
  __pyx_L0:;
2470
2439
  __Pyx_XGIVEREF(__pyx_r);
2471
 
  __Pyx_FinishRefcountContext();
 
2440
  __Pyx_RefNannyFinishContext();
2472
2441
  return __pyx_r;
2473
2442
}
2474
2443
 
2475
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":296
2476
 
 * 
2477
 
 * @sync
 
2444
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":263
 
2445
 * 
 
2446
 * 
2478
2447
 * def vlen_create(TypeID base not None):             # <<<<<<<<<<<<<<
2479
2448
 *     """(TypeID base) => TypeID
2480
2449
 * 
2486
2455
  PyObject *__pyx_r = NULL;
2487
2456
  hid_t __pyx_t_1;
2488
2457
  PyObject *__pyx_t_2 = NULL;
2489
 
  __Pyx_SetupRefcountContext("vlen_create");
 
2458
  __Pyx_RefNannySetupContext("vlen_create");
2490
2459
  __pyx_self = __pyx_self;
2491
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2460
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_base), __pyx_ptype_4h5py_3h5t_TypeID, 0, "base", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2492
2461
 
2493
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":304
 
2462
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":271
2494
2463
 *     provision for reading/writing vlen data.
2495
2464
 *     """
2496
2465
 *     return typewrap(H5Tvlen_create(base.id))             # <<<<<<<<<<<<<<
2498
2467
 * IF H5PY_18API:
2499
2468
 */
2500
2469
  __Pyx_XDECREF(__pyx_r);
2501
 
  __pyx_t_1 = H5Tvlen_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2502
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2470
  __pyx_t_1 = H5Tvlen_create(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_base)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2471
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2503
2472
  __Pyx_GOTREF(__pyx_t_2);
2504
2473
  __pyx_r = __pyx_t_2;
2505
2474
  __pyx_t_2 = 0;
2513
2482
  __pyx_r = NULL;
2514
2483
  __pyx_L0:;
2515
2484
  __Pyx_XGIVEREF(__pyx_r);
2516
 
  __Pyx_FinishRefcountContext();
 
2485
  __Pyx_RefNannyFinishContext();
2517
2486
  return __pyx_r;
2518
2487
}
2519
2488
 
2520
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":327
 
2489
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":294
2521
2490
 *     """
2522
2491
 * 
2523
2492
 *     def __hash__(self):             # <<<<<<<<<<<<<<
2528
2497
static long __pyx_pf_4h5py_3h5t_6TypeID___hash__(PyObject *__pyx_v_self); /*proto*/
2529
2498
static long __pyx_pf_4h5py_3h5t_6TypeID___hash__(PyObject *__pyx_v_self) {
2530
2499
  long __pyx_r;
2531
 
  int __pyx_1;
2532
2500
  int __pyx_t_1;
2533
2501
  PyObject *__pyx_t_2 = NULL;
2534
2502
  PyObject *__pyx_t_3 = NULL;
2535
2503
  PyObject *__pyx_t_4 = NULL;
2536
2504
  long __pyx_t_5;
2537
 
  PyObject *__pyx_t_6 = NULL;
 
2505
  int __pyx_t_6;
2538
2506
  PyObject *__pyx_t_7 = NULL;
2539
 
  __Pyx_SetupRefcountContext("__hash__");
 
2507
  PyObject *__pyx_t_8 = NULL;
 
2508
  __Pyx_RefNannySetupContext("__hash__");
 
2509
  __Pyx_INCREF((PyObject *)__pyx_v_self);
2540
2510
 
2541
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":328
 
2511
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":295
2542
2512
 * 
2543
2513
 *     def __hash__(self):
2544
2514
 *         if self._hash is None:             # <<<<<<<<<<<<<<
2548
2518
  __pyx_t_1 = (((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash == Py_None);
2549
2519
  if (__pyx_t_1) {
2550
2520
 
2551
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":329
 
2521
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":296
2552
2522
 *     def __hash__(self):
2553
2523
 *         if self._hash is None:
2554
2524
 *             try:             # <<<<<<<<<<<<<<
2563
2533
      __Pyx_XGOTREF(__pyx_save_exc_tb);
2564
2534
      /*try:*/ {
2565
2535
 
2566
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":331
 
2536
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":298
2567
2537
 *             try:
2568
2538
 *                 # Try to use object header first
2569
2539
 *                 return ObjectID.__hash__(self)             # <<<<<<<<<<<<<<
2570
2540
 *             except TypeError:
2571
2541
 *                 # It's a transient type object
2572
2542
 */
2573
 
        __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_kp___hash__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2543
        __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____hash__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2574
2544
        __Pyx_GOTREF(__pyx_t_2);
2575
 
        __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2576
 
        __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
2545
        __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2546
        __Pyx_GOTREF(__pyx_t_3);
2577
2547
        __Pyx_INCREF(__pyx_v_self);
2578
2548
        PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_self);
2579
2549
        __Pyx_GIVEREF(__pyx_v_self);
2580
 
        __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2550
        __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2581
2551
        __Pyx_GOTREF(__pyx_t_4);
2582
2552
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2583
 
        __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
2584
 
        __pyx_t_5 = __Pyx_PyInt_AsLong(__pyx_t_4); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
2553
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
2554
        __pyx_t_5 = __Pyx_PyInt_AsLong(__pyx_t_4); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
2585
2555
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2586
2556
        __pyx_r = __pyx_t_5;
2587
2557
        goto __pyx_L10_try_return;
2591
2561
      __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
2592
2562
      goto __pyx_L13_try_end;
2593
2563
      __pyx_L10_try_return:;
2594
 
      __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
2595
 
      __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
2596
 
      __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
2564
      __Pyx_XGIVEREF(__pyx_save_exc_type);
 
2565
      __Pyx_XGIVEREF(__pyx_save_exc_value);
 
2566
      __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
2567
      __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
2597
2568
      goto __pyx_L0;
2598
2569
      __pyx_L6_error:;
2599
2570
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
2600
2571
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
2601
2572
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
2602
2573
 
2603
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":332
 
2574
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":299
2604
2575
 *                 # Try to use object header first
2605
2576
 *                 return ObjectID.__hash__(self)
2606
2577
 *             except TypeError:             # <<<<<<<<<<<<<<
2607
2578
 *                 # It's a transient type object
2608
2579
 *                 IF H5PY_18API:
2609
2580
 */
2610
 
      __pyx_1 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
2611
 
      if (__pyx_1) {
2612
 
        __Pyx_AddTraceback("h5py.h5t.__hash__");
2613
 
        if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2581
      __pyx_t_6 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
 
2582
      if (__pyx_t_6) {
 
2583
        __Pyx_AddTraceback("h5py.h5t.TypeID.__hash__");
 
2584
        if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2614
2585
        __Pyx_GOTREF(__pyx_t_4);
2615
2586
        __Pyx_GOTREF(__pyx_t_3);
2616
2587
        __Pyx_GOTREF(__pyx_t_2);
2617
2588
 
2618
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":340
 
2589
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":307
2619
2590
 *                         raise TypeError("Only locked or committed types can be hashed")
2620
2591
 *                 ELSE:
2621
2592
 *                     raise TypeError("Only committed types can be hashed")             # <<<<<<<<<<<<<<
2622
2593
 * 
2623
2594
 *         return self._hash
2624
2595
 */
2625
 
        __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2626
 
        __Pyx_GOTREF(((PyObject *)__pyx_t_6));
2627
 
        __Pyx_INCREF(__pyx_kp_171);
2628
 
        PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_kp_171);
2629
 
        __Pyx_GIVEREF(__pyx_kp_171);
2630
 
        __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2596
        __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2631
2597
        __Pyx_GOTREF(__pyx_t_7);
2632
 
        __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
2633
 
        __Pyx_Raise(__pyx_t_7, 0, 0);
 
2598
        __Pyx_INCREF(((PyObject *)__pyx_kp_s_2));
 
2599
        PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_kp_s_2));
 
2600
        __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_2));
 
2601
        __pyx_t_8 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_7, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2602
        __Pyx_GOTREF(__pyx_t_8);
2634
2603
        __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2635
 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
2604
        __Pyx_Raise(__pyx_t_8, 0, 0);
 
2605
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
2606
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
2636
2607
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2637
2608
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2638
2609
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2639
2610
        goto __pyx_L7_exception_handled;
2640
2611
      }
2641
2612
      __pyx_L8_except_error:;
2642
 
      __Pyx_XDECREF(__pyx_save_exc_type);
2643
 
      __Pyx_XDECREF(__pyx_save_exc_value);
2644
 
      __Pyx_XDECREF(__pyx_save_exc_tb);
 
2613
      __Pyx_XGIVEREF(__pyx_save_exc_type);
 
2614
      __Pyx_XGIVEREF(__pyx_save_exc_value);
 
2615
      __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
2616
      __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
2645
2617
      goto __pyx_L1_error;
2646
2618
      __pyx_L7_exception_handled:;
2647
2619
      __Pyx_XGIVEREF(__pyx_save_exc_type);
2654
2626
  }
2655
2627
  __pyx_L5:;
2656
2628
 
2657
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":342
 
2629
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":309
2658
2630
 *                     raise TypeError("Only committed types can be hashed")
2659
2631
 * 
2660
2632
 *         return self._hash             # <<<<<<<<<<<<<<
2661
2633
 * 
2662
2634
 *     def __richcmp__(self, object other, int how):
2663
2635
 */
2664
 
  __pyx_t_5 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2636
  __pyx_t_5 = __Pyx_PyInt_AsLong(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._hash); if (unlikely((__pyx_t_5 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2665
2637
  __pyx_r = __pyx_t_5;
2666
2638
  goto __pyx_L0;
2667
2639
 
2671
2643
  __Pyx_XDECREF(__pyx_t_2);
2672
2644
  __Pyx_XDECREF(__pyx_t_3);
2673
2645
  __Pyx_XDECREF(__pyx_t_4);
2674
 
  __Pyx_XDECREF(__pyx_t_6);
2675
2646
  __Pyx_XDECREF(__pyx_t_7);
 
2647
  __Pyx_XDECREF(__pyx_t_8);
2676
2648
  __Pyx_AddTraceback("h5py.h5t.TypeID.__hash__");
2677
2649
  __pyx_r = -1;
2678
2650
  __pyx_L0:;
2679
 
  __Pyx_FinishRefcountContext();
 
2651
  __Pyx_DECREF((PyObject *)__pyx_v_self);
 
2652
  if (unlikely(__pyx_r == -1) && !PyErr_Occurred()) __pyx_r = -2;
 
2653
  __Pyx_RefNannyFinishContext();
2680
2654
  return __pyx_r;
2681
2655
}
2682
2656
 
2683
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":344
 
2657
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":311
2684
2658
 *         return self._hash
2685
2659
 * 
2686
2660
 *     def __richcmp__(self, object other, int how):             # <<<<<<<<<<<<<<
2693
2667
  int __pyx_v_truthval;
2694
2668
  PyObject *__pyx_r = NULL;
2695
2669
  int __pyx_t_1;
2696
 
  PyObject *__pyx_t_2 = NULL;
2697
 
  PyObject *__pyx_t_3 = NULL;
 
2670
  int __pyx_t_2;
 
2671
  int __pyx_t_3;
2698
2672
  PyObject *__pyx_t_4 = NULL;
2699
 
  __Pyx_SetupRefcountContext("__richcmp__");
 
2673
  PyObject *__pyx_t_5 = NULL;
 
2674
  PyObject *__pyx_t_6 = NULL;
 
2675
  __Pyx_RefNannySetupContext("__richcmp__");
 
2676
  __Pyx_INCREF(__pyx_v_self);
 
2677
  __Pyx_INCREF(__pyx_v_other);
2700
2678
 
2701
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":345
 
2679
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":312
2702
2680
 * 
2703
2681
 *     def __richcmp__(self, object other, int how):
2704
2682
 *         cdef bint truthval = 0             # <<<<<<<<<<<<<<
2707
2685
 */
2708
2686
  __pyx_v_truthval = 0;
2709
2687
 
2710
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":346
 
2688
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":313
2711
2689
 *     def __richcmp__(self, object other, int how):
2712
2690
 *         cdef bint truthval = 0
2713
2691
 *         if how != 2 and how != 3:             # <<<<<<<<<<<<<<
2714
2692
 *             return NotImplemented
2715
2693
 *         if isinstance(other, TypeID):
2716
2694
 */
2717
 
  if ((__pyx_v_how != 2)) {
2718
 
    __pyx_t_1 = (__pyx_v_how != 3);
 
2695
  __pyx_t_1 = (__pyx_v_how != 2);
 
2696
  if (__pyx_t_1) {
 
2697
    __pyx_t_2 = (__pyx_v_how != 3);
 
2698
    __pyx_t_3 = __pyx_t_2;
2719
2699
  } else {
2720
 
    __pyx_t_1 = (__pyx_v_how != 2);
 
2700
    __pyx_t_3 = __pyx_t_1;
2721
2701
  }
2722
 
  if (__pyx_t_1) {
 
2702
  if (__pyx_t_3) {
2723
2703
 
2724
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":347
 
2704
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":314
2725
2705
 *         cdef bint truthval = 0
2726
2706
 *         if how != 2 and how != 3:
2727
2707
 *             return NotImplemented             # <<<<<<<<<<<<<<
2736
2716
  }
2737
2717
  __pyx_L5:;
2738
2718
 
2739
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":348
 
2719
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":315
2740
2720
 *         if how != 2 and how != 3:
2741
2721
 *             return NotImplemented
2742
2722
 *         if isinstance(other, TypeID):             # <<<<<<<<<<<<<<
2743
2723
 *             truthval = self.equal(other)
2744
2724
 * 
2745
2725
 */
2746
 
  __pyx_t_1 = PyObject_TypeCheck(__pyx_v_other, ((PyTypeObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeID))); 
2747
 
  if (__pyx_t_1) {
 
2726
  __pyx_t_3 = PyObject_TypeCheck(__pyx_v_other, ((PyTypeObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeID))); 
 
2727
  if (__pyx_t_3) {
2748
2728
 
2749
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":349
 
2729
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":316
2750
2730
 *             return NotImplemented
2751
2731
 *         if isinstance(other, TypeID):
2752
2732
 *             truthval = self.equal(other)             # <<<<<<<<<<<<<<
2753
2733
 * 
2754
2734
 *         if how == 2:
2755
2735
 */
2756
 
    __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_equal); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2757
 
    __Pyx_GOTREF(__pyx_t_2);
2758
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2759
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
2736
    __pyx_t_4 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s__equal); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2737
    __Pyx_GOTREF(__pyx_t_4);
 
2738
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2739
    __Pyx_GOTREF(__pyx_t_5);
2760
2740
    __Pyx_INCREF(__pyx_v_other);
2761
 
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_other);
 
2741
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_other);
2762
2742
    __Pyx_GIVEREF(__pyx_v_other);
2763
 
    __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2764
 
    __Pyx_GOTREF(__pyx_t_4);
2765
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2766
 
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
2767
 
    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_1 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2743
    __pyx_t_6 = PyObject_Call(__pyx_t_4, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2744
    __Pyx_GOTREF(__pyx_t_6);
2768
2745
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2769
 
    __pyx_v_truthval = __pyx_t_1;
 
2746
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
2747
    __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2748
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
2749
    __pyx_v_truthval = __pyx_t_3;
2770
2750
    goto __pyx_L6;
2771
2751
  }
2772
2752
  __pyx_L6:;
2773
2753
 
2774
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":351
 
2754
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":318
2775
2755
 *             truthval = self.equal(other)
2776
2756
 * 
2777
2757
 *         if how == 2:             # <<<<<<<<<<<<<<
2778
2758
 *             return truthval
2779
2759
 *         return not truthval
2780
2760
 */
2781
 
  __pyx_t_1 = (__pyx_v_how == 2);
2782
 
  if (__pyx_t_1) {
 
2761
  __pyx_t_3 = (__pyx_v_how == 2);
 
2762
  if (__pyx_t_3) {
2783
2763
 
2784
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":352
 
2764
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":319
2785
2765
 * 
2786
2766
 *         if how == 2:
2787
2767
 *             return truthval             # <<<<<<<<<<<<<<
2789
2769
 * 
2790
2770
 */
2791
2771
    __Pyx_XDECREF(__pyx_r);
2792
 
    __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_truthval); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2793
 
    __Pyx_GOTREF(__pyx_t_4);
2794
 
    __pyx_r = __pyx_t_4;
2795
 
    __pyx_t_4 = 0;
 
2772
    __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_truthval); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2773
    __Pyx_GOTREF(__pyx_t_6);
 
2774
    __pyx_r = __pyx_t_6;
 
2775
    __pyx_t_6 = 0;
2796
2776
    goto __pyx_L0;
2797
2777
    goto __pyx_L7;
2798
2778
  }
2799
2779
  __pyx_L7:;
2800
2780
 
2801
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":353
 
2781
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":320
2802
2782
 *         if how == 2:
2803
2783
 *             return truthval
2804
2784
 *         return not truthval             # <<<<<<<<<<<<<<
2806
2786
 *     def __copy__(self):
2807
2787
 */
2808
2788
  __Pyx_XDECREF(__pyx_r);
2809
 
  __pyx_t_4 = __Pyx_PyBool_FromLong((!__pyx_v_truthval)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2810
 
  __Pyx_GOTREF(__pyx_t_4);
2811
 
  __pyx_r = __pyx_t_4;
2812
 
  __pyx_t_4 = 0;
 
2789
  __pyx_t_6 = __Pyx_PyBool_FromLong((!__pyx_v_truthval)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2790
  __Pyx_GOTREF(__pyx_t_6);
 
2791
  __pyx_r = __pyx_t_6;
 
2792
  __pyx_t_6 = 0;
2813
2793
  goto __pyx_L0;
2814
2794
 
2815
2795
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2816
2796
  goto __pyx_L0;
2817
2797
  __pyx_L1_error:;
2818
 
  __Pyx_XDECREF(__pyx_t_2);
2819
 
  __Pyx_XDECREF(__pyx_t_3);
2820
2798
  __Pyx_XDECREF(__pyx_t_4);
 
2799
  __Pyx_XDECREF(__pyx_t_5);
 
2800
  __Pyx_XDECREF(__pyx_t_6);
2821
2801
  __Pyx_AddTraceback("h5py.h5t.TypeID.__richcmp__");
2822
2802
  __pyx_r = NULL;
2823
2803
  __pyx_L0:;
 
2804
  __Pyx_DECREF(__pyx_v_self);
 
2805
  __Pyx_DECREF(__pyx_v_other);
2824
2806
  __Pyx_XGIVEREF(__pyx_r);
2825
 
  __Pyx_FinishRefcountContext();
 
2807
  __Pyx_RefNannyFinishContext();
2826
2808
  return __pyx_r;
2827
2809
}
2828
2810
 
2829
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":355
 
2811
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":322
2830
2812
 *         return not truthval
2831
2813
 * 
2832
2814
 *     def __copy__(self):             # <<<<<<<<<<<<<<
2841
2823
  PyObject *__pyx_t_1 = NULL;
2842
2824
  PyObject *__pyx_t_2 = NULL;
2843
2825
  PyObject *__pyx_t_3 = NULL;
2844
 
  __Pyx_SetupRefcountContext("__copy__");
 
2826
  __Pyx_RefNannySetupContext("__copy__");
2845
2827
  __pyx_v_cpy = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
2846
2828
 
2847
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":357
 
2829
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":324
2848
2830
 *     def __copy__(self):
2849
2831
 *         cdef TypeID cpy
2850
2832
 *         cpy = ObjectID.__copy__(self)             # <<<<<<<<<<<<<<
2851
2833
 *         return cpy
2852
2834
 * 
2853
2835
 */
2854
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_kp___copy__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2836
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4h5py_2h5_ObjectID)), __pyx_n_s____copy__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2855
2837
  __Pyx_GOTREF(__pyx_t_1);
2856
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2857
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
2838
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2839
  __Pyx_GOTREF(__pyx_t_2);
2858
2840
  __Pyx_INCREF(__pyx_v_self);
2859
2841
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self);
2860
2842
  __Pyx_GIVEREF(__pyx_v_self);
2861
 
  __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2843
  __pyx_t_3 = PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2862
2844
  __Pyx_GOTREF(__pyx_t_3);
2863
2845
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2864
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
2865
 
  if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2846
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
2847
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2866
2848
  __Pyx_DECREF(((PyObject *)__pyx_v_cpy));
2867
2849
  __pyx_v_cpy = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_3);
2868
2850
  __pyx_t_3 = 0;
2869
2851
 
2870
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":358
 
2852
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":325
2871
2853
 *         cdef TypeID cpy
2872
2854
 *         cpy = ObjectID.__copy__(self)
2873
2855
 *         return cpy             # <<<<<<<<<<<<<<
2890
2872
  __pyx_L0:;
2891
2873
  __Pyx_DECREF((PyObject *)__pyx_v_cpy);
2892
2874
  __Pyx_XGIVEREF(__pyx_r);
2893
 
  __Pyx_FinishRefcountContext();
 
2875
  __Pyx_RefNannyFinishContext();
2894
2876
  return __pyx_r;
2895
2877
}
2896
2878
 
2897
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":363
 
2879
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":330
2898
2880
 *         """ A Numpy-style dtype object representing this object.
2899
2881
 *         """
2900
2882
 *         def __get__(self):             # <<<<<<<<<<<<<<
2906
2888
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_5dtype___get__(PyObject *__pyx_v_self) {
2907
2889
  PyObject *__pyx_r = NULL;
2908
2890
  PyObject *__pyx_t_1 = NULL;
2909
 
  __Pyx_SetupRefcountContext("__get__");
 
2891
  __Pyx_RefNannySetupContext("__get__");
2910
2892
 
2911
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":364
 
2893
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":331
2912
2894
 *         """
2913
2895
 *         def __get__(self):
2914
2896
 *             return self.py_dtype()             # <<<<<<<<<<<<<<
2916
2898
 *     cdef object py_dtype(self):
2917
2899
 */
2918
2900
  __Pyx_XDECREF(__pyx_r);
2919
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_vtab)->py_dtype(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2901
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_vtab)->py_dtype(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2920
2902
  __Pyx_GOTREF(__pyx_t_1);
2921
2903
  __pyx_r = __pyx_t_1;
2922
2904
  __pyx_t_1 = 0;
2930
2912
  __pyx_r = NULL;
2931
2913
  __pyx_L0:;
2932
2914
  __Pyx_XGIVEREF(__pyx_r);
2933
 
  __Pyx_FinishRefcountContext();
 
2915
  __Pyx_RefNannyFinishContext();
2934
2916
  return __pyx_r;
2935
2917
}
2936
2918
 
2937
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":366
 
2919
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":333
2938
2920
 *             return self.py_dtype()
2939
2921
 * 
2940
2922
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
2946
2928
  PyObject *__pyx_r = NULL;
2947
2929
  PyObject *__pyx_t_1 = NULL;
2948
2930
  PyObject *__pyx_t_2 = NULL;
2949
 
  __Pyx_SetupRefcountContext("py_dtype");
 
2931
  __Pyx_RefNannySetupContext("py_dtype");
2950
2932
 
2951
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":367
 
2933
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":334
2952
2934
 * 
2953
2935
 *     cdef object py_dtype(self):
2954
2936
 *         raise TypeError("No NumPy equivalent for %s exists" % self.__class__.__name__)             # <<<<<<<<<<<<<<
2955
2937
 * 
2956
2938
 *     IF H5PY_18API:
2957
2939
 */
2958
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp___class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2940
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2959
2941
  __Pyx_GOTREF(__pyx_t_1);
2960
 
  __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_kp___name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2942
  __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2961
2943
  __Pyx_GOTREF(__pyx_t_2);
2962
2944
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2963
 
  __pyx_t_1 = PyNumber_Remainder(__pyx_kp_172, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2945
  __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_3), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2964
2946
  __Pyx_GOTREF(__pyx_t_1);
2965
2947
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2966
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2967
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
2948
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2949
  __Pyx_GOTREF(__pyx_t_2);
2968
2950
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
2969
2951
  __Pyx_GIVEREF(__pyx_t_1);
2970
2952
  __pyx_t_1 = 0;
2971
 
  __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2953
  __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2972
2954
  __Pyx_GOTREF(__pyx_t_1);
2973
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
2955
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2974
2956
  __Pyx_Raise(__pyx_t_1, 0, 0);
2975
2957
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2976
 
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
2958
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
2977
2959
 
2978
2960
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
2979
2961
  goto __pyx_L0;
2984
2966
  __pyx_r = 0;
2985
2967
  __pyx_L0:;
2986
2968
  __Pyx_XGIVEREF(__pyx_r);
2987
 
  __Pyx_FinishRefcountContext();
 
2969
  __Pyx_RefNannyFinishContext();
2988
2970
  return __pyx_r;
2989
2971
}
2990
2972
 
2991
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":381
 
2973
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":348
2992
2974
 *     ELSE:
2993
 
 *         @sync
 
2975
 * 
2994
2976
 *         def commit(self, ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
2995
2977
 *             """(ObjectID group, STRING name)
2996
2978
 * 
3003
2985
  char *__pyx_v_name;
3004
2986
  PyObject *__pyx_r = NULL;
3005
2987
  herr_t __pyx_t_1;
3006
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_group,&__pyx_kp_name,0};
3007
 
  __Pyx_SetupRefcountContext("commit");
 
2988
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__group,&__pyx_n_s__name,0};
 
2989
  __Pyx_RefNannySetupContext("commit");
3008
2990
  if (unlikely(__pyx_kwds)) {
3009
2991
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
3010
2992
    PyObject* values[2] = {0,0};
3016
2998
    }
3017
2999
    switch (PyTuple_GET_SIZE(__pyx_args)) {
3018
3000
      case  0:
3019
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_group);
 
3001
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
3020
3002
      if (likely(values[0])) kw_args--;
3021
3003
      else goto __pyx_L5_argtuple_error;
3022
3004
      case  1:
3023
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_name);
 
3005
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
3024
3006
      if (likely(values[1])) kw_args--;
3025
3007
      else {
3026
 
        __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3008
        __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3027
3009
      }
3028
3010
    }
3029
3011
    if (unlikely(kw_args > 0)) {
3030
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "commit") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3012
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "commit") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3031
3013
    }
3032
3014
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)values[0]);
3033
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3015
    __pyx_v_name = __Pyx_PyBytes_AsString(values[1]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3034
3016
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
3035
3017
    goto __pyx_L5_argtuple_error;
3036
3018
  } else {
3037
3019
    __pyx_v_group = ((struct __pyx_obj_4h5py_2h5_ObjectID *)PyTuple_GET_ITEM(__pyx_args, 0));
3038
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3020
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3039
3021
  }
3040
3022
  goto __pyx_L4_argument_unpacking_done;
3041
3023
  __pyx_L5_argtuple_error:;
3042
 
  __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3024
  __Pyx_RaiseArgtupleInvalid("commit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3043
3025
  __pyx_L3_error:;
3044
3026
  __Pyx_AddTraceback("h5py.h5t.TypeID.commit");
3045
3027
  return NULL;
3046
3028
  __pyx_L4_argument_unpacking_done:;
3047
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3029
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4h5py_2h5_ObjectID, 0, "group", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3048
3030
 
3049
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":386
 
3031
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":353
3050
3032
 *             Commit this (transient) datatype to a named datatype in a file.
3051
3033
 *             """
3052
3034
 *             H5Tcommit(group.id, name, self.id)             # <<<<<<<<<<<<<<
3053
3035
 * 
3054
 
 *     @sync
 
3036
 * 
3055
3037
 */
3056
 
  __pyx_t_1 = H5Tcommit(__pyx_v_group->id, __pyx_v_name, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3038
  __pyx_t_1 = H5Tcommit(__pyx_v_group->id, __pyx_v_name, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3057
3039
 
3058
3040
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3059
3041
  goto __pyx_L0;
3062
3044
  __pyx_r = NULL;
3063
3045
  __pyx_L0:;
3064
3046
  __Pyx_XGIVEREF(__pyx_r);
3065
 
  __Pyx_FinishRefcountContext();
 
3047
  __Pyx_RefNannyFinishContext();
3066
3048
  return __pyx_r;
3067
3049
}
3068
3050
 
3069
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":389
3070
 
 * 
3071
 
 *     @sync
 
3051
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":356
 
3052
 * 
 
3053
 * 
3072
3054
 *     def committed(self):             # <<<<<<<<<<<<<<
3073
3055
 *         """() => BOOL is_comitted
3074
3056
 * 
3080
3062
  PyObject *__pyx_r = NULL;
3081
3063
  htri_t __pyx_t_1;
3082
3064
  PyObject *__pyx_t_2 = NULL;
3083
 
  __Pyx_SetupRefcountContext("committed");
 
3065
  __Pyx_RefNannySetupContext("committed");
3084
3066
 
3085
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":394
 
3067
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":361
3086
3068
 *         Determine if a given type object is named (T) or transient (F).
3087
3069
 *         """
3088
3070
 *         return <bint>(H5Tcommitted(self.id))             # <<<<<<<<<<<<<<
3089
3071
 * 
3090
 
 *     @sync
 
3072
 * 
3091
3073
 */
3092
3074
  __Pyx_XDECREF(__pyx_r);
3093
 
  __pyx_t_1 = H5Tcommitted(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3094
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3075
  __pyx_t_1 = H5Tcommitted(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3076
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3095
3077
  __Pyx_GOTREF(__pyx_t_2);
3096
3078
  __pyx_r = __pyx_t_2;
3097
3079
  __pyx_t_2 = 0;
3105
3087
  __pyx_r = NULL;
3106
3088
  __pyx_L0:;
3107
3089
  __Pyx_XGIVEREF(__pyx_r);
3108
 
  __Pyx_FinishRefcountContext();
 
3090
  __Pyx_RefNannyFinishContext();
3109
3091
  return __pyx_r;
3110
3092
}
3111
3093
 
3112
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":397
3113
 
 * 
3114
 
 *     @sync
 
3094
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":364
 
3095
 * 
 
3096
 * 
3115
3097
 *     def copy(self):             # <<<<<<<<<<<<<<
3116
3098
 *         """() => TypeID
3117
3099
 * 
3123
3105
  PyObject *__pyx_r = NULL;
3124
3106
  hid_t __pyx_t_1;
3125
3107
  PyObject *__pyx_t_2 = NULL;
3126
 
  __Pyx_SetupRefcountContext("copy");
 
3108
  __Pyx_RefNannySetupContext("copy");
3127
3109
 
3128
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":402
 
3110
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":369
3129
3111
 *         Create a copy of this type object.
3130
3112
 *         """
3131
3113
 *         return typewrap(H5Tcopy(self.id))             # <<<<<<<<<<<<<<
3132
3114
 * 
3133
 
 *     @sync
 
3115
 * 
3134
3116
 */
3135
3117
  __Pyx_XDECREF(__pyx_r);
3136
 
  __pyx_t_1 = H5Tcopy(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3137
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3118
  __pyx_t_1 = H5Tcopy(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3119
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3138
3120
  __Pyx_GOTREF(__pyx_t_2);
3139
3121
  __pyx_r = __pyx_t_2;
3140
3122
  __pyx_t_2 = 0;
3148
3130
  __pyx_r = NULL;
3149
3131
  __pyx_L0:;
3150
3132
  __Pyx_XGIVEREF(__pyx_r);
3151
 
  __Pyx_FinishRefcountContext();
 
3133
  __Pyx_RefNannyFinishContext();
3152
3134
  return __pyx_r;
3153
3135
}
3154
3136
 
3155
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":405
3156
 
 * 
3157
 
 *     @sync
 
3137
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":372
 
3138
 * 
 
3139
 * 
3158
3140
 *     def equal(self, TypeID typeid):             # <<<<<<<<<<<<<<
3159
3141
 *         """(TypeID typeid) => BOOL
3160
3142
 * 
3166
3148
  PyObject *__pyx_r = NULL;
3167
3149
  htri_t __pyx_t_1;
3168
3150
  PyObject *__pyx_t_2 = NULL;
3169
 
  __Pyx_SetupRefcountContext("equal");
3170
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_typeid), __pyx_ptype_4h5py_3h5t_TypeID, 1, "typeid", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3151
  __Pyx_RefNannySetupContext("equal");
 
3152
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_typeid), __pyx_ptype_4h5py_3h5t_TypeID, 1, "typeid", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3171
3153
 
3172
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":411
 
3154
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":378
3173
3155
 *         Python's "==" operator.
3174
3156
 *         """
3175
3157
 *         return <bint>(H5Tequal(self.id, typeid.id))             # <<<<<<<<<<<<<<
3176
3158
 * 
3177
 
 *     @sync
 
3159
 * 
3178
3160
 */
3179
3161
  __Pyx_XDECREF(__pyx_r);
3180
 
  __pyx_t_1 = H5Tequal(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_typeid)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3181
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3162
  __pyx_t_1 = H5Tequal(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_typeid)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3163
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3182
3164
  __Pyx_GOTREF(__pyx_t_2);
3183
3165
  __pyx_r = __pyx_t_2;
3184
3166
  __pyx_t_2 = 0;
3192
3174
  __pyx_r = NULL;
3193
3175
  __pyx_L0:;
3194
3176
  __Pyx_XGIVEREF(__pyx_r);
3195
 
  __Pyx_FinishRefcountContext();
 
3177
  __Pyx_RefNannyFinishContext();
3196
3178
  return __pyx_r;
3197
3179
}
3198
3180
 
3199
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":414
3200
 
 * 
3201
 
 *     @sync
 
3181
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":381
 
3182
 * 
 
3183
 * 
3202
3184
 *     def lock(self):             # <<<<<<<<<<<<<<
3203
3185
 *         """()
3204
3186
 * 
3209
3191
static PyObject *__pyx_pf_4h5py_3h5t_6TypeID_lock(PyObject *__pyx_v_self, PyObject *unused) {
3210
3192
  PyObject *__pyx_r = NULL;
3211
3193
  herr_t __pyx_t_1;
3212
 
  __Pyx_SetupRefcountContext("lock");
 
3194
  __Pyx_RefNannySetupContext("lock");
3213
3195
 
3214
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":420
 
3196
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":387
3215
3197
 *         Once locked, it can't be unlocked.
3216
3198
 *         """
3217
3199
 *         H5Tlock(self.id)             # <<<<<<<<<<<<<<
3218
3200
 *         self._locked = 1
3219
3201
 * 
3220
3202
 */
3221
 
  __pyx_t_1 = H5Tlock(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3203
  __pyx_t_1 = H5Tlock(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3222
3204
 
3223
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":421
 
3205
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":388
3224
3206
 *         """
3225
3207
 *         H5Tlock(self.id)
3226
3208
 *         self._locked = 1             # <<<<<<<<<<<<<<
3227
3209
 * 
3228
 
 *     @sync
 
3210
 * 
3229
3211
 */
3230
3212
  ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._locked = 1;
3231
3213
 
3236
3218
  __pyx_r = NULL;
3237
3219
  __pyx_L0:;
3238
3220
  __Pyx_XGIVEREF(__pyx_r);
3239
 
  __Pyx_FinishRefcountContext();
 
3221
  __Pyx_RefNannyFinishContext();
3240
3222
  return __pyx_r;
3241
3223
}
3242
3224
 
3243
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":424
3244
 
 * 
3245
 
 *     @sync
 
3225
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":391
 
3226
 * 
 
3227
 * 
3246
3228
 *     def get_class(self):             # <<<<<<<<<<<<<<
3247
3229
 *         """() => INT classcode
3248
3230
 * 
3254
3236
  PyObject *__pyx_r = NULL;
3255
3237
  enum H5T_class_t __pyx_t_1;
3256
3238
  PyObject *__pyx_t_2 = NULL;
3257
 
  __Pyx_SetupRefcountContext("get_class");
 
3239
  __Pyx_RefNannySetupContext("get_class");
3258
3240
 
3259
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":429
 
3241
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":396
3260
3242
 *         Determine the datatype's class code.
3261
3243
 *         """
3262
3244
 *         return <int>H5Tget_class(self.id)             # <<<<<<<<<<<<<<
3263
3245
 * 
3264
 
 *     @sync
 
3246
 * 
3265
3247
 */
3266
3248
  __Pyx_XDECREF(__pyx_r);
3267
 
  __pyx_t_1 = H5Tget_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3268
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3249
  __pyx_t_1 = H5Tget_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3250
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3269
3251
  __Pyx_GOTREF(__pyx_t_2);
3270
3252
  __pyx_r = __pyx_t_2;
3271
3253
  __pyx_t_2 = 0;
3279
3261
  __pyx_r = NULL;
3280
3262
  __pyx_L0:;
3281
3263
  __Pyx_XGIVEREF(__pyx_r);
3282
 
  __Pyx_FinishRefcountContext();
 
3264
  __Pyx_RefNannyFinishContext();
3283
3265
  return __pyx_r;
3284
3266
}
3285
3267
 
3286
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":432
3287
 
 * 
3288
 
 *     @sync
 
3268
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":399
 
3269
 * 
 
3270
 * 
3289
3271
 *     def set_size(self, size_t size):             # <<<<<<<<<<<<<<
3290
3272
 *         """(UINT size)
3291
3273
 * 
3297
3279
  size_t __pyx_v_size;
3298
3280
  PyObject *__pyx_r = NULL;
3299
3281
  herr_t __pyx_t_1;
3300
 
  __Pyx_SetupRefcountContext("set_size");
 
3282
  __Pyx_RefNannySetupContext("set_size");
3301
3283
  assert(__pyx_arg_size); {
3302
 
    __pyx_v_size = __Pyx_PyInt_AsSize_t(__pyx_arg_size); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3284
    __pyx_v_size = __Pyx_PyInt_AsSize_t(__pyx_arg_size); if (unlikely((__pyx_v_size == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3303
3285
  }
3304
3286
  goto __pyx_L4_argument_unpacking_done;
3305
3287
  __pyx_L3_error:;
3307
3289
  return NULL;
3308
3290
  __pyx_L4_argument_unpacking_done:;
3309
3291
 
3310
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":437
 
3292
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":404
3311
3293
 *         Set the total size of the datatype, in bytes.
3312
3294
 *         """
3313
3295
 *         H5Tset_size(self.id, size)             # <<<<<<<<<<<<<<
3314
3296
 * 
3315
 
 *     @sync
 
3297
 * 
3316
3298
 */
3317
 
  __pyx_t_1 = H5Tset_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3299
  __pyx_t_1 = H5Tset_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3318
3300
 
3319
3301
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3320
3302
  goto __pyx_L0;
3323
3305
  __pyx_r = NULL;
3324
3306
  __pyx_L0:;
3325
3307
  __Pyx_XGIVEREF(__pyx_r);
3326
 
  __Pyx_FinishRefcountContext();
 
3308
  __Pyx_RefNannyFinishContext();
3327
3309
  return __pyx_r;
3328
3310
}
3329
3311
 
3330
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":440
3331
 
 * 
3332
 
 *     @sync
 
3312
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":407
 
3313
 * 
 
3314
 * 
3333
3315
 *     def get_size(self):             # <<<<<<<<<<<<<<
3334
3316
 *         """ () => INT size
3335
3317
 * 
3341
3323
  PyObject *__pyx_r = NULL;
3342
3324
  size_t __pyx_t_1;
3343
3325
  PyObject *__pyx_t_2 = NULL;
3344
 
  __Pyx_SetupRefcountContext("get_size");
 
3326
  __Pyx_RefNannySetupContext("get_size");
3345
3327
 
3346
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":445
 
3328
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":412
3347
3329
 *             Determine the total size of a datatype, in bytes.
3348
3330
 *         """
3349
3331
 *         return H5Tget_size(self.id)             # <<<<<<<<<<<<<<
3350
3332
 * 
3351
 
 *     @sync
 
3333
 * 
3352
3334
 */
3353
3335
  __Pyx_XDECREF(__pyx_r);
3354
 
  __pyx_t_1 = H5Tget_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3355
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3336
  __pyx_t_1 = H5Tget_size(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3337
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3356
3338
  __Pyx_GOTREF(__pyx_t_2);
3357
3339
  __pyx_r = __pyx_t_2;
3358
3340
  __pyx_t_2 = 0;
3366
3348
  __pyx_r = NULL;
3367
3349
  __pyx_L0:;
3368
3350
  __Pyx_XGIVEREF(__pyx_r);
3369
 
  __Pyx_FinishRefcountContext();
 
3351
  __Pyx_RefNannyFinishContext();
3370
3352
  return __pyx_r;
3371
3353
}
3372
3354
 
3373
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":448
3374
 
 * 
3375
 
 *     @sync
 
3355
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":415
 
3356
 * 
 
3357
 * 
3376
3358
 *     def get_super(self):             # <<<<<<<<<<<<<<
3377
3359
 *         """() => TypeID
3378
3360
 * 
3384
3366
  PyObject *__pyx_r = NULL;
3385
3367
  hid_t __pyx_t_1;
3386
3368
  PyObject *__pyx_t_2 = NULL;
3387
 
  __Pyx_SetupRefcountContext("get_super");
 
3369
  __Pyx_RefNannySetupContext("get_super");
3388
3370
 
3389
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":453
 
3371
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":420
3390
3372
 *         Determine the parent type of an array, enumeration or vlen datatype.
3391
3373
 *         """
3392
3374
 *         return typewrap(H5Tget_super(self.id))             # <<<<<<<<<<<<<<
3393
3375
 * 
3394
 
 *     @sync
 
3376
 * 
3395
3377
 */
3396
3378
  __Pyx_XDECREF(__pyx_r);
3397
 
  __pyx_t_1 = H5Tget_super(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3398
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3379
  __pyx_t_1 = H5Tget_super(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3380
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3399
3381
  __Pyx_GOTREF(__pyx_t_2);
3400
3382
  __pyx_r = __pyx_t_2;
3401
3383
  __pyx_t_2 = 0;
3409
3391
  __pyx_r = NULL;
3410
3392
  __pyx_L0:;
3411
3393
  __Pyx_XGIVEREF(__pyx_r);
3412
 
  __Pyx_FinishRefcountContext();
 
3394
  __Pyx_RefNannyFinishContext();
3413
3395
  return __pyx_r;
3414
3396
}
3415
3397
 
3416
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":456
3417
 
 * 
3418
 
 *     @sync
 
3398
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":423
 
3399
 * 
 
3400
 * 
3419
3401
 *     def detect_class(self, int classtype):             # <<<<<<<<<<<<<<
3420
3402
 *         """(INT classtype) => BOOL class_is_present
3421
3403
 * 
3428
3410
  PyObject *__pyx_r = NULL;
3429
3411
  htri_t __pyx_t_1;
3430
3412
  PyObject *__pyx_t_2 = NULL;
3431
 
  __Pyx_SetupRefcountContext("detect_class");
 
3413
  __Pyx_RefNannySetupContext("detect_class");
3432
3414
  assert(__pyx_arg_classtype); {
3433
 
    __pyx_v_classtype = __Pyx_PyInt_AsInt(__pyx_arg_classtype); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3415
    __pyx_v_classtype = __Pyx_PyInt_AsInt(__pyx_arg_classtype); if (unlikely((__pyx_v_classtype == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3434
3416
  }
3435
3417
  goto __pyx_L4_argument_unpacking_done;
3436
3418
  __pyx_L3_error:;
3438
3420
  return NULL;
3439
3421
  __pyx_L4_argument_unpacking_done:;
3440
3422
 
3441
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":462
 
3423
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":429
3442
3424
 *         datatype.  The search is recursive.
3443
3425
 *         """
3444
3426
 *         return <bint>(H5Tdetect_class(self.id, <H5T_class_t>classtype))             # <<<<<<<<<<<<<<
3445
3427
 * 
3446
 
 *     @sync
 
3428
 * 
3447
3429
 */
3448
3430
  __Pyx_XDECREF(__pyx_r);
3449
 
  __pyx_t_1 = H5Tdetect_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((enum H5T_class_t)__pyx_v_classtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3450
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3431
  __pyx_t_1 = H5Tdetect_class(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id, ((enum H5T_class_t)__pyx_v_classtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3432
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3451
3433
  __Pyx_GOTREF(__pyx_t_2);
3452
3434
  __pyx_r = __pyx_t_2;
3453
3435
  __pyx_t_2 = 0;
3461
3443
  __pyx_r = NULL;
3462
3444
  __pyx_L0:;
3463
3445
  __Pyx_XGIVEREF(__pyx_r);
3464
 
  __Pyx_FinishRefcountContext();
 
3446
  __Pyx_RefNannyFinishContext();
3465
3447
  return __pyx_r;
3466
3448
}
3467
3449
 
3468
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":465
3469
 
 * 
3470
 
 *     @sync
 
3450
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":432
 
3451
 * 
 
3452
 * 
3471
3453
 *     def _close(self):             # <<<<<<<<<<<<<<
3472
3454
 *         """()
3473
3455
 * 
3479
3461
  PyObject *__pyx_r = NULL;
3480
3462
  int __pyx_t_1;
3481
3463
  herr_t __pyx_t_2;
3482
 
  __Pyx_SetupRefcountContext("_close");
 
3464
  __Pyx_RefNannySetupContext("_close");
 
3465
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3483
3466
 
3484
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":473
 
3467
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":440
3485
3468
 *         objects are automatically closed when they're deallocated.
3486
3469
 *         """
3487
3470
 *         if not self._locked:             # <<<<<<<<<<<<<<
3491
3474
  __pyx_t_1 = (!((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base._locked);
3492
3475
  if (__pyx_t_1) {
3493
3476
 
3494
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":474
 
3477
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":441
3495
3478
 *         """
3496
3479
 *         if not self._locked:
3497
3480
 *             H5Tclose(self.id)             # <<<<<<<<<<<<<<
3498
3481
 * 
3499
3482
 *     IF H5PY_18API:
3500
3483
 */
3501
 
    __pyx_t_2 = H5Tclose(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3484
    __pyx_t_2 = H5Tclose(((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_v_self)->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3502
3485
    goto __pyx_L5;
3503
3486
  }
3504
3487
  __pyx_L5:;
3509
3492
  __Pyx_AddTraceback("h5py.h5t.TypeID._close");
3510
3493
  __pyx_r = NULL;
3511
3494
  __pyx_L0:;
 
3495
  __Pyx_DECREF((PyObject *)__pyx_v_self);
3512
3496
  __Pyx_XGIVEREF(__pyx_r);
3513
 
  __Pyx_FinishRefcountContext();
 
3497
  __Pyx_RefNannyFinishContext();
3514
3498
  return __pyx_r;
3515
3499
}
3516
3500
 
3517
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":518
3518
 
 * 
3519
 
 *     @sync
 
3501
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":485
 
3502
 * 
 
3503
 * 
3520
3504
 *     def get_array_ndims(self):             # <<<<<<<<<<<<<<
3521
3505
 *         """() => INT rank
3522
3506
 * 
3528
3512
  PyObject *__pyx_r = NULL;
3529
3513
  int __pyx_t_1;
3530
3514
  PyObject *__pyx_t_2 = NULL;
3531
 
  __Pyx_SetupRefcountContext("get_array_ndims");
 
3515
  __Pyx_RefNannySetupContext("get_array_ndims");
3532
3516
 
3533
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":523
 
3517
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":490
3534
3518
 *         Get the rank of the given array datatype.
3535
3519
 *         """
3536
3520
 *         return H5Tget_array_ndims(self.id)             # <<<<<<<<<<<<<<
3537
3521
 * 
3538
 
 *     @sync
 
3522
 * 
3539
3523
 */
3540
3524
  __Pyx_XDECREF(__pyx_r);
3541
 
  __pyx_t_1 = H5Tget_array_ndims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3542
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3525
  __pyx_t_1 = H5Tget_array_ndims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3526
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3543
3527
  __Pyx_GOTREF(__pyx_t_2);
3544
3528
  __pyx_r = __pyx_t_2;
3545
3529
  __pyx_t_2 = 0;
3553
3537
  __pyx_r = NULL;
3554
3538
  __pyx_L0:;
3555
3539
  __Pyx_XGIVEREF(__pyx_r);
3556
 
  __Pyx_FinishRefcountContext();
 
3540
  __Pyx_RefNannyFinishContext();
3557
3541
  return __pyx_r;
3558
3542
}
3559
3543
 
3560
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":526
3561
 
 * 
3562
 
 *     @sync
 
3544
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":493
 
3545
 * 
 
3546
 * 
3563
3547
 *     def get_array_dims(self):             # <<<<<<<<<<<<<<
3564
3548
 *         """() => TUPLE dimensions
3565
3549
 * 
3574
3558
  int __pyx_t_1;
3575
3559
  void *__pyx_t_2;
3576
3560
  PyObject *__pyx_t_3 = NULL;
3577
 
  __Pyx_SetupRefcountContext("get_array_dims");
 
3561
  __Pyx_RefNannySetupContext("get_array_dims");
 
3562
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3578
3563
 
3579
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":533
 
3564
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":500
3580
3565
 *         """
3581
3566
 *         cdef hsize_t rank
3582
3567
 *         cdef hsize_t* dims = NULL             # <<<<<<<<<<<<<<
3585
3570
 */
3586
3571
  __pyx_v_dims = NULL;
3587
3572
 
3588
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":535
 
3573
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":502
3589
3574
 *         cdef hsize_t* dims = NULL
3590
3575
 * 
3591
3576
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)             # <<<<<<<<<<<<<<
3592
3577
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3593
3578
 *         try:
3594
3579
 */
3595
 
  __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, NULL, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3580
  __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, NULL, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3596
3581
  __pyx_v_rank = __pyx_t_1;
3597
3582
 
3598
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":536
 
3583
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":503
3599
3584
 * 
3600
3585
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)
3601
3586
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)             # <<<<<<<<<<<<<<
3602
3587
 *         try:
3603
3588
 *             H5Tget_array_dims(self.id, dims, NULL)
3604
3589
 */
3605
 
  __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[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3590
  __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[0]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3606
3591
  __pyx_v_dims = ((hsize_t *)__pyx_t_2);
3607
3592
 
3608
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":537
 
3593
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":504
3609
3594
 *         rank = H5Tget_array_dims(self.id, NULL, NULL)
3610
3595
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3611
3596
 *         try:             # <<<<<<<<<<<<<<
3614
3599
 */
3615
3600
  /*try:*/ {
3616
3601
 
3617
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":538
 
3602
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":505
3618
3603
 *         dims = <hsize_t*>emalloc(sizeof(hsize_t)*rank)
3619
3604
 *         try:
3620
3605
 *             H5Tget_array_dims(self.id, dims, NULL)             # <<<<<<<<<<<<<<
3621
3606
 *             return convert_dims(dims, rank)
3622
3607
 *         finally:
3623
3608
 */
3624
 
    __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3609
    __pyx_t_1 = H5Tget_array_dims(((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_dims, NULL); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L6;}
3625
3610
 
3626
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":539
 
3611
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":506
3627
3612
 *         try:
3628
3613
 *             H5Tget_array_dims(self.id, dims, NULL)
3629
3614
 *             return convert_dims(dims, rank)             # <<<<<<<<<<<<<<
3631
3616
 *             efree(dims)
3632
3617
 */
3633
3618
    __Pyx_XDECREF(__pyx_r);
3634
 
    __pyx_t_3 = __pyx_f_4h5py_5utils_convert_dims(__pyx_v_dims, __pyx_v_rank); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3619
    __pyx_t_3 = __pyx_f_4h5py_5utils_convert_dims(__pyx_v_dims, __pyx_v_rank); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L6;}
3635
3620
    __Pyx_GOTREF(__pyx_t_3);
3636
3621
    __pyx_r = __pyx_t_3;
3637
3622
    __pyx_t_3 = 0;
3654
3639
    }
3655
3640
    __pyx_L7:;
3656
3641
 
3657
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":541
 
3642
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":508
3658
3643
 *             return convert_dims(dims, rank)
3659
3644
 *         finally:
3660
3645
 *             efree(dims)             # <<<<<<<<<<<<<<
3682
3667
  __Pyx_AddTraceback("h5py.h5t.TypeArrayID.get_array_dims");
3683
3668
  __pyx_r = NULL;
3684
3669
  __pyx_L0:;
 
3670
  __Pyx_DECREF((PyObject *)__pyx_v_self);
3685
3671
  __Pyx_XGIVEREF(__pyx_r);
3686
 
  __Pyx_FinishRefcountContext();
 
3672
  __Pyx_RefNannyFinishContext();
3687
3673
  return __pyx_r;
3688
3674
}
3689
3675
 
3690
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":543
 
3676
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":510
3691
3677
 *             efree(dims)
3692
3678
 * 
3693
3679
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
3702
3688
  PyObject *__pyx_r = NULL;
3703
3689
  PyObject *__pyx_t_1 = NULL;
3704
3690
  PyObject *__pyx_t_2 = NULL;
3705
 
  __Pyx_SetupRefcountContext("py_dtype");
 
3691
  __Pyx_RefNannySetupContext("py_dtype");
3706
3692
  __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
3707
3693
  __pyx_v_base_dtype = Py_None; __Pyx_INCREF(Py_None);
3708
3694
  __pyx_v_shape = Py_None; __Pyx_INCREF(Py_None);
3709
3695
 
3710
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":546
 
3696
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":513
3711
3697
 *         # Numpy translation function for array types
3712
3698
 *         cdef TypeID tmp_type
3713
3699
 *         tmp_type = self.get_super()             # <<<<<<<<<<<<<<
3714
3700
 * 
3715
3701
 *         base_dtype = tmp_type.py_dtype()
3716
3702
 */
3717
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3703
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3718
3704
  __Pyx_GOTREF(__pyx_t_1);
3719
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3705
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3720
3706
  __Pyx_GOTREF(__pyx_t_2);
3721
3707
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3722
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3708
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3723
3709
  __Pyx_DECREF(((PyObject *)__pyx_v_tmp_type));
3724
3710
  __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
3725
3711
  __pyx_t_2 = 0;
3726
3712
 
3727
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":548
 
3713
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":515
3728
3714
 *         tmp_type = self.get_super()
3729
3715
 * 
3730
3716
 *         base_dtype = tmp_type.py_dtype()             # <<<<<<<<<<<<<<
3731
3717
 * 
3732
3718
 *         shape = self.get_array_dims()
3733
3719
 */
3734
 
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3720
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3735
3721
  __Pyx_GOTREF(__pyx_t_2);
3736
3722
  __Pyx_DECREF(__pyx_v_base_dtype);
3737
3723
  __pyx_v_base_dtype = __pyx_t_2;
3738
3724
  __pyx_t_2 = 0;
3739
3725
 
3740
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":550
 
3726
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":517
3741
3727
 *         base_dtype = tmp_type.py_dtype()
3742
3728
 * 
3743
3729
 *         shape = self.get_array_dims()             # <<<<<<<<<<<<<<
3744
3730
 *         return dtype( (base_dtype, shape) )
3745
3731
 * 
3746
3732
 */
3747
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_array_dims); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3733
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_array_dims); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3748
3734
  __Pyx_GOTREF(__pyx_t_2);
3749
 
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3735
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3750
3736
  __Pyx_GOTREF(__pyx_t_1);
3751
3737
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3752
3738
  __Pyx_DECREF(__pyx_v_shape);
3753
3739
  __pyx_v_shape = __pyx_t_1;
3754
3740
  __pyx_t_1 = 0;
3755
3741
 
3756
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":551
 
3742
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":518
3757
3743
 * 
3758
3744
 *         shape = self.get_array_dims()
3759
3745
 *         return dtype( (base_dtype, shape) )             # <<<<<<<<<<<<<<
3761
3747
 * 
3762
3748
 */
3763
3749
  __Pyx_XDECREF(__pyx_r);
3764
 
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3765
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
3750
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3751
  __Pyx_GOTREF(__pyx_t_1);
3766
3752
  __Pyx_INCREF(__pyx_v_base_dtype);
3767
3753
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base_dtype);
3768
3754
  __Pyx_GIVEREF(__pyx_v_base_dtype);
3769
3755
  __Pyx_INCREF(__pyx_v_shape);
3770
3756
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_shape);
3771
3757
  __Pyx_GIVEREF(__pyx_v_shape);
3772
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3773
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
3774
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_t_1));
3775
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
 
3758
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3759
  __Pyx_GOTREF(__pyx_t_2);
 
3760
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
 
3761
  __Pyx_GIVEREF(__pyx_t_1);
3776
3762
  __pyx_t_1 = 0;
3777
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3763
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3778
3764
  __Pyx_GOTREF(__pyx_t_1);
3779
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
3765
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3780
3766
  __pyx_r = __pyx_t_1;
3781
3767
  __pyx_t_1 = 0;
3782
3768
  goto __pyx_L0;
3793
3779
  __Pyx_DECREF(__pyx_v_base_dtype);
3794
3780
  __Pyx_DECREF(__pyx_v_shape);
3795
3781
  __Pyx_XGIVEREF(__pyx_r);
3796
 
  __Pyx_FinishRefcountContext();
 
3782
  __Pyx_RefNannyFinishContext();
3797
3783
  return __pyx_r;
3798
3784
}
3799
3785
 
3800
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":561
3801
 
 * 
3802
 
 *     @sync
 
3786
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":528
 
3787
 * 
 
3788
 * 
3803
3789
 *     def set_tag(self, char* tag):             # <<<<<<<<<<<<<<
3804
3790
 *         """(STRING tag)
3805
3791
 * 
3811
3797
  char *__pyx_v_tag;
3812
3798
  PyObject *__pyx_r = NULL;
3813
3799
  herr_t __pyx_t_1;
3814
 
  __Pyx_SetupRefcountContext("set_tag");
 
3800
  __Pyx_RefNannySetupContext("set_tag");
3815
3801
  assert(__pyx_arg_tag); {
3816
 
    __pyx_v_tag = __Pyx_PyBytes_AsString(__pyx_arg_tag); if (unlikely((!__pyx_v_tag) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
3802
    __pyx_v_tag = __Pyx_PyBytes_AsString(__pyx_arg_tag); if (unlikely((!__pyx_v_tag) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
3817
3803
  }
3818
3804
  goto __pyx_L4_argument_unpacking_done;
3819
3805
  __pyx_L3_error:;
3821
3807
  return NULL;
3822
3808
  __pyx_L4_argument_unpacking_done:;
3823
3809
 
3824
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":567
 
3810
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":534
3825
3811
 *         Limited to 256 characters.
3826
3812
 *         """
3827
3813
 *         H5Tset_tag(self.id, tag)             # <<<<<<<<<<<<<<
3828
3814
 * 
3829
 
 *     @sync
 
3815
 * 
3830
3816
 */
3831
 
  __pyx_t_1 = H5Tset_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_tag); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3817
  __pyx_t_1 = H5Tset_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_tag); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
3832
3818
 
3833
3819
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3834
3820
  goto __pyx_L0;
3837
3823
  __pyx_r = NULL;
3838
3824
  __pyx_L0:;
3839
3825
  __Pyx_XGIVEREF(__pyx_r);
3840
 
  __Pyx_FinishRefcountContext();
 
3826
  __Pyx_RefNannyFinishContext();
3841
3827
  return __pyx_r;
3842
3828
}
3843
3829
 
3844
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":570
3845
 
 * 
3846
 
 *     @sync
 
3830
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":537
 
3831
 * 
 
3832
 * 
3847
3833
 *     def get_tag(self):             # <<<<<<<<<<<<<<
3848
3834
 *         """() => STRING tag
3849
3835
 * 
3857
3843
  PyObject *__pyx_r = NULL;
3858
3844
  char *__pyx_t_1;
3859
3845
  PyObject *__pyx_t_2 = NULL;
3860
 
  __Pyx_SetupRefcountContext("get_tag");
 
3846
  __Pyx_RefNannySetupContext("get_tag");
 
3847
  __Pyx_INCREF((PyObject *)__pyx_v_self);
3861
3848
  __pyx_v_tag = Py_None; __Pyx_INCREF(Py_None);
3862
3849
 
3863
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":575
 
3850
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":542
3864
3851
 *         Get the tag associated with an opaque datatype.
3865
3852
 *         """
3866
3853
 *         cdef char* buf = NULL             # <<<<<<<<<<<<<<
3869
3856
 */
3870
3857
  __pyx_v_buf = NULL;
3871
3858
 
3872
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":577
 
3859
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":544
3873
3860
 *         cdef char* buf = NULL
3874
3861
 * 
3875
3862
 *         try:             # <<<<<<<<<<<<<<
3878
3865
 */
3879
3866
  /*try:*/ {
3880
3867
 
3881
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":578
 
3868
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":545
3882
3869
 * 
3883
3870
 *         try:
3884
3871
 *             buf = H5Tget_tag(self.id)             # <<<<<<<<<<<<<<
3885
3872
 *             assert buf != NULL
3886
3873
 *             tag = buf
3887
3874
 */
3888
 
    __pyx_t_1 = H5Tget_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3875
    __pyx_t_1 = H5Tget_tag(((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L6;}
3889
3876
    __pyx_v_buf = __pyx_t_1;
3890
3877
 
3891
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":579
 
3878
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":546
3892
3879
 *         try:
3893
3880
 *             buf = H5Tget_tag(self.id)
3894
3881
 *             assert buf != NULL             # <<<<<<<<<<<<<<
3898
3885
    #ifndef PYREX_WITHOUT_ASSERTIONS
3899
3886
    if (unlikely(!(__pyx_v_buf != NULL))) {
3900
3887
      PyErr_SetNone(PyExc_AssertionError);
3901
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3888
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L6;}
3902
3889
    }
3903
3890
    #endif
3904
3891
 
3905
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":580
 
3892
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":547
3906
3893
 *             buf = H5Tget_tag(self.id)
3907
3894
 *             assert buf != NULL
3908
3895
 *             tag = buf             # <<<<<<<<<<<<<<
3909
3896
 *             return tag
3910
3897
 *         finally:
3911
3898
 */
3912
 
    __pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_v_buf); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L6;}
 
3899
    __pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_v_buf); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L6;}
3913
3900
    __Pyx_GOTREF(__pyx_t_2);
3914
3901
    __Pyx_DECREF(__pyx_v_tag);
3915
3902
    __pyx_v_tag = __pyx_t_2;
3916
3903
    __pyx_t_2 = 0;
3917
3904
 
3918
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":581
 
3905
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":548
3919
3906
 *             assert buf != NULL
3920
3907
 *             tag = buf
3921
3908
 *             return tag             # <<<<<<<<<<<<<<
3944
3931
    }
3945
3932
    __pyx_L7:;
3946
3933
 
3947
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":583
 
3934
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":550
3948
3935
 *             return tag
3949
3936
 *         finally:
3950
3937
 *             free(buf)             # <<<<<<<<<<<<<<
3973
3960
  __pyx_r = NULL;
3974
3961
  __pyx_L0:;
3975
3962
  __Pyx_DECREF(__pyx_v_tag);
 
3963
  __Pyx_DECREF((PyObject *)__pyx_v_self);
3976
3964
  __Pyx_XGIVEREF(__pyx_r);
3977
 
  __Pyx_FinishRefcountContext();
 
3965
  __Pyx_RefNannyFinishContext();
3978
3966
  return __pyx_r;
3979
3967
}
3980
3968
 
3981
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":585
 
3969
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":552
3982
3970
 *             free(buf)
3983
3971
 * 
3984
3972
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
3990
3978
  PyObject *__pyx_r = NULL;
3991
3979
  PyObject *__pyx_t_1 = NULL;
3992
3980
  PyObject *__pyx_t_2 = NULL;
3993
 
  __Pyx_SetupRefcountContext("py_dtype");
 
3981
  __Pyx_RefNannySetupContext("py_dtype");
3994
3982
 
3995
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":587
 
3983
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":554
3996
3984
 *     cdef object py_dtype(self):
3997
3985
 *         # Numpy translation function for opaque types
3998
3986
 *         return dtype("|V" + str(self.get_size()))             # <<<<<<<<<<<<<<
4000
3988
 * cdef class TypeStringID(TypeID):
4001
3989
 */
4002
3990
  __Pyx_XDECREF(__pyx_r);
4003
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3991
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4004
3992
  __Pyx_GOTREF(__pyx_t_1);
4005
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3993
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4006
3994
  __Pyx_GOTREF(__pyx_t_2);
4007
3995
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4008
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4009
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
3996
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
3997
  __Pyx_GOTREF(__pyx_t_1);
4010
3998
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
4011
3999
  __Pyx_GIVEREF(__pyx_t_2);
4012
4000
  __pyx_t_2 = 0;
4013
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4001
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4014
4002
  __Pyx_GOTREF(__pyx_t_2);
4015
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4016
 
  __pyx_t_1 = PyNumber_Add(__pyx_kp_173, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4003
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4004
  __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_kp_s_4), __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4017
4005
  __Pyx_GOTREF(__pyx_t_1);
4018
4006
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4019
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4020
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
4007
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4008
  __Pyx_GOTREF(__pyx_t_2);
4021
4009
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
4022
4010
  __Pyx_GIVEREF(__pyx_t_1);
4023
4011
  __pyx_t_1 = 0;
4024
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4012
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4025
4013
  __Pyx_GOTREF(__pyx_t_1);
4026
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
4014
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4027
4015
  __pyx_r = __pyx_t_1;
4028
4016
  __pyx_t_1 = 0;
4029
4017
  goto __pyx_L0;
4037
4025
  __pyx_r = 0;
4038
4026
  __pyx_L0:;
4039
4027
  __Pyx_XGIVEREF(__pyx_r);
4040
 
  __Pyx_FinishRefcountContext();
 
4028
  __Pyx_RefNannyFinishContext();
4041
4029
  return __pyx_r;
4042
4030
}
4043
4031
 
4044
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":596
4045
 
 * 
4046
 
 *     @sync
 
4032
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":563
 
4033
 * 
 
4034
 * 
4047
4035
 *     def is_variable_str(self):             # <<<<<<<<<<<<<<
4048
4036
 *         """() => BOOL is_variable
4049
4037
 * 
4055
4043
  PyObject *__pyx_r = NULL;
4056
4044
  htri_t __pyx_t_1;
4057
4045
  PyObject *__pyx_t_2 = NULL;
4058
 
  __Pyx_SetupRefcountContext("is_variable_str");
 
4046
  __Pyx_RefNannySetupContext("is_variable_str");
4059
4047
 
4060
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":601
 
4048
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":568
4061
4049
 *         Determine if the given string datatype is a variable-length string.
4062
4050
 *         """
4063
4051
 *         return <bint>(H5Tis_variable_str(self.id))             # <<<<<<<<<<<<<<
4064
4052
 * 
4065
 
 *     @sync
 
4053
 * 
4066
4054
 */
4067
4055
  __Pyx_XDECREF(__pyx_r);
4068
 
  __pyx_t_1 = H5Tis_variable_str(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4069
 
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4056
  __pyx_t_1 = H5Tis_variable_str(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4057
  __pyx_t_2 = __Pyx_PyBool_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4070
4058
  __Pyx_GOTREF(__pyx_t_2);
4071
4059
  __pyx_r = __pyx_t_2;
4072
4060
  __pyx_t_2 = 0;
4080
4068
  __pyx_r = NULL;
4081
4069
  __pyx_L0:;
4082
4070
  __Pyx_XGIVEREF(__pyx_r);
4083
 
  __Pyx_FinishRefcountContext();
 
4071
  __Pyx_RefNannyFinishContext();
4084
4072
  return __pyx_r;
4085
4073
}
4086
4074
 
4087
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":604
4088
 
 * 
4089
 
 *     @sync
 
4075
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":571
 
4076
 * 
 
4077
 * 
4090
4078
 *     def get_cset(self):             # <<<<<<<<<<<<<<
4091
4079
 *         """() => INT character_set
4092
4080
 * 
4098
4086
  PyObject *__pyx_r = NULL;
4099
4087
  H5T_cset_t __pyx_t_1;
4100
4088
  PyObject *__pyx_t_2 = NULL;
4101
 
  __Pyx_SetupRefcountContext("get_cset");
 
4089
  __Pyx_RefNannySetupContext("get_cset");
4102
4090
 
4103
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":609
 
4091
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":576
4104
4092
 *         Retrieve the character set used for a string.
4105
4093
 *         """
4106
4094
 *         return <int>H5Tget_cset(self.id)             # <<<<<<<<<<<<<<
4107
4095
 * 
4108
 
 *     @sync
 
4096
 * 
4109
4097
 */
4110
4098
  __Pyx_XDECREF(__pyx_r);
4111
 
  __pyx_t_1 = H5Tget_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 609; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4112
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 609; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4099
  __pyx_t_1 = H5Tget_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4100
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4113
4101
  __Pyx_GOTREF(__pyx_t_2);
4114
4102
  __pyx_r = __pyx_t_2;
4115
4103
  __pyx_t_2 = 0;
4123
4111
  __pyx_r = NULL;
4124
4112
  __pyx_L0:;
4125
4113
  __Pyx_XGIVEREF(__pyx_r);
4126
 
  __Pyx_FinishRefcountContext();
 
4114
  __Pyx_RefNannyFinishContext();
4127
4115
  return __pyx_r;
4128
4116
}
4129
4117
 
4130
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":612
4131
 
 * 
4132
 
 *     @sync
 
4118
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":579
 
4119
 * 
 
4120
 * 
4133
4121
 *     def set_cset(self, int cset):             # <<<<<<<<<<<<<<
4134
4122
 *         """(INT character_set)
4135
4123
 * 
4141
4129
  int __pyx_v_cset;
4142
4130
  PyObject *__pyx_r = NULL;
4143
4131
  herr_t __pyx_t_1;
4144
 
  __Pyx_SetupRefcountContext("set_cset");
 
4132
  __Pyx_RefNannySetupContext("set_cset");
4145
4133
  assert(__pyx_arg_cset); {
4146
 
    __pyx_v_cset = __Pyx_PyInt_AsInt(__pyx_arg_cset); if (unlikely((__pyx_v_cset == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 612; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4134
    __pyx_v_cset = __Pyx_PyInt_AsInt(__pyx_arg_cset); if (unlikely((__pyx_v_cset == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4147
4135
  }
4148
4136
  goto __pyx_L4_argument_unpacking_done;
4149
4137
  __pyx_L3_error:;
4151
4139
  return NULL;
4152
4140
  __pyx_L4_argument_unpacking_done:;
4153
4141
 
4154
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":617
 
4142
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":584
4155
4143
 *         Set the character set used for a string.
4156
4144
 *         """
4157
4145
 *         H5Tset_cset(self.id, <H5T_cset_t>cset)             # <<<<<<<<<<<<<<
4158
4146
 * 
4159
 
 *     @sync
 
4147
 * 
4160
4148
 */
4161
 
  __pyx_t_1 = H5Tset_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_cset_t)__pyx_v_cset)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4149
  __pyx_t_1 = H5Tset_cset(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_cset_t)__pyx_v_cset)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4162
4150
 
4163
4151
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4164
4152
  goto __pyx_L0;
4167
4155
  __pyx_r = NULL;
4168
4156
  __pyx_L0:;
4169
4157
  __Pyx_XGIVEREF(__pyx_r);
4170
 
  __Pyx_FinishRefcountContext();
 
4158
  __Pyx_RefNannyFinishContext();
4171
4159
  return __pyx_r;
4172
4160
}
4173
4161
 
4174
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":620
4175
 
 * 
4176
 
 *     @sync
 
4162
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":587
 
4163
 * 
 
4164
 * 
4177
4165
 *     def get_strpad(self):             # <<<<<<<<<<<<<<
4178
4166
 *         """() => INT padding_type
4179
4167
 * 
4185
4173
  PyObject *__pyx_r = NULL;
4186
4174
  H5T_str_t __pyx_t_1;
4187
4175
  PyObject *__pyx_t_2 = NULL;
4188
 
  __Pyx_SetupRefcountContext("get_strpad");
 
4176
  __Pyx_RefNannySetupContext("get_strpad");
4189
4177
 
4190
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":634
 
4178
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":601
4191
4179
 *             Pad buffer with spaces (FORTRAN style)
4192
4180
 *         """
4193
4181
 *         return <int>H5Tget_strpad(self.id)             # <<<<<<<<<<<<<<
4194
4182
 * 
4195
 
 *     @sync
 
4183
 * 
4196
4184
 */
4197
4185
  __Pyx_XDECREF(__pyx_r);
4198
 
  __pyx_t_1 = H5Tget_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4199
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4186
  __pyx_t_1 = H5Tget_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4187
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4200
4188
  __Pyx_GOTREF(__pyx_t_2);
4201
4189
  __pyx_r = __pyx_t_2;
4202
4190
  __pyx_t_2 = 0;
4210
4198
  __pyx_r = NULL;
4211
4199
  __pyx_L0:;
4212
4200
  __Pyx_XGIVEREF(__pyx_r);
4213
 
  __Pyx_FinishRefcountContext();
 
4201
  __Pyx_RefNannyFinishContext();
4214
4202
  return __pyx_r;
4215
4203
}
4216
4204
 
4217
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":637
4218
 
 * 
4219
 
 *     @sync
 
4205
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":604
 
4206
 * 
 
4207
 * 
4220
4208
 *     def set_strpad(self, int pad):             # <<<<<<<<<<<<<<
4221
4209
 *         """(INT pad)
4222
4210
 * 
4228
4216
  int __pyx_v_pad;
4229
4217
  PyObject *__pyx_r = NULL;
4230
4218
  herr_t __pyx_t_1;
4231
 
  __Pyx_SetupRefcountContext("set_strpad");
 
4219
  __Pyx_RefNannySetupContext("set_strpad");
4232
4220
  assert(__pyx_arg_pad); {
4233
 
    __pyx_v_pad = __Pyx_PyInt_AsInt(__pyx_arg_pad); if (unlikely((__pyx_v_pad == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4221
    __pyx_v_pad = __Pyx_PyInt_AsInt(__pyx_arg_pad); if (unlikely((__pyx_v_pad == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4234
4222
  }
4235
4223
  goto __pyx_L4_argument_unpacking_done;
4236
4224
  __pyx_L3_error:;
4238
4226
  return NULL;
4239
4227
  __pyx_L4_argument_unpacking_done:;
4240
4228
 
4241
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":651
 
4229
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":618
4242
4230
 *             Pad buffer with spaces (FORTRAN style)
4243
4231
 *         """
4244
4232
 *         H5Tset_strpad(self.id, <H5T_str_t>pad)             # <<<<<<<<<<<<<<
4245
4233
 * 
4246
4234
 *     cdef object py_dtype(self):
4247
4235
 */
4248
 
  __pyx_t_1 = H5Tset_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_str_t)__pyx_v_pad)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4236
  __pyx_t_1 = H5Tset_strpad(((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_str_t)__pyx_v_pad)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4249
4237
 
4250
4238
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4251
4239
  goto __pyx_L0;
4254
4242
  __pyx_r = NULL;
4255
4243
  __pyx_L0:;
4256
4244
  __Pyx_XGIVEREF(__pyx_r);
4257
 
  __Pyx_FinishRefcountContext();
 
4245
  __Pyx_RefNannyFinishContext();
4258
4246
  return __pyx_r;
4259
4247
}
4260
4248
 
4261
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":653
 
4249
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":620
4262
4250
 *         H5Tset_strpad(self.id, <H5T_str_t>pad)
4263
4251
 * 
4264
4252
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
4271
4259
  PyObject *__pyx_t_1 = NULL;
4272
4260
  PyObject *__pyx_t_2 = NULL;
4273
4261
  int __pyx_t_3;
4274
 
  __Pyx_SetupRefcountContext("py_dtype");
 
4262
  PyObject *__pyx_t_4 = NULL;
 
4263
  __Pyx_RefNannySetupContext("py_dtype");
 
4264
  __Pyx_INCREF((PyObject *)__pyx_v_self);
4275
4265
 
4276
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":655
 
4266
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":622
4277
4267
 *     cdef object py_dtype(self):
4278
4268
 *         # Numpy translation function for string types
4279
4269
 *         if self.is_variable_str():             # <<<<<<<<<<<<<<
4280
 
 *             return py_new_vlen(str)
 
4270
 *             return special_dtype(vlen=str)
4281
4271
 * 
4282
4272
 */
4283
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_is_variable_str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4273
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__is_variable_str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4284
4274
  __Pyx_GOTREF(__pyx_t_1);
4285
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4275
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4286
4276
  __Pyx_GOTREF(__pyx_t_2);
4287
4277
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4288
 
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4278
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4289
4279
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4290
4280
  if (__pyx_t_3) {
4291
4281
 
4292
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":656
 
4282
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":623
4293
4283
 *         # Numpy translation function for string types
4294
4284
 *         if self.is_variable_str():
4295
 
 *             return py_new_vlen(str)             # <<<<<<<<<<<<<<
 
4285
 *             return special_dtype(vlen=str)             # <<<<<<<<<<<<<<
4296
4286
 * 
4297
4287
 *         return dtype("|S" + str(self.get_size()))
4298
4288
 */
4299
4289
    __Pyx_XDECREF(__pyx_r);
4300
 
    __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_vlen(((PyObject *)((PyObject*)&PyString_Type)), 0)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4290
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4301
4291
    __Pyx_GOTREF(__pyx_t_2);
4302
 
    __pyx_r = __pyx_t_2;
4303
 
    __pyx_t_2 = 0;
 
4292
    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4293
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
4294
    if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)((PyObject*)&PyString_Type))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4295
    __pyx_t_4 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4296
    __Pyx_GOTREF(__pyx_t_4);
 
4297
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4298
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
4299
    __pyx_r = __pyx_t_4;
 
4300
    __pyx_t_4 = 0;
4304
4301
    goto __pyx_L0;
4305
4302
    goto __pyx_L3;
4306
4303
  }
4307
4304
  __pyx_L3:;
4308
4305
 
4309
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":658
4310
 
 *             return py_new_vlen(str)
 
4306
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":625
 
4307
 *             return special_dtype(vlen=str)
4311
4308
 * 
4312
4309
 *         return dtype("|S" + str(self.get_size()))             # <<<<<<<<<<<<<<
4313
4310
 * 
4314
4311
 * cdef class TypeVlenID(TypeID):
4315
4312
 */
4316
4313
  __Pyx_XDECREF(__pyx_r);
4317
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4318
 
  __Pyx_GOTREF(__pyx_t_2);
4319
 
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4314
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4315
  __Pyx_GOTREF(__pyx_t_4);
 
4316
  __pyx_t_1 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4320
4317
  __Pyx_GOTREF(__pyx_t_1);
4321
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4322
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4323
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
4324
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
 
4318
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
4319
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4320
  __Pyx_GOTREF(__pyx_t_4);
 
4321
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
4325
4322
  __Pyx_GIVEREF(__pyx_t_1);
4326
4323
  __pyx_t_1 = 0;
4327
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4328
 
  __Pyx_GOTREF(__pyx_t_1);
4329
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
4330
 
  __pyx_t_2 = PyNumber_Add(__pyx_kp_174, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4331
 
  __Pyx_GOTREF(__pyx_t_2);
4332
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4333
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4334
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
4335
 
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
4336
 
  __Pyx_GIVEREF(__pyx_t_2);
4337
 
  __pyx_t_2 = 0;
4338
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4339
 
  __Pyx_GOTREF(__pyx_t_2);
4340
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
4341
 
  __pyx_r = __pyx_t_2;
4342
 
  __pyx_t_2 = 0;
 
4324
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4325
  __Pyx_GOTREF(__pyx_t_1);
 
4326
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
4327
  __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_kp_s_5), __pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4328
  __Pyx_GOTREF(__pyx_t_4);
 
4329
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4330
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4331
  __Pyx_GOTREF(__pyx_t_1);
 
4332
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4);
 
4333
  __Pyx_GIVEREF(__pyx_t_4);
 
4334
  __pyx_t_4 = 0;
 
4335
  __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4336
  __Pyx_GOTREF(__pyx_t_4);
 
4337
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
4338
  __pyx_r = __pyx_t_4;
 
4339
  __pyx_t_4 = 0;
4343
4340
  goto __pyx_L0;
4344
4341
 
4345
4342
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4347
4344
  __pyx_L1_error:;
4348
4345
  __Pyx_XDECREF(__pyx_t_1);
4349
4346
  __Pyx_XDECREF(__pyx_t_2);
 
4347
  __Pyx_XDECREF(__pyx_t_4);
4350
4348
  __Pyx_AddTraceback("h5py.h5t.TypeStringID.py_dtype");
4351
4349
  __pyx_r = 0;
4352
4350
  __pyx_L0:;
4353
 
  __Pyx_XGIVEREF(__pyx_r);
4354
 
  __Pyx_FinishRefcountContext();
4355
 
  return __pyx_r;
4356
 
}
4357
 
 
4358
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":698
4359
 
 * 
4360
 
 *     @sync
 
4351
  __Pyx_DECREF((PyObject *)__pyx_v_self);
 
4352
  __Pyx_XGIVEREF(__pyx_r);
 
4353
  __Pyx_RefNannyFinishContext();
 
4354
  return __pyx_r;
 
4355
}
 
4356
 
 
4357
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":654
 
4358
 *     """
 
4359
 * 
 
4360
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
 
4361
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):
 
4362
 *             return special_dtype(ref=Reference)
 
4363
 */
 
4364
 
 
4365
static  PyObject *__pyx_f_4h5py_3h5t_15TypeReferenceID_py_dtype(struct __pyx_obj_4h5py_3h5t_TypeReferenceID *__pyx_v_self) {
 
4366
  PyObject *__pyx_r = NULL;
 
4367
  htri_t __pyx_t_1;
 
4368
  PyObject *__pyx_t_2 = NULL;
 
4369
  PyObject *__pyx_t_3 = NULL;
 
4370
  PyObject *__pyx_t_4 = NULL;
 
4371
  __Pyx_RefNannySetupContext("py_dtype");
 
4372
  __Pyx_INCREF((PyObject *)__pyx_v_self);
 
4373
 
 
4374
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":655
 
4375
 * 
 
4376
 *     cdef object py_dtype(self):
 
4377
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):             # <<<<<<<<<<<<<<
 
4378
 *             return special_dtype(ref=Reference)
 
4379
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):
 
4380
 */
 
4381
  __pyx_t_1 = H5Tequal(__pyx_v_self->__pyx_base.__pyx_base.id, H5T_STD_REF_OBJ); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4382
  if (__pyx_t_1) {
 
4383
 
 
4384
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":656
 
4385
 *     cdef object py_dtype(self):
 
4386
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):
 
4387
 *             return special_dtype(ref=Reference)             # <<<<<<<<<<<<<<
 
4388
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):
 
4389
 *             return special_dtype(ref=RegionReference)
 
4390
 */
 
4391
    __Pyx_XDECREF(__pyx_r);
 
4392
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4393
    __Pyx_GOTREF(__pyx_t_2);
 
4394
    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4395
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
4396
    if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4397
    __pyx_t_4 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4398
    __Pyx_GOTREF(__pyx_t_4);
 
4399
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4400
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
4401
    __pyx_r = __pyx_t_4;
 
4402
    __pyx_t_4 = 0;
 
4403
    goto __pyx_L0;
 
4404
    goto __pyx_L3;
 
4405
  }
 
4406
 
 
4407
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":657
 
4408
 *         if H5Tequal(self.id, H5T_STD_REF_OBJ):
 
4409
 *             return special_dtype(ref=Reference)
 
4410
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):             # <<<<<<<<<<<<<<
 
4411
 *             return special_dtype(ref=RegionReference)
 
4412
 *         else:
 
4413
 */
 
4414
  __pyx_t_1 = H5Tequal(__pyx_v_self->__pyx_base.__pyx_base.id, H5T_STD_REF_DSETREG); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4415
  if (__pyx_t_1) {
 
4416
 
 
4417
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":658
 
4418
 *             return special_dtype(ref=Reference)
 
4419
 *         elif H5Tequal(self.id, H5T_STD_REF_DSETREG):
 
4420
 *             return special_dtype(ref=RegionReference)             # <<<<<<<<<<<<<<
 
4421
 *         else:
 
4422
 *             raise TypeError("Unknown reference type")
 
4423
 */
 
4424
    __Pyx_XDECREF(__pyx_r);
 
4425
    __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4426
    __Pyx_GOTREF(__pyx_t_4);
 
4427
    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4428
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
4429
    if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference))) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4430
    __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4431
    __Pyx_GOTREF(__pyx_t_2);
 
4432
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
4433
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
4434
    __pyx_r = __pyx_t_2;
 
4435
    __pyx_t_2 = 0;
 
4436
    goto __pyx_L0;
 
4437
    goto __pyx_L3;
 
4438
  }
 
4439
  /*else*/ {
 
4440
 
 
4441
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":660
 
4442
 *             return special_dtype(ref=RegionReference)
 
4443
 *         else:
 
4444
 *             raise TypeError("Unknown reference type")             # <<<<<<<<<<<<<<
 
4445
 * 
 
4446
 * 
 
4447
 */
 
4448
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4449
    __Pyx_GOTREF(__pyx_t_2);
 
4450
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_6));
 
4451
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_6));
 
4452
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_6));
 
4453
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4454
    __Pyx_GOTREF(__pyx_t_3);
 
4455
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
4456
    __Pyx_Raise(__pyx_t_3, 0, 0);
 
4457
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
4458
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4459
  }
 
4460
  __pyx_L3:;
 
4461
 
 
4462
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
4463
  goto __pyx_L0;
 
4464
  __pyx_L1_error:;
 
4465
  __Pyx_XDECREF(__pyx_t_2);
 
4466
  __Pyx_XDECREF(__pyx_t_3);
 
4467
  __Pyx_XDECREF(__pyx_t_4);
 
4468
  __Pyx_AddTraceback("h5py.h5t.TypeReferenceID.py_dtype");
 
4469
  __pyx_r = 0;
 
4470
  __pyx_L0:;
 
4471
  __Pyx_DECREF((PyObject *)__pyx_v_self);
 
4472
  __Pyx_XGIVEREF(__pyx_r);
 
4473
  __Pyx_RefNannyFinishContext();
 
4474
  return __pyx_r;
 
4475
}
 
4476
 
 
4477
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":672
 
4478
 * 
 
4479
 * 
4361
4480
 *     def get_order(self):             # <<<<<<<<<<<<<<
4362
4481
 *         """() => INT order
4363
4482
 * 
4369
4488
  PyObject *__pyx_r = NULL;
4370
4489
  H5T_order_t __pyx_t_1;
4371
4490
  PyObject *__pyx_t_2 = NULL;
4372
 
  __Pyx_SetupRefcountContext("get_order");
 
4491
  __Pyx_RefNannySetupContext("get_order");
4373
4492
 
4374
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":706
 
4493
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":680
4375
4494
 *         - ORDER_BE
4376
4495
 *         """
4377
4496
 *         return <int>H5Tget_order(self.id)             # <<<<<<<<<<<<<<
4378
4497
 * 
4379
 
 *     @sync
 
4498
 * 
4380
4499
 */
4381
4500
  __Pyx_XDECREF(__pyx_r);
4382
 
  __pyx_t_1 = H5Tget_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4383
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4501
  __pyx_t_1 = H5Tget_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4502
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4384
4503
  __Pyx_GOTREF(__pyx_t_2);
4385
4504
  __pyx_r = __pyx_t_2;
4386
4505
  __pyx_t_2 = 0;
4394
4513
  __pyx_r = NULL;
4395
4514
  __pyx_L0:;
4396
4515
  __Pyx_XGIVEREF(__pyx_r);
4397
 
  __Pyx_FinishRefcountContext();
 
4516
  __Pyx_RefNannyFinishContext();
4398
4517
  return __pyx_r;
4399
4518
}
4400
4519
 
4401
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":709
4402
 
 * 
4403
 
 *     @sync
 
4520
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":683
 
4521
 * 
 
4522
 * 
4404
4523
 *     def set_order(self, int order):             # <<<<<<<<<<<<<<
4405
4524
 *         """(INT order)
4406
4525
 * 
4412
4531
  int __pyx_v_order;
4413
4532
  PyObject *__pyx_r = NULL;
4414
4533
  herr_t __pyx_t_1;
4415
 
  __Pyx_SetupRefcountContext("set_order");
 
4534
  __Pyx_RefNannySetupContext("set_order");
4416
4535
  assert(__pyx_arg_order); {
4417
 
    __pyx_v_order = __Pyx_PyInt_AsInt(__pyx_arg_order); if (unlikely((__pyx_v_order == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 709; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4536
    __pyx_v_order = __Pyx_PyInt_AsInt(__pyx_arg_order); if (unlikely((__pyx_v_order == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4418
4537
  }
4419
4538
  goto __pyx_L4_argument_unpacking_done;
4420
4539
  __pyx_L3_error:;
4422
4541
  return NULL;
4423
4542
  __pyx_L4_argument_unpacking_done:;
4424
4543
 
4425
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":717
 
4544
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":691
4426
4545
 *         - ORDER_BE
4427
4546
 *         """
4428
4547
 *         H5Tset_order(self.id, <H5T_order_t>order)             # <<<<<<<<<<<<<<
4429
4548
 * 
4430
 
 *     @sync
 
4549
 * 
4431
4550
 */
4432
 
  __pyx_t_1 = H5Tset_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_order_t)__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4551
  __pyx_t_1 = H5Tset_order(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_order_t)__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4433
4552
 
4434
4553
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4435
4554
  goto __pyx_L0;
4438
4557
  __pyx_r = NULL;
4439
4558
  __pyx_L0:;
4440
4559
  __Pyx_XGIVEREF(__pyx_r);
4441
 
  __Pyx_FinishRefcountContext();
 
4560
  __Pyx_RefNannyFinishContext();
4442
4561
  return __pyx_r;
4443
4562
}
4444
4563
 
4445
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":720
4446
 
 * 
4447
 
 *     @sync
 
4564
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":694
 
4565
 * 
 
4566
 * 
4448
4567
 *     def get_precision(self):             # <<<<<<<<<<<<<<
4449
4568
 *         """() => UINT precision
4450
4569
 * 
4456
4575
  PyObject *__pyx_r = NULL;
4457
4576
  hsize_t __pyx_t_1;
4458
4577
  PyObject *__pyx_t_2 = NULL;
4459
 
  __Pyx_SetupRefcountContext("get_precision");
 
4578
  __Pyx_RefNannySetupContext("get_precision");
4460
4579
 
4461
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":725
 
4580
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":699
4462
4581
 *         Get the number of significant bits (excludes padding).
4463
4582
 *         """
4464
4583
 *         return H5Tget_precision(self.id)             # <<<<<<<<<<<<<<
4465
4584
 * 
4466
 
 *     @sync
 
4585
 * 
4467
4586
 */
4468
4587
  __Pyx_XDECREF(__pyx_r);
4469
 
  __pyx_t_1 = H5Tget_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 725; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4470
 
  __pyx_t_2 = PyLong_FromLongLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 725; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4588
  __pyx_t_1 = H5Tget_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4589
  __pyx_t_2 = __Pyx_PyInt_to_py_hsize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4471
4590
  __Pyx_GOTREF(__pyx_t_2);
4472
4591
  __pyx_r = __pyx_t_2;
4473
4592
  __pyx_t_2 = 0;
4481
4600
  __pyx_r = NULL;
4482
4601
  __pyx_L0:;
4483
4602
  __Pyx_XGIVEREF(__pyx_r);
4484
 
  __Pyx_FinishRefcountContext();
 
4603
  __Pyx_RefNannyFinishContext();
4485
4604
  return __pyx_r;
4486
4605
}
4487
4606
 
4488
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":728
4489
 
 * 
4490
 
 *     @sync
 
4607
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":702
 
4608
 * 
 
4609
 * 
4491
4610
 *     def set_precision(self, size_t precision):             # <<<<<<<<<<<<<<
4492
4611
 *         """(UINT precision)
4493
4612
 * 
4499
4618
  size_t __pyx_v_precision;
4500
4619
  PyObject *__pyx_r = NULL;
4501
4620
  herr_t __pyx_t_1;
4502
 
  __Pyx_SetupRefcountContext("set_precision");
 
4621
  __Pyx_RefNannySetupContext("set_precision");
4503
4622
  assert(__pyx_arg_precision); {
4504
 
    __pyx_v_precision = __Pyx_PyInt_AsSize_t(__pyx_arg_precision); if (unlikely((__pyx_v_precision == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4623
    __pyx_v_precision = __Pyx_PyInt_AsSize_t(__pyx_arg_precision); if (unlikely((__pyx_v_precision == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4505
4624
  }
4506
4625
  goto __pyx_L4_argument_unpacking_done;
4507
4626
  __pyx_L3_error:;
4509
4628
  return NULL;
4510
4629
  __pyx_L4_argument_unpacking_done:;
4511
4630
 
4512
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":733
 
4631
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":707
4513
4632
 *         Set the number of significant bits (excludes padding).
4514
4633
 *         """
4515
4634
 *         H5Tset_precision(self.id, precision)             # <<<<<<<<<<<<<<
4516
4635
 * 
4517
 
 *     @sync
 
4636
 * 
4518
4637
 */
4519
 
  __pyx_t_1 = H5Tset_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_precision); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4638
  __pyx_t_1 = H5Tset_precision(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_precision); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 707; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4520
4639
 
4521
4640
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4522
4641
  goto __pyx_L0;
4525
4644
  __pyx_r = NULL;
4526
4645
  __pyx_L0:;
4527
4646
  __Pyx_XGIVEREF(__pyx_r);
4528
 
  __Pyx_FinishRefcountContext();
 
4647
  __Pyx_RefNannyFinishContext();
4529
4648
  return __pyx_r;
4530
4649
}
4531
4650
 
4532
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":736
4533
 
 * 
4534
 
 *     @sync
 
4651
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":710
 
4652
 * 
 
4653
 * 
4535
4654
 *     def get_offset(self):             # <<<<<<<<<<<<<<
4536
4655
 *         """() => INT offset
4537
4656
 * 
4543
4662
  PyObject *__pyx_r = NULL;
4544
4663
  int __pyx_t_1;
4545
4664
  PyObject *__pyx_t_2 = NULL;
4546
 
  __Pyx_SetupRefcountContext("get_offset");
 
4665
  __Pyx_RefNannySetupContext("get_offset");
4547
4666
 
4548
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":741
 
4667
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":715
4549
4668
 *         Get the offset of the first significant bit.
4550
4669
 *         """
4551
4670
 *         return H5Tget_offset(self.id)             # <<<<<<<<<<<<<<
4552
4671
 * 
4553
 
 *     @sync
 
4672
 * 
4554
4673
 */
4555
4674
  __Pyx_XDECREF(__pyx_r);
4556
 
  __pyx_t_1 = H5Tget_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4557
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4675
  __pyx_t_1 = H5Tget_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4676
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4558
4677
  __Pyx_GOTREF(__pyx_t_2);
4559
4678
  __pyx_r = __pyx_t_2;
4560
4679
  __pyx_t_2 = 0;
4568
4687
  __pyx_r = NULL;
4569
4688
  __pyx_L0:;
4570
4689
  __Pyx_XGIVEREF(__pyx_r);
4571
 
  __Pyx_FinishRefcountContext();
 
4690
  __Pyx_RefNannyFinishContext();
4572
4691
  return __pyx_r;
4573
4692
}
4574
4693
 
4575
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":744
4576
 
 * 
4577
 
 *     @sync
 
4694
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":718
 
4695
 * 
 
4696
 * 
4578
4697
 *     def set_offset(self, size_t offset):             # <<<<<<<<<<<<<<
4579
4698
 *         """(UINT offset)
4580
4699
 * 
4586
4705
  size_t __pyx_v_offset;
4587
4706
  PyObject *__pyx_r = NULL;
4588
4707
  herr_t __pyx_t_1;
4589
 
  __Pyx_SetupRefcountContext("set_offset");
 
4708
  __Pyx_RefNannySetupContext("set_offset");
4590
4709
  assert(__pyx_arg_offset); {
4591
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(__pyx_arg_offset); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 744; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4710
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(__pyx_arg_offset); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4592
4711
  }
4593
4712
  goto __pyx_L4_argument_unpacking_done;
4594
4713
  __pyx_L3_error:;
4596
4715
  return NULL;
4597
4716
  __pyx_L4_argument_unpacking_done:;
4598
4717
 
4599
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":749
 
4718
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":723
4600
4719
 *         Set the offset of the first significant bit.
4601
4720
 *         """
4602
4721
 *         H5Tset_offset(self.id, offset)             # <<<<<<<<<<<<<<
4603
4722
 * 
4604
 
 *     @sync
 
4723
 * 
4605
4724
 */
4606
 
  __pyx_t_1 = H5Tset_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_offset); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4725
  __pyx_t_1 = H5Tset_offset(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_offset); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4607
4726
 
4608
4727
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4609
4728
  goto __pyx_L0;
4612
4731
  __pyx_r = NULL;
4613
4732
  __pyx_L0:;
4614
4733
  __Pyx_XGIVEREF(__pyx_r);
4615
 
  __Pyx_FinishRefcountContext();
 
4734
  __Pyx_RefNannyFinishContext();
4616
4735
  return __pyx_r;
4617
4736
}
4618
4737
 
4619
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":752
4620
 
 * 
4621
 
 *     @sync
 
4738
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":726
 
4739
 * 
 
4740
 * 
4622
4741
 *     def get_pad(self):             # <<<<<<<<<<<<<<
4623
4742
 *         """() => (INT lsb_pad_code, INT msb_pad_code)
4624
4743
 * 
4634
4753
  PyObject *__pyx_t_2 = NULL;
4635
4754
  PyObject *__pyx_t_3 = NULL;
4636
4755
  PyObject *__pyx_t_4 = NULL;
4637
 
  __Pyx_SetupRefcountContext("get_pad");
 
4756
  __Pyx_RefNannySetupContext("get_pad");
4638
4757
 
4639
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":763
 
4758
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":737
4640
4759
 *         cdef H5T_pad_t lsb
4641
4760
 *         cdef H5T_pad_t msb
4642
4761
 *         H5Tget_pad(self.id, &lsb, &msb)             # <<<<<<<<<<<<<<
4643
4762
 *         return (<int>lsb, <int>msb)
4644
4763
 * 
4645
4764
 */
4646
 
  __pyx_t_1 = H5Tget_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, (&__pyx_v_lsb), (&__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 763; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4765
  __pyx_t_1 = H5Tget_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, (&__pyx_v_lsb), (&__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4647
4766
 
4648
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":764
 
4767
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":738
4649
4768
 *         cdef H5T_pad_t msb
4650
4769
 *         H5Tget_pad(self.id, &lsb, &msb)
4651
4770
 *         return (<int>lsb, <int>msb)             # <<<<<<<<<<<<<<
4652
4771
 * 
4653
 
 *     @sync
 
4772
 * 
4654
4773
 */
4655
4774
  __Pyx_XDECREF(__pyx_r);
4656
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_lsb)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4775
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_v_lsb)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4657
4776
  __Pyx_GOTREF(__pyx_t_2);
4658
 
  __pyx_t_3 = PyInt_FromLong(((int)__pyx_v_msb)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4777
  __pyx_t_3 = PyInt_FromLong(((int)__pyx_v_msb)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4659
4778
  __Pyx_GOTREF(__pyx_t_3);
4660
 
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4661
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
4779
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 738; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4780
  __Pyx_GOTREF(__pyx_t_4);
4662
4781
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
4663
4782
  __Pyx_GIVEREF(__pyx_t_2);
4664
4783
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
4665
4784
  __Pyx_GIVEREF(__pyx_t_3);
4666
4785
  __pyx_t_2 = 0;
4667
4786
  __pyx_t_3 = 0;
4668
 
  __pyx_r = ((PyObject *)__pyx_t_4);
 
4787
  __pyx_r = __pyx_t_4;
4669
4788
  __pyx_t_4 = 0;
4670
4789
  goto __pyx_L0;
4671
4790
 
4679
4798
  __pyx_r = NULL;
4680
4799
  __pyx_L0:;
4681
4800
  __Pyx_XGIVEREF(__pyx_r);
4682
 
  __Pyx_FinishRefcountContext();
 
4801
  __Pyx_RefNannyFinishContext();
4683
4802
  return __pyx_r;
4684
4803
}
4685
4804
 
4686
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":767
4687
 
 * 
4688
 
 *     @sync
 
4805
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":741
 
4806
 * 
 
4807
 * 
4689
4808
 *     def set_pad(self, int lsb, int msb):             # <<<<<<<<<<<<<<
4690
4809
 *         """(INT lsb_pad_code, INT msb_pad_code)
4691
4810
 * 
4698
4817
  int __pyx_v_msb;
4699
4818
  PyObject *__pyx_r = NULL;
4700
4819
  herr_t __pyx_t_1;
4701
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_lsb,&__pyx_kp_msb,0};
4702
 
  __Pyx_SetupRefcountContext("set_pad");
 
4820
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lsb,&__pyx_n_s__msb,0};
 
4821
  __Pyx_RefNannySetupContext("set_pad");
4703
4822
  if (unlikely(__pyx_kwds)) {
4704
4823
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
4705
4824
    PyObject* values[2] = {0,0};
4711
4830
    }
4712
4831
    switch (PyTuple_GET_SIZE(__pyx_args)) {
4713
4832
      case  0:
4714
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_lsb);
 
4833
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lsb);
4715
4834
      if (likely(values[0])) kw_args--;
4716
4835
      else goto __pyx_L5_argtuple_error;
4717
4836
      case  1:
4718
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_msb);
 
4837
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__msb);
4719
4838
      if (likely(values[1])) kw_args--;
4720
4839
      else {
4721
 
        __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4840
        __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4722
4841
      }
4723
4842
    }
4724
4843
    if (unlikely(kw_args > 0)) {
4725
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_pad") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4844
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_pad") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4726
4845
    }
4727
 
    __pyx_v_lsb = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4728
 
    __pyx_v_msb = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4846
    __pyx_v_lsb = __Pyx_PyInt_AsInt(values[0]); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4847
    __pyx_v_msb = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4729
4848
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
4730
4849
    goto __pyx_L5_argtuple_error;
4731
4850
  } else {
4732
 
    __pyx_v_lsb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4733
 
    __pyx_v_msb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4851
    __pyx_v_lsb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_lsb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4852
    __pyx_v_msb = __Pyx_PyInt_AsInt(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_msb == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4734
4853
  }
4735
4854
  goto __pyx_L4_argument_unpacking_done;
4736
4855
  __pyx_L5_argtuple_error:;
4737
 
  __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4856
  __Pyx_RaiseArgtupleInvalid("set_pad", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4738
4857
  __pyx_L3_error:;
4739
4858
  __Pyx_AddTraceback("h5py.h5t.TypeAtomicID.set_pad");
4740
4859
  return NULL;
4741
4860
  __pyx_L4_argument_unpacking_done:;
4742
4861
 
4743
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":776
 
4862
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":750
4744
4863
 *         - PAD_BACKGROUND
4745
4864
 *         """
4746
4865
 *         H5Tset_pad(self.id, <H5T_pad_t>lsb, <H5T_pad_t>msb)             # <<<<<<<<<<<<<<
4747
4866
 * 
4748
4867
 * 
4749
4868
 */
4750
 
  __pyx_t_1 = H5Tset_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_lsb), ((H5T_pad_t)__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4869
  __pyx_t_1 = H5Tset_pad(((struct __pyx_obj_4h5py_3h5t_TypeAtomicID *)__pyx_v_self)->__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_lsb), ((H5T_pad_t)__pyx_v_msb)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 750; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4751
4870
 
4752
4871
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4753
4872
  goto __pyx_L0;
4756
4875
  __pyx_r = NULL;
4757
4876
  __pyx_L0:;
4758
4877
  __Pyx_XGIVEREF(__pyx_r);
4759
 
  __Pyx_FinishRefcountContext();
 
4878
  __Pyx_RefNannyFinishContext();
4760
4879
  return __pyx_r;
4761
4880
}
4762
4881
 
4763
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":786
4764
 
 * 
4765
 
 *     @sync
 
4882
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":760
 
4883
 * 
 
4884
 * 
4766
4885
 *     def get_sign(self):             # <<<<<<<<<<<<<<
4767
4886
 *         """() => INT sign
4768
4887
 * 
4774
4893
  PyObject *__pyx_r = NULL;
4775
4894
  H5T_sign_t __pyx_t_1;
4776
4895
  PyObject *__pyx_t_2 = NULL;
4777
 
  __Pyx_SetupRefcountContext("get_sign");
 
4896
  __Pyx_RefNannySetupContext("get_sign");
4778
4897
 
4779
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":797
 
4898
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":771
4780
4899
 *             Signed 2's complement
4781
4900
 *         """
4782
4901
 *         return <int>H5Tget_sign(self.id)             # <<<<<<<<<<<<<<
4783
4902
 * 
4784
 
 *     @sync
 
4903
 * 
4785
4904
 */
4786
4905
  __Pyx_XDECREF(__pyx_r);
4787
 
  __pyx_t_1 = H5Tget_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4788
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4906
  __pyx_t_1 = H5Tget_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4907
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 771; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4789
4908
  __Pyx_GOTREF(__pyx_t_2);
4790
4909
  __pyx_r = __pyx_t_2;
4791
4910
  __pyx_t_2 = 0;
4799
4918
  __pyx_r = NULL;
4800
4919
  __pyx_L0:;
4801
4920
  __Pyx_XGIVEREF(__pyx_r);
4802
 
  __Pyx_FinishRefcountContext();
 
4921
  __Pyx_RefNannyFinishContext();
4803
4922
  return __pyx_r;
4804
4923
}
4805
4924
 
4806
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":800
4807
 
 * 
4808
 
 *     @sync
 
4925
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":774
 
4926
 * 
 
4927
 * 
4809
4928
 *     def set_sign(self, int sign):             # <<<<<<<<<<<<<<
4810
4929
 *         """(INT sign)
4811
4930
 * 
4817
4936
  int __pyx_v_sign;
4818
4937
  PyObject *__pyx_r = NULL;
4819
4938
  herr_t __pyx_t_1;
4820
 
  __Pyx_SetupRefcountContext("set_sign");
 
4939
  __Pyx_RefNannySetupContext("set_sign");
4821
4940
  assert(__pyx_arg_sign); {
4822
 
    __pyx_v_sign = __Pyx_PyInt_AsInt(__pyx_arg_sign); if (unlikely((__pyx_v_sign == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
4941
    __pyx_v_sign = __Pyx_PyInt_AsInt(__pyx_arg_sign); if (unlikely((__pyx_v_sign == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 774; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
4823
4942
  }
4824
4943
  goto __pyx_L4_argument_unpacking_done;
4825
4944
  __pyx_L3_error:;
4827
4946
  return NULL;
4828
4947
  __pyx_L4_argument_unpacking_done:;
4829
4948
 
4830
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":811
 
4949
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":785
4831
4950
 *             Signed 2's complement
4832
4951
 *         """
4833
4952
 *         H5Tset_sign(self.id, <H5T_sign_t>sign)             # <<<<<<<<<<<<<<
4834
4953
 * 
4835
4954
 *     cdef object py_dtype(self):
4836
4955
 */
4837
 
  __pyx_t_1 = H5Tset_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_sign_t)__pyx_v_sign)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 811; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
4956
  __pyx_t_1 = H5Tset_sign(((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_sign_t)__pyx_v_sign)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4838
4957
 
4839
4958
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4840
4959
  goto __pyx_L0;
4843
4962
  __pyx_r = NULL;
4844
4963
  __pyx_L0:;
4845
4964
  __Pyx_XGIVEREF(__pyx_r);
4846
 
  __Pyx_FinishRefcountContext();
 
4965
  __Pyx_RefNannyFinishContext();
4847
4966
  return __pyx_r;
4848
4967
}
4849
4968
 
4850
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":813
 
4969
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":787
4851
4970
 *         H5Tset_sign(self.id, <H5T_sign_t>sign)
4852
4971
 * 
4853
4972
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
4857
4976
 
4858
4977
static  PyObject *__pyx_f_4h5py_3h5t_13TypeIntegerID_py_dtype(struct __pyx_obj_4h5py_3h5t_TypeIntegerID *__pyx_v_self) {
4859
4978
  PyObject *__pyx_r = NULL;
4860
 
  PyObject *__pyx_1 = 0;
4861
 
  PyObject *__pyx_2 = 0;
4862
4979
  PyObject *__pyx_t_1 = NULL;
4863
4980
  PyObject *__pyx_t_2 = NULL;
4864
4981
  PyObject *__pyx_t_3 = NULL;
4865
 
  __Pyx_SetupRefcountContext("py_dtype");
 
4982
  __Pyx_RefNannySetupContext("py_dtype");
4866
4983
 
4867
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":815
 
4984
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":789
4868
4985
 *     cdef object py_dtype(self):
4869
4986
 *         # Translation function for integer types
4870
4987
 *         return dtype( _order_map[self.get_order()] +             # <<<<<<<<<<<<<<
4873
4990
 */
4874
4991
  __Pyx_XDECREF(__pyx_r);
4875
4992
 
4876
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":816
 
4993
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":790
4877
4994
 *         # Translation function for integer types
4878
4995
 *         return dtype( _order_map[self.get_order()] +
4879
4996
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )             # <<<<<<<<<<<<<<
4880
4997
 * 
4881
4998
 * 
4882
4999
 */
4883
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5000
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4884
5001
  __Pyx_GOTREF(__pyx_t_1);
4885
5002
 
4886
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":815
 
5003
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":789
4887
5004
 *     cdef object py_dtype(self):
4888
5005
 *         # Translation function for integer types
4889
5006
 *         return dtype( _order_map[self.get_order()] +             # <<<<<<<<<<<<<<
4890
5007
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )
4891
5008
 * 
4892
5009
 */
4893
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5010
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4894
5011
  __Pyx_GOTREF(__pyx_t_2);
4895
5012
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4896
 
  __pyx_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4897
 
  __Pyx_GOTREF(__pyx_1);
 
5013
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5014
  __Pyx_GOTREF(__pyx_t_1);
4898
5015
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4899
5016
 
4900
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":816
 
5017
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":790
4901
5018
 *         # Translation function for integer types
4902
5019
 *         return dtype( _order_map[self.get_order()] +
4903
5020
 *                       _sign_map[self.get_sign()] + str(self.get_size()) )             # <<<<<<<<<<<<<<
4904
5021
 * 
4905
5022
 * 
4906
5023
 */
4907
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_sign); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4908
 
  __Pyx_GOTREF(__pyx_t_2);
4909
 
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4910
 
  __Pyx_GOTREF(__pyx_t_1);
4911
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4912
 
  __pyx_2 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__sign_map), __pyx_t_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4913
 
  __Pyx_GOTREF(__pyx_2);
4914
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4915
 
  __pyx_t_1 = PyNumber_Add(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4916
 
  __Pyx_GOTREF(__pyx_t_1);
4917
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
4918
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
4919
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4920
 
  __Pyx_GOTREF(__pyx_t_2);
4921
 
  __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4922
 
  __Pyx_GOTREF(__pyx_t_3);
4923
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4924
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4925
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
4926
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3);
4927
 
  __Pyx_GIVEREF(__pyx_t_3);
4928
 
  __pyx_t_3 = 0;
4929
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4930
 
  __Pyx_GOTREF(__pyx_t_3);
4931
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
4932
 
  __pyx_t_2 = PyNumber_Add(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4933
 
  __Pyx_GOTREF(__pyx_t_2);
4934
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4935
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4936
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4937
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
4938
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
 
5024
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_sign); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5025
  __Pyx_GOTREF(__pyx_t_2);
 
5026
  __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5027
  __Pyx_GOTREF(__pyx_t_3);
 
5028
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
5029
  __pyx_t_2 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__sign_map), __pyx_t_3); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5030
  __Pyx_GOTREF(__pyx_t_2);
 
5031
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
5032
  __pyx_t_3 = PyNumber_Add(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5033
  __Pyx_GOTREF(__pyx_t_3);
 
5034
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5035
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
5036
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5037
  __Pyx_GOTREF(__pyx_t_2);
 
5038
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5039
  __Pyx_GOTREF(__pyx_t_1);
 
5040
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
5041
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5042
  __Pyx_GOTREF(__pyx_t_2);
 
5043
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
 
5044
  __Pyx_GIVEREF(__pyx_t_1);
 
5045
  __pyx_t_1 = 0;
 
5046
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5047
  __Pyx_GOTREF(__pyx_t_1);
 
5048
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
5049
  __pyx_t_2 = PyNumber_Add(__pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5050
  __Pyx_GOTREF(__pyx_t_2);
 
5051
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
5052
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5053
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5054
  __Pyx_GOTREF(__pyx_t_1);
 
5055
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
4939
5056
  __Pyx_GIVEREF(__pyx_t_2);
4940
5057
  __pyx_t_2 = 0;
4941
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5058
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4942
5059
  __Pyx_GOTREF(__pyx_t_2);
4943
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
5060
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4944
5061
  __pyx_r = __pyx_t_2;
4945
5062
  __pyx_t_2 = 0;
4946
5063
  goto __pyx_L0;
4948
5065
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4949
5066
  goto __pyx_L0;
4950
5067
  __pyx_L1_error:;
4951
 
  __Pyx_XDECREF(__pyx_1);
4952
 
  __Pyx_XDECREF(__pyx_2);
4953
5068
  __Pyx_XDECREF(__pyx_t_1);
4954
5069
  __Pyx_XDECREF(__pyx_t_2);
4955
5070
  __Pyx_XDECREF(__pyx_t_3);
4957
5072
  __pyx_r = 0;
4958
5073
  __pyx_L0:;
4959
5074
  __Pyx_XGIVEREF(__pyx_r);
4960
 
  __Pyx_FinishRefcountContext();
 
5075
  __Pyx_RefNannyFinishContext();
4961
5076
  return __pyx_r;
4962
5077
}
4963
5078
 
4964
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":826
4965
 
 * 
4966
 
 *     @sync
 
5079
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":800
 
5080
 * 
 
5081
 * 
4967
5082
 *     def get_fields(self):             # <<<<<<<<<<<<<<
4968
5083
 *         """() => TUPLE field_info
4969
5084
 * 
4985
5100
  PyObject *__pyx_t_5 = NULL;
4986
5101
  PyObject *__pyx_t_6 = NULL;
4987
5102
  PyObject *__pyx_t_7 = NULL;
4988
 
  __Pyx_SetupRefcountContext("get_fields");
 
5103
  __Pyx_RefNannySetupContext("get_fields");
4989
5104
 
4990
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":839
 
5105
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":813
4991
5106
 *         """
4992
5107
 *         cdef size_t spos, epos, esize, mpos, msize
4993
5108
 *         H5Tget_fields(self.id, &spos, &epos, &esize, &mpos, &msize)             # <<<<<<<<<<<<<<
4994
5109
 *         return (spos, epos, esize, mpos, msize)
4995
5110
 * 
4996
5111
 */
4997
 
  __pyx_t_1 = H5Tget_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_spos), (&__pyx_v_epos), (&__pyx_v_esize), (&__pyx_v_mpos), (&__pyx_v_msize)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5112
  __pyx_t_1 = H5Tget_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_spos), (&__pyx_v_epos), (&__pyx_v_esize), (&__pyx_v_mpos), (&__pyx_v_msize)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
4998
5113
 
4999
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":840
 
5114
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":814
5000
5115
 *         cdef size_t spos, epos, esize, mpos, msize
5001
5116
 *         H5Tget_fields(self.id, &spos, &epos, &esize, &mpos, &msize)
5002
5117
 *         return (spos, epos, esize, mpos, msize)             # <<<<<<<<<<<<<<
5003
5118
 * 
5004
 
 *     @sync
 
5119
 * 
5005
5120
 */
5006
5121
  __Pyx_XDECREF(__pyx_r);
5007
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_spos); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5122
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_v_spos); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5008
5123
  __Pyx_GOTREF(__pyx_t_2);
5009
 
  __pyx_t_3 = __Pyx_PyInt_FromSize_t(__pyx_v_epos); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5124
  __pyx_t_3 = __Pyx_PyInt_FromSize_t(__pyx_v_epos); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5010
5125
  __Pyx_GOTREF(__pyx_t_3);
5011
 
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(__pyx_v_esize); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5126
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(__pyx_v_esize); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5012
5127
  __Pyx_GOTREF(__pyx_t_4);
5013
 
  __pyx_t_5 = __Pyx_PyInt_FromSize_t(__pyx_v_mpos); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5128
  __pyx_t_5 = __Pyx_PyInt_FromSize_t(__pyx_v_mpos); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5014
5129
  __Pyx_GOTREF(__pyx_t_5);
5015
 
  __pyx_t_6 = __Pyx_PyInt_FromSize_t(__pyx_v_msize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5130
  __pyx_t_6 = __Pyx_PyInt_FromSize_t(__pyx_v_msize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5016
5131
  __Pyx_GOTREF(__pyx_t_6);
5017
 
  __pyx_t_7 = PyTuple_New(5); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5018
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_7));
 
5132
  __pyx_t_7 = PyTuple_New(5); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 814; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5133
  __Pyx_GOTREF(__pyx_t_7);
5019
5134
  PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_2);
5020
5135
  __Pyx_GIVEREF(__pyx_t_2);
5021
5136
  PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_3);
5031
5146
  __pyx_t_4 = 0;
5032
5147
  __pyx_t_5 = 0;
5033
5148
  __pyx_t_6 = 0;
5034
 
  __pyx_r = ((PyObject *)__pyx_t_7);
 
5149
  __pyx_r = __pyx_t_7;
5035
5150
  __pyx_t_7 = 0;
5036
5151
  goto __pyx_L0;
5037
5152
 
5048
5163
  __pyx_r = NULL;
5049
5164
  __pyx_L0:;
5050
5165
  __Pyx_XGIVEREF(__pyx_r);
5051
 
  __Pyx_FinishRefcountContext();
 
5166
  __Pyx_RefNannyFinishContext();
5052
5167
  return __pyx_r;
5053
5168
}
5054
5169
 
5055
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":843
5056
 
 * 
5057
 
 *     @sync
 
5170
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":817
 
5171
 * 
 
5172
 * 
5058
5173
 *     def set_fields(self, size_t spos, size_t epos, size_t esize,             # <<<<<<<<<<<<<<
5059
5174
 *                           size_t mpos, size_t msize):
5060
5175
 *         """(UINT spos, UINT epos, UINT esize, UINT mpos, UINT msize)
5070
5185
  size_t __pyx_v_msize;
5071
5186
  PyObject *__pyx_r = NULL;
5072
5187
  herr_t __pyx_t_1;
5073
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_spos,&__pyx_kp_epos,&__pyx_kp_esize,&__pyx_kp_mpos,&__pyx_kp_msize,0};
5074
 
  __Pyx_SetupRefcountContext("set_fields");
 
5188
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__spos,&__pyx_n_s__epos,&__pyx_n_s__esize,&__pyx_n_s__mpos,&__pyx_n_s__msize,0};
 
5189
  __Pyx_RefNannySetupContext("set_fields");
5075
5190
  if (unlikely(__pyx_kwds)) {
5076
5191
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
5077
5192
    PyObject* values[5] = {0,0,0,0,0};
5086
5201
    }
5087
5202
    switch (PyTuple_GET_SIZE(__pyx_args)) {
5088
5203
      case  0:
5089
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_spos);
 
5204
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__spos);
5090
5205
      if (likely(values[0])) kw_args--;
5091
5206
      else goto __pyx_L5_argtuple_error;
5092
5207
      case  1:
5093
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_epos);
 
5208
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__epos);
5094
5209
      if (likely(values[1])) kw_args--;
5095
5210
      else {
5096
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5211
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5097
5212
      }
5098
5213
      case  2:
5099
 
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_esize);
 
5214
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__esize);
5100
5215
      if (likely(values[2])) kw_args--;
5101
5216
      else {
5102
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5217
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5103
5218
      }
5104
5219
      case  3:
5105
 
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_kp_mpos);
 
5220
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mpos);
5106
5221
      if (likely(values[3])) kw_args--;
5107
5222
      else {
5108
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5223
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5109
5224
      }
5110
5225
      case  4:
5111
 
      values[4] = PyDict_GetItem(__pyx_kwds, __pyx_kp_msize);
 
5226
      values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__msize);
5112
5227
      if (likely(values[4])) kw_args--;
5113
5228
      else {
5114
 
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 4); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5229
        __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, 4); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5115
5230
      }
5116
5231
    }
5117
5232
    if (unlikely(kw_args > 0)) {
5118
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fields") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5233
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "set_fields") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5119
5234
    }
5120
 
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5121
 
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5122
 
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5123
 
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(values[3]); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5124
 
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(values[4]); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5235
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(values[0]); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5236
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5237
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5238
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(values[3]); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5239
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(values[4]); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5125
5240
  } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
5126
5241
    goto __pyx_L5_argtuple_error;
5127
5242
  } else {
5128
 
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5129
 
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5130
 
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5131
 
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 3)); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5132
 
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 4)); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5243
    __pyx_v_spos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((__pyx_v_spos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5244
    __pyx_v_epos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_epos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5245
    __pyx_v_esize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_esize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5246
    __pyx_v_mpos = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 3)); if (unlikely((__pyx_v_mpos == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5247
    __pyx_v_msize = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 4)); if (unlikely((__pyx_v_msize == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5133
5248
  }
5134
5249
  goto __pyx_L4_argument_unpacking_done;
5135
5250
  __pyx_L5_argtuple_error:;
5136
 
  __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5251
  __Pyx_RaiseArgtupleInvalid("set_fields", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 817; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5137
5252
  __pyx_L3_error:;
5138
5253
  __Pyx_AddTraceback("h5py.h5t.TypeFloatID.set_fields");
5139
5254
  return NULL;
5140
5255
  __pyx_L4_argument_unpacking_done:;
5141
5256
 
5142
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":850
 
5257
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":824
5143
5258
 *         argument definitions.
5144
5259
 *         """
5145
5260
 *         H5Tset_fields(self.id, spos, epos, esize, mpos, msize)             # <<<<<<<<<<<<<<
5146
5261
 * 
5147
 
 *     @sync
 
5262
 * 
5148
5263
 */
5149
 
  __pyx_t_1 = H5Tset_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_spos, __pyx_v_epos, __pyx_v_esize, __pyx_v_mpos, __pyx_v_msize); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 850; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5264
  __pyx_t_1 = H5Tset_fields(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_spos, __pyx_v_epos, __pyx_v_esize, __pyx_v_mpos, __pyx_v_msize); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 824; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5150
5265
 
5151
5266
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5152
5267
  goto __pyx_L0;
5155
5270
  __pyx_r = NULL;
5156
5271
  __pyx_L0:;
5157
5272
  __Pyx_XGIVEREF(__pyx_r);
5158
 
  __Pyx_FinishRefcountContext();
 
5273
  __Pyx_RefNannyFinishContext();
5159
5274
  return __pyx_r;
5160
5275
}
5161
5276
 
5162
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":853
5163
 
 * 
5164
 
 *     @sync
 
5277
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":827
 
5278
 * 
 
5279
 * 
5165
5280
 *     def get_ebias(self):             # <<<<<<<<<<<<<<
5166
5281
 *         """() => UINT ebias
5167
5282
 * 
5173
5288
  PyObject *__pyx_r = NULL;
5174
5289
  size_t __pyx_t_1;
5175
5290
  PyObject *__pyx_t_2 = NULL;
5176
 
  __Pyx_SetupRefcountContext("get_ebias");
 
5291
  __Pyx_RefNannySetupContext("get_ebias");
5177
5292
 
5178
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":858
 
5293
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":832
5179
5294
 *         Get the exponent bias.
5180
5295
 *         """
5181
5296
 *         return H5Tget_ebias(self.id)             # <<<<<<<<<<<<<<
5182
5297
 * 
5183
 
 *     @sync
 
5298
 * 
5184
5299
 */
5185
5300
  __Pyx_XDECREF(__pyx_r);
5186
 
  __pyx_t_1 = H5Tget_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5187
 
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 858; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5301
  __pyx_t_1 = H5Tget_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(__pyx_t_1 == 0 && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5302
  __pyx_t_2 = __Pyx_PyInt_FromSize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5188
5303
  __Pyx_GOTREF(__pyx_t_2);
5189
5304
  __pyx_r = __pyx_t_2;
5190
5305
  __pyx_t_2 = 0;
5198
5313
  __pyx_r = NULL;
5199
5314
  __pyx_L0:;
5200
5315
  __Pyx_XGIVEREF(__pyx_r);
5201
 
  __Pyx_FinishRefcountContext();
 
5316
  __Pyx_RefNannyFinishContext();
5202
5317
  return __pyx_r;
5203
5318
}
5204
5319
 
5205
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":861
5206
 
 * 
5207
 
 *     @sync
 
5320
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":835
 
5321
 * 
 
5322
 * 
5208
5323
 *     def set_ebias(self, size_t ebias):             # <<<<<<<<<<<<<<
5209
5324
 *         """(UINT ebias)
5210
5325
 * 
5216
5331
  size_t __pyx_v_ebias;
5217
5332
  PyObject *__pyx_r = NULL;
5218
5333
  herr_t __pyx_t_1;
5219
 
  __Pyx_SetupRefcountContext("set_ebias");
 
5334
  __Pyx_RefNannySetupContext("set_ebias");
5220
5335
  assert(__pyx_arg_ebias); {
5221
 
    __pyx_v_ebias = __Pyx_PyInt_AsSize_t(__pyx_arg_ebias); if (unlikely((__pyx_v_ebias == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5336
    __pyx_v_ebias = __Pyx_PyInt_AsSize_t(__pyx_arg_ebias); if (unlikely((__pyx_v_ebias == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 835; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5222
5337
  }
5223
5338
  goto __pyx_L4_argument_unpacking_done;
5224
5339
  __pyx_L3_error:;
5226
5341
  return NULL;
5227
5342
  __pyx_L4_argument_unpacking_done:;
5228
5343
 
5229
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":866
 
5344
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":840
5230
5345
 *         Set the exponent bias.
5231
5346
 *         """
5232
5347
 *         H5Tset_ebias(self.id, ebias)             # <<<<<<<<<<<<<<
5233
5348
 * 
5234
 
 *     @sync
 
5349
 * 
5235
5350
 */
5236
 
  __pyx_t_1 = H5Tset_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_ebias); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 866; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5351
  __pyx_t_1 = H5Tset_ebias(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_ebias); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5237
5352
 
5238
5353
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5239
5354
  goto __pyx_L0;
5242
5357
  __pyx_r = NULL;
5243
5358
  __pyx_L0:;
5244
5359
  __Pyx_XGIVEREF(__pyx_r);
5245
 
  __Pyx_FinishRefcountContext();
 
5360
  __Pyx_RefNannyFinishContext();
5246
5361
  return __pyx_r;
5247
5362
}
5248
5363
 
5249
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":869
5250
 
 * 
5251
 
 *     @sync
 
5364
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":843
 
5365
 * 
 
5366
 * 
5252
5367
 *     def get_norm(self):             # <<<<<<<<<<<<<<
5253
5368
 *         """() => INT normalization_code
5254
5369
 * 
5260
5375
  PyObject *__pyx_r = NULL;
5261
5376
  H5T_norm_t __pyx_t_1;
5262
5377
  PyObject *__pyx_t_2 = NULL;
5263
 
  __Pyx_SetupRefcountContext("get_norm");
 
5378
  __Pyx_RefNannySetupContext("get_norm");
5264
5379
 
5265
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":878
 
5380
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":852
5266
5381
 *         - NORM_NONE
5267
5382
 *         """
5268
5383
 *         return <int>H5Tget_norm(self.id)             # <<<<<<<<<<<<<<
5269
5384
 * 
5270
 
 *     @sync
 
5385
 * 
5271
5386
 */
5272
5387
  __Pyx_XDECREF(__pyx_r);
5273
 
  __pyx_t_1 = H5Tget_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 878; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5274
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 878; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5388
  __pyx_t_1 = H5Tget_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5389
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5275
5390
  __Pyx_GOTREF(__pyx_t_2);
5276
5391
  __pyx_r = __pyx_t_2;
5277
5392
  __pyx_t_2 = 0;
5285
5400
  __pyx_r = NULL;
5286
5401
  __pyx_L0:;
5287
5402
  __Pyx_XGIVEREF(__pyx_r);
5288
 
  __Pyx_FinishRefcountContext();
 
5403
  __Pyx_RefNannyFinishContext();
5289
5404
  return __pyx_r;
5290
5405
}
5291
5406
 
5292
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":881
5293
 
 * 
5294
 
 *     @sync
 
5407
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":855
 
5408
 * 
 
5409
 * 
5295
5410
 *     def set_norm(self, int norm):             # <<<<<<<<<<<<<<
5296
5411
 *         """(INT normalization_code)
5297
5412
 * 
5303
5418
  int __pyx_v_norm;
5304
5419
  PyObject *__pyx_r = NULL;
5305
5420
  herr_t __pyx_t_1;
5306
 
  __Pyx_SetupRefcountContext("set_norm");
 
5421
  __Pyx_RefNannySetupContext("set_norm");
5307
5422
  assert(__pyx_arg_norm); {
5308
 
    __pyx_v_norm = __Pyx_PyInt_AsInt(__pyx_arg_norm); if (unlikely((__pyx_v_norm == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5423
    __pyx_v_norm = __Pyx_PyInt_AsInt(__pyx_arg_norm); if (unlikely((__pyx_v_norm == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 855; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5309
5424
  }
5310
5425
  goto __pyx_L4_argument_unpacking_done;
5311
5426
  __pyx_L3_error:;
5313
5428
  return NULL;
5314
5429
  __pyx_L4_argument_unpacking_done:;
5315
5430
 
5316
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":890
 
5431
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":864
5317
5432
 *         - NORM_NONE
5318
5433
 *         """
5319
5434
 *         H5Tset_norm(self.id, <H5T_norm_t>norm)             # <<<<<<<<<<<<<<
5320
5435
 * 
5321
 
 *     @sync
 
5436
 * 
5322
5437
 */
5323
 
  __pyx_t_1 = H5Tset_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_norm_t)__pyx_v_norm)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5438
  __pyx_t_1 = H5Tset_norm(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_norm_t)__pyx_v_norm)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5324
5439
 
5325
5440
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5326
5441
  goto __pyx_L0;
5329
5444
  __pyx_r = NULL;
5330
5445
  __pyx_L0:;
5331
5446
  __Pyx_XGIVEREF(__pyx_r);
5332
 
  __Pyx_FinishRefcountContext();
 
5447
  __Pyx_RefNannyFinishContext();
5333
5448
  return __pyx_r;
5334
5449
}
5335
5450
 
5336
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":893
5337
 
 * 
5338
 
 *     @sync
 
5451
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":867
 
5452
 * 
 
5453
 * 
5339
5454
 *     def get_inpad(self):             # <<<<<<<<<<<<<<
5340
5455
 *         """() => INT pad_code
5341
5456
 * 
5347
5462
  PyObject *__pyx_r = NULL;
5348
5463
  H5T_pad_t __pyx_t_1;
5349
5464
  PyObject *__pyx_t_2 = NULL;
5350
 
  __Pyx_SetupRefcountContext("get_inpad");
 
5465
  __Pyx_RefNannySetupContext("get_inpad");
5351
5466
 
5352
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":902
 
5467
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":876
5353
5468
 *         - PAD_BACKGROUND
5354
5469
 *         """
5355
5470
 *         return <int>H5Tget_inpad(self.id)             # <<<<<<<<<<<<<<
5356
5471
 * 
5357
 
 *     @sync
 
5472
 * 
5358
5473
 */
5359
5474
  __Pyx_XDECREF(__pyx_r);
5360
 
  __pyx_t_1 = H5Tget_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 902; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5361
 
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 902; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5475
  __pyx_t_1 = H5Tget_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5476
  __pyx_t_2 = PyInt_FromLong(((int)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5362
5477
  __Pyx_GOTREF(__pyx_t_2);
5363
5478
  __pyx_r = __pyx_t_2;
5364
5479
  __pyx_t_2 = 0;
5372
5487
  __pyx_r = NULL;
5373
5488
  __pyx_L0:;
5374
5489
  __Pyx_XGIVEREF(__pyx_r);
5375
 
  __Pyx_FinishRefcountContext();
 
5490
  __Pyx_RefNannyFinishContext();
5376
5491
  return __pyx_r;
5377
5492
}
5378
5493
 
5379
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":905
5380
 
 * 
5381
 
 *     @sync
 
5494
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":879
 
5495
 * 
 
5496
 * 
5382
5497
 *     def set_inpad(self, int pad_code):             # <<<<<<<<<<<<<<
5383
5498
 *         """(INT pad_code)
5384
5499
 * 
5390
5505
  int __pyx_v_pad_code;
5391
5506
  PyObject *__pyx_r = NULL;
5392
5507
  herr_t __pyx_t_1;
5393
 
  __Pyx_SetupRefcountContext("set_inpad");
 
5508
  __Pyx_RefNannySetupContext("set_inpad");
5394
5509
  assert(__pyx_arg_pad_code); {
5395
 
    __pyx_v_pad_code = __Pyx_PyInt_AsInt(__pyx_arg_pad_code); if (unlikely((__pyx_v_pad_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5510
    __pyx_v_pad_code = __Pyx_PyInt_AsInt(__pyx_arg_pad_code); if (unlikely((__pyx_v_pad_code == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5396
5511
  }
5397
5512
  goto __pyx_L4_argument_unpacking_done;
5398
5513
  __pyx_L3_error:;
5400
5515
  return NULL;
5401
5516
  __pyx_L4_argument_unpacking_done:;
5402
5517
 
5403
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":914
 
5518
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":888
5404
5519
 *         - PAD_BACKGROUND
5405
5520
 *         """
5406
5521
 *         H5Tset_inpad(self.id, <H5T_pad_t>pad_code)             # <<<<<<<<<<<<<<
5407
5522
 * 
5408
5523
 *     cdef object py_dtype(self):
5409
5524
 */
5410
 
  __pyx_t_1 = H5Tset_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_pad_code)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5525
  __pyx_t_1 = H5Tset_inpad(((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, ((H5T_pad_t)__pyx_v_pad_code)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 888; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5411
5526
 
5412
5527
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5413
5528
  goto __pyx_L0;
5416
5531
  __pyx_r = NULL;
5417
5532
  __pyx_L0:;
5418
5533
  __Pyx_XGIVEREF(__pyx_r);
5419
 
  __Pyx_FinishRefcountContext();
 
5534
  __Pyx_RefNannyFinishContext();
5420
5535
  return __pyx_r;
5421
5536
}
5422
5537
 
5423
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":916
 
5538
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":890
5424
5539
 *         H5Tset_inpad(self.id, <H5T_pad_t>pad_code)
5425
5540
 * 
5426
5541
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
5430
5545
 
5431
5546
static  PyObject *__pyx_f_4h5py_3h5t_11TypeFloatID_py_dtype(struct __pyx_obj_4h5py_3h5t_TypeFloatID *__pyx_v_self) {
5432
5547
  PyObject *__pyx_r = NULL;
5433
 
  PyObject *__pyx_1 = 0;
5434
5548
  PyObject *__pyx_t_1 = NULL;
5435
5549
  PyObject *__pyx_t_2 = NULL;
5436
5550
  PyObject *__pyx_t_3 = NULL;
5437
 
  __Pyx_SetupRefcountContext("py_dtype");
 
5551
  __Pyx_RefNannySetupContext("py_dtype");
5438
5552
 
5439
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":918
 
5553
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":892
5440
5554
 *     cdef object py_dtype(self):
5441
5555
 *         # Translation function for floating-point types
5442
5556
 *         return dtype( _order_map[self.get_order()] + "f" + \             # <<<<<<<<<<<<<<
5444
5558
 * 
5445
5559
 */
5446
5560
  __Pyx_XDECREF(__pyx_r);
5447
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5561
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_order); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5448
5562
  __Pyx_GOTREF(__pyx_t_1);
5449
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5563
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5450
5564
  __Pyx_GOTREF(__pyx_t_2);
5451
5565
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5452
 
  __pyx_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5453
 
  __Pyx_GOTREF(__pyx_1);
 
5566
  __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_4h5py_3h5t__order_map), __pyx_t_2); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5567
  __Pyx_GOTREF(__pyx_t_1);
5454
5568
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5455
 
  __pyx_t_2 = PyNumber_Add(__pyx_1, __pyx_kp_175); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5569
  __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__f)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5456
5570
  __Pyx_GOTREF(__pyx_t_2);
5457
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
5571
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5458
5572
 
5459
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":919
 
5573
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":893
5460
5574
 *         # Translation function for floating-point types
5461
5575
 *         return dtype( _order_map[self.get_order()] + "f" + \
5462
5576
 *                       str(self.get_size()) )             # <<<<<<<<<<<<<<
5463
5577
 * 
5464
5578
 * 
5465
5579
 */
5466
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 919; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5580
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_size); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5467
5581
  __Pyx_GOTREF(__pyx_t_1);
5468
 
  __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 919; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5582
  __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5469
5583
  __Pyx_GOTREF(__pyx_t_3);
5470
5584
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5471
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 919; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5472
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
5585
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5586
  __Pyx_GOTREF(__pyx_t_1);
5473
5587
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
5474
5588
  __Pyx_GIVEREF(__pyx_t_3);
5475
5589
  __pyx_t_3 = 0;
5476
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 919; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5590
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5477
5591
  __Pyx_GOTREF(__pyx_t_3);
5478
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
5479
 
  __pyx_t_1 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5592
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
5593
  __pyx_t_1 = PyNumber_Add(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5480
5594
  __Pyx_GOTREF(__pyx_t_1);
5481
5595
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5482
5596
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5483
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5484
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
5597
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5598
  __Pyx_GOTREF(__pyx_t_3);
5485
5599
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
5486
5600
  __Pyx_GIVEREF(__pyx_t_1);
5487
5601
  __pyx_t_1 = 0;
5488
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5602
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5489
5603
  __Pyx_GOTREF(__pyx_t_1);
5490
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
5604
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5491
5605
  __pyx_r = __pyx_t_1;
5492
5606
  __pyx_t_1 = 0;
5493
5607
  goto __pyx_L0;
5495
5609
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5496
5610
  goto __pyx_L0;
5497
5611
  __pyx_L1_error:;
5498
 
  __Pyx_XDECREF(__pyx_1);
5499
5612
  __Pyx_XDECREF(__pyx_t_1);
5500
5613
  __Pyx_XDECREF(__pyx_t_2);
5501
5614
  __Pyx_XDECREF(__pyx_t_3);
5503
5616
  __pyx_r = 0;
5504
5617
  __pyx_L0:;
5505
5618
  __Pyx_XGIVEREF(__pyx_r);
5506
 
  __Pyx_FinishRefcountContext();
 
5619
  __Pyx_RefNannyFinishContext();
5507
5620
  return __pyx_r;
5508
5621
}
5509
5622
 
5510
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":931
5511
 
 * 
5512
 
 *     @sync
 
5623
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":905
 
5624
 * 
 
5625
 * 
5513
5626
 *     def get_nmembers(self):             # <<<<<<<<<<<<<<
5514
5627
 *         """() => INT number_of_members
5515
5628
 * 
5521
5634
  PyObject *__pyx_r = NULL;
5522
5635
  int __pyx_t_1;
5523
5636
  PyObject *__pyx_t_2 = NULL;
5524
 
  __Pyx_SetupRefcountContext("get_nmembers");
 
5637
  __Pyx_RefNannySetupContext("get_nmembers");
5525
5638
 
5526
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":936
 
5639
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":910
5527
5640
 *         Determine the number of members in a compound or enumerated type.
5528
5641
 *         """
5529
5642
 *         return H5Tget_nmembers(self.id)             # <<<<<<<<<<<<<<
5530
5643
 * 
5531
 
 *     @sync
 
5644
 * 
5532
5645
 */
5533
5646
  __Pyx_XDECREF(__pyx_r);
5534
 
  __pyx_t_1 = H5Tget_nmembers(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5535
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5647
  __pyx_t_1 = H5Tget_nmembers(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 910; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5648
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 910; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5536
5649
  __Pyx_GOTREF(__pyx_t_2);
5537
5650
  __pyx_r = __pyx_t_2;
5538
5651
  __pyx_t_2 = 0;
5546
5659
  __pyx_r = NULL;
5547
5660
  __pyx_L0:;
5548
5661
  __Pyx_XGIVEREF(__pyx_r);
5549
 
  __Pyx_FinishRefcountContext();
 
5662
  __Pyx_RefNannyFinishContext();
5550
5663
  return __pyx_r;
5551
5664
}
5552
5665
 
5553
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":939
5554
 
 * 
5555
 
 *     @sync
 
5666
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":913
 
5667
 * 
 
5668
 * 
5556
5669
 *     def get_member_name(self, int member):             # <<<<<<<<<<<<<<
5557
5670
 *         """(INT member) => STRING name
5558
5671
 * 
5569
5682
  PyObject *__pyx_t_2 = NULL;
5570
5683
  PyObject *__pyx_t_3 = NULL;
5571
5684
  char *__pyx_t_4;
5572
 
  __Pyx_SetupRefcountContext("get_member_name");
 
5685
  __Pyx_RefNannySetupContext("get_member_name");
5573
5686
  assert(__pyx_arg_member); {
5574
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5687
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 913; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5575
5688
  }
5576
5689
  goto __pyx_L4_argument_unpacking_done;
5577
5690
  __pyx_L3_error:;
5578
5691
  __Pyx_AddTraceback("h5py.h5t.TypeCompositeID.get_member_name");
5579
5692
  return NULL;
5580
5693
  __pyx_L4_argument_unpacking_done:;
 
5694
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5581
5695
  __pyx_v_pyname = Py_None; __Pyx_INCREF(Py_None);
5582
5696
 
5583
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":946
 
5697
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":920
5584
5698
 *         """
5585
5699
 *         cdef char* name
5586
5700
 *         name = NULL             # <<<<<<<<<<<<<<
5589
5703
 */
5590
5704
  __pyx_v_name = NULL;
5591
5705
 
5592
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":948
 
5706
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":922
5593
5707
 *         name = NULL
5594
5708
 * 
5595
5709
 *         if member < 0:             # <<<<<<<<<<<<<<
5599
5713
  __pyx_t_1 = (__pyx_v_member < 0);
5600
5714
  if (__pyx_t_1) {
5601
5715
 
5602
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":949
 
5716
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":923
5603
5717
 * 
5604
5718
 *         if member < 0:
5605
5719
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5606
5720
 * 
5607
5721
 *         try:
5608
5722
 */
5609
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5610
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
5611
 
    __Pyx_INCREF(__pyx_kp_176);
5612
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_176);
5613
 
    __Pyx_GIVEREF(__pyx_kp_176);
5614
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5723
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5724
    __Pyx_GOTREF(__pyx_t_2);
 
5725
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
 
5726
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
 
5727
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
 
5728
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5615
5729
    __Pyx_GOTREF(__pyx_t_3);
5616
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
5730
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5617
5731
    __Pyx_Raise(__pyx_t_3, 0, 0);
5618
5732
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5619
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5733
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5620
5734
    goto __pyx_L5;
5621
5735
  }
5622
5736
  __pyx_L5:;
5623
5737
 
5624
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":951
 
5738
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":925
5625
5739
 *             raise ValueError("Member index must be non-negative.")
5626
5740
 * 
5627
5741
 *         try:             # <<<<<<<<<<<<<<
5630
5744
 */
5631
5745
  /*try:*/ {
5632
5746
 
5633
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":952
 
5747
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":926
5634
5748
 * 
5635
5749
 *         try:
5636
5750
 *             name = H5Tget_member_name(self.id, member)             # <<<<<<<<<<<<<<
5637
5751
 *             assert name != NULL
5638
5752
 *             pyname = name
5639
5753
 */
5640
 
    __pyx_t_4 = H5Tget_member_name(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(__pyx_t_4 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 952; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
5754
    __pyx_t_4 = H5Tget_member_name(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(__pyx_t_4 == NULL && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L7;}
5641
5755
    __pyx_v_name = __pyx_t_4;
5642
5756
 
5643
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":953
 
5757
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":927
5644
5758
 *         try:
5645
5759
 *             name = H5Tget_member_name(self.id, member)
5646
5760
 *             assert name != NULL             # <<<<<<<<<<<<<<
5650
5764
    #ifndef PYREX_WITHOUT_ASSERTIONS
5651
5765
    if (unlikely(!(__pyx_v_name != NULL))) {
5652
5766
      PyErr_SetNone(PyExc_AssertionError);
5653
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 953; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
5767
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__; goto __pyx_L7;}
5654
5768
    }
5655
5769
    #endif
5656
5770
 
5657
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":954
 
5771
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":928
5658
5772
 *             name = H5Tget_member_name(self.id, member)
5659
5773
 *             assert name != NULL
5660
5774
 *             pyname = name             # <<<<<<<<<<<<<<
5661
5775
 *         finally:
5662
5776
 *             free(name)
5663
5777
 */
5664
 
    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__; goto __pyx_L7;}
 
5778
    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L7;}
5665
5779
    __Pyx_GOTREF(__pyx_t_3);
5666
5780
    __Pyx_DECREF(__pyx_v_pyname);
5667
5781
    __pyx_v_pyname = __pyx_t_3;
5683
5797
    }
5684
5798
    __pyx_L8:;
5685
5799
 
5686
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":956
 
5800
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":930
5687
5801
 *             pyname = name
5688
5802
 *         finally:
5689
5803
 *             free(name)             # <<<<<<<<<<<<<<
5703
5817
    }
5704
5818
  }
5705
5819
 
5706
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":958
 
5820
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":932
5707
5821
 *             free(name)
5708
5822
 * 
5709
5823
 *         return pyname             # <<<<<<<<<<<<<<
5710
5824
 * 
5711
 
 *     @sync
 
5825
 * 
5712
5826
 */
5713
5827
  __Pyx_XDECREF(__pyx_r);
5714
5828
  __Pyx_INCREF(__pyx_v_pyname);
5724
5838
  __pyx_r = NULL;
5725
5839
  __pyx_L0:;
5726
5840
  __Pyx_DECREF(__pyx_v_pyname);
 
5841
  __Pyx_DECREF((PyObject *)__pyx_v_self);
5727
5842
  __Pyx_XGIVEREF(__pyx_r);
5728
 
  __Pyx_FinishRefcountContext();
 
5843
  __Pyx_RefNannyFinishContext();
5729
5844
  return __pyx_r;
5730
5845
}
5731
5846
 
5732
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":961
5733
 
 * 
5734
 
 *     @sync
 
5847
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":935
 
5848
 * 
 
5849
 * 
5735
5850
 *     def get_member_index(self, char* name):             # <<<<<<<<<<<<<<
5736
5851
 *         """(STRING name) => INT index
5737
5852
 * 
5744
5859
  PyObject *__pyx_r = NULL;
5745
5860
  int __pyx_t_1;
5746
5861
  PyObject *__pyx_t_2 = NULL;
5747
 
  __Pyx_SetupRefcountContext("get_member_index");
 
5862
  __Pyx_RefNannySetupContext("get_member_index");
5748
5863
  assert(__pyx_arg_name); {
5749
 
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5864
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5750
5865
  }
5751
5866
  goto __pyx_L4_argument_unpacking_done;
5752
5867
  __pyx_L3_error:;
5754
5869
  return NULL;
5755
5870
  __pyx_L4_argument_unpacking_done:;
5756
5871
 
5757
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":967
 
5872
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":941
5758
5873
 *         identified by a string name.
5759
5874
 *         """
5760
5875
 *         return H5Tget_member_index(self.id, name)             # <<<<<<<<<<<<<<
5762
5877
 * 
5763
5878
 */
5764
5879
  __Pyx_XDECREF(__pyx_r);
5765
 
  __pyx_t_1 = H5Tget_member_index(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5766
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5880
  __pyx_t_1 = H5Tget_member_index(((struct __pyx_obj_4h5py_3h5t_TypeCompositeID *)__pyx_v_self)->__pyx_base.__pyx_base.id, __pyx_v_name); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5881
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5767
5882
  __Pyx_GOTREF(__pyx_t_2);
5768
5883
  __pyx_r = __pyx_t_2;
5769
5884
  __pyx_t_2 = 0;
5777
5892
  __pyx_r = NULL;
5778
5893
  __pyx_L0:;
5779
5894
  __Pyx_XGIVEREF(__pyx_r);
5780
 
  __Pyx_FinishRefcountContext();
 
5895
  __Pyx_RefNannyFinishContext();
5781
5896
  return __pyx_r;
5782
5897
}
5783
5898
 
5784
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":978
5785
 
 * 
5786
 
 *     @sync
 
5899
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":952
 
5900
 * 
 
5901
 * 
5787
5902
 *     def get_member_class(self, int member):             # <<<<<<<<<<<<<<
5788
5903
 *         """(INT member) => INT class
5789
5904
 * 
5798
5913
  PyObject *__pyx_t_2 = NULL;
5799
5914
  PyObject *__pyx_t_3 = NULL;
5800
5915
  enum H5T_class_t __pyx_t_4;
5801
 
  __Pyx_SetupRefcountContext("get_member_class");
 
5916
  __Pyx_RefNannySetupContext("get_member_class");
5802
5917
  assert(__pyx_arg_member); {
5803
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
5918
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 952; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5804
5919
  }
5805
5920
  goto __pyx_L4_argument_unpacking_done;
5806
5921
  __pyx_L3_error:;
5807
5922
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_class");
5808
5923
  return NULL;
5809
5924
  __pyx_L4_argument_unpacking_done:;
 
5925
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5810
5926
 
5811
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":984
 
5927
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":958
5812
5928
 *         identified by its index (0 <= member < nmembers).
5813
5929
 *         """
5814
5930
 *         if member < 0:             # <<<<<<<<<<<<<<
5818
5934
  __pyx_t_1 = (__pyx_v_member < 0);
5819
5935
  if (__pyx_t_1) {
5820
5936
 
5821
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":985
 
5937
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":959
5822
5938
 *         """
5823
5939
 *         if member < 0:
5824
5940
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5825
5941
 *         return H5Tget_member_class(self.id, member)
5826
5942
 * 
5827
5943
 */
5828
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5829
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
5830
 
    __Pyx_INCREF(__pyx_kp_177);
5831
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_177);
5832
 
    __Pyx_GIVEREF(__pyx_kp_177);
5833
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5944
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5945
    __Pyx_GOTREF(__pyx_t_2);
 
5946
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
 
5947
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
 
5948
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
 
5949
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5834
5950
    __Pyx_GOTREF(__pyx_t_3);
5835
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
5951
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5836
5952
    __Pyx_Raise(__pyx_t_3, 0, 0);
5837
5953
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5838
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5954
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5839
5955
    goto __pyx_L5;
5840
5956
  }
5841
5957
  __pyx_L5:;
5842
5958
 
5843
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":986
 
5959
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":960
5844
5960
 *         if member < 0:
5845
5961
 *             raise ValueError("Member index must be non-negative.")
5846
5962
 *         return H5Tget_member_class(self.id, member)             # <<<<<<<<<<<<<<
5848
5964
 * 
5849
5965
 */
5850
5966
  __Pyx_XDECREF(__pyx_r);
5851
 
  __pyx_t_4 = H5Tget_member_class(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5852
 
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5967
  __pyx_t_4 = H5Tget_member_class(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
5968
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5853
5969
  __Pyx_GOTREF(__pyx_t_3);
5854
5970
  __pyx_r = __pyx_t_3;
5855
5971
  __pyx_t_3 = 0;
5863
5979
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_class");
5864
5980
  __pyx_r = NULL;
5865
5981
  __pyx_L0:;
 
5982
  __Pyx_DECREF((PyObject *)__pyx_v_self);
5866
5983
  __Pyx_XGIVEREF(__pyx_r);
5867
 
  __Pyx_FinishRefcountContext();
 
5984
  __Pyx_RefNannyFinishContext();
5868
5985
  return __pyx_r;
5869
5986
}
5870
5987
 
5871
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":990
5872
 
 * 
5873
 
 *     @sync
 
5988
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":964
 
5989
 * 
 
5990
 * 
5874
5991
 *     def get_member_offset(self, int member):             # <<<<<<<<<<<<<<
5875
5992
 *         """(INT member) => INT offset
5876
5993
 * 
5885
6002
  PyObject *__pyx_t_2 = NULL;
5886
6003
  PyObject *__pyx_t_3 = NULL;
5887
6004
  int __pyx_t_4;
5888
 
  __Pyx_SetupRefcountContext("get_member_offset");
 
6005
  __Pyx_RefNannySetupContext("get_member_offset");
5889
6006
  assert(__pyx_arg_member); {
5890
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6007
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5891
6008
  }
5892
6009
  goto __pyx_L4_argument_unpacking_done;
5893
6010
  __pyx_L3_error:;
5894
6011
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_offset");
5895
6012
  return NULL;
5896
6013
  __pyx_L4_argument_unpacking_done:;
 
6014
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5897
6015
 
5898
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":996
 
6016
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":970
5899
6017
 *         member of a compound datatype.
5900
6018
 *         """
5901
6019
 *         if member < 0:             # <<<<<<<<<<<<<<
5905
6023
  __pyx_t_1 = (__pyx_v_member < 0);
5906
6024
  if (__pyx_t_1) {
5907
6025
 
5908
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":997
 
6026
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":971
5909
6027
 *         """
5910
6028
 *         if member < 0:
5911
6029
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5912
6030
 *         return H5Tget_member_offset(self.id, member)
5913
6031
 * 
5914
6032
 */
5915
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5916
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
5917
 
    __Pyx_INCREF(__pyx_kp_178);
5918
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_178);
5919
 
    __Pyx_GIVEREF(__pyx_kp_178);
5920
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6033
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6034
    __Pyx_GOTREF(__pyx_t_2);
 
6035
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
 
6036
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
 
6037
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
 
6038
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5921
6039
    __Pyx_GOTREF(__pyx_t_3);
5922
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
6040
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5923
6041
    __Pyx_Raise(__pyx_t_3, 0, 0);
5924
6042
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5925
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 997; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6043
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5926
6044
    goto __pyx_L5;
5927
6045
  }
5928
6046
  __pyx_L5:;
5929
6047
 
5930
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":998
 
6048
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":972
5931
6049
 *         if member < 0:
5932
6050
 *             raise ValueError("Member index must be non-negative.")
5933
6051
 *         return H5Tget_member_offset(self.id, member)             # <<<<<<<<<<<<<<
5934
6052
 * 
5935
 
 *     @sync
 
6053
 * 
5936
6054
 */
5937
6055
  __Pyx_XDECREF(__pyx_r);
5938
 
  __pyx_t_4 = H5Tget_member_offset(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5939
 
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6056
  __pyx_t_4 = H5Tget_member_offset(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6057
  __pyx_t_3 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
5940
6058
  __Pyx_GOTREF(__pyx_t_3);
5941
6059
  __pyx_r = __pyx_t_3;
5942
6060
  __pyx_t_3 = 0;
5950
6068
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_offset");
5951
6069
  __pyx_r = NULL;
5952
6070
  __pyx_L0:;
 
6071
  __Pyx_DECREF((PyObject *)__pyx_v_self);
5953
6072
  __Pyx_XGIVEREF(__pyx_r);
5954
 
  __Pyx_FinishRefcountContext();
 
6073
  __Pyx_RefNannyFinishContext();
5955
6074
  return __pyx_r;
5956
6075
}
5957
6076
 
5958
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1001
5959
 
 * 
5960
 
 *     @sync
 
6077
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":975
 
6078
 * 
 
6079
 * 
5961
6080
 *     def get_member_type(self, int member):             # <<<<<<<<<<<<<<
5962
6081
 *         """(INT member) => TypeID
5963
6082
 * 
5972
6091
  PyObject *__pyx_t_2 = NULL;
5973
6092
  PyObject *__pyx_t_3 = NULL;
5974
6093
  hid_t __pyx_t_4;
5975
 
  __Pyx_SetupRefcountContext("get_member_type");
 
6094
  __Pyx_RefNannySetupContext("get_member_type");
5976
6095
  assert(__pyx_arg_member); {
5977
 
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6096
    __pyx_v_member = __Pyx_PyInt_AsInt(__pyx_arg_member); if (unlikely((__pyx_v_member == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 975; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
5978
6097
  }
5979
6098
  goto __pyx_L4_argument_unpacking_done;
5980
6099
  __pyx_L3_error:;
5981
6100
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_type");
5982
6101
  return NULL;
5983
6102
  __pyx_L4_argument_unpacking_done:;
 
6103
  __Pyx_INCREF((PyObject *)__pyx_v_self);
5984
6104
 
5985
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1007
 
6105
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":981
5986
6106
 *         index.
5987
6107
 *         """
5988
6108
 *         if member < 0:             # <<<<<<<<<<<<<<
5992
6112
  __pyx_t_1 = (__pyx_v_member < 0);
5993
6113
  if (__pyx_t_1) {
5994
6114
 
5995
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1008
 
6115
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":982
5996
6116
 *         """
5997
6117
 *         if member < 0:
5998
6118
 *             raise ValueError("Member index must be non-negative.")             # <<<<<<<<<<<<<<
5999
6119
 *         return typewrap(H5Tget_member_type(self.id, member))
6000
6120
 * 
6001
6121
 */
6002
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6003
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6004
 
    __Pyx_INCREF(__pyx_kp_179);
6005
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_179);
6006
 
    __Pyx_GIVEREF(__pyx_kp_179);
6007
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6122
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6123
    __Pyx_GOTREF(__pyx_t_2);
 
6124
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_7));
 
6125
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_7));
 
6126
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_7));
 
6127
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6008
6128
    __Pyx_GOTREF(__pyx_t_3);
6009
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
6129
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6010
6130
    __Pyx_Raise(__pyx_t_3, 0, 0);
6011
6131
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6012
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6132
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 982; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6013
6133
    goto __pyx_L5;
6014
6134
  }
6015
6135
  __pyx_L5:;
6016
6136
 
6017
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1009
 
6137
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":983
6018
6138
 *         if member < 0:
6019
6139
 *             raise ValueError("Member index must be non-negative.")
6020
6140
 *         return typewrap(H5Tget_member_type(self.id, member))             # <<<<<<<<<<<<<<
6021
6141
 * 
6022
 
 *     @sync
 
6142
 * 
6023
6143
 */
6024
6144
  __Pyx_XDECREF(__pyx_r);
6025
 
  __pyx_t_4 = H5Tget_member_type(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6026
 
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6145
  __pyx_t_4 = H5Tget_member_type(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_member); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6146
  __pyx_t_3 = ((PyObject *)__pyx_f_4h5py_3h5t_typewrap(__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6027
6147
  __Pyx_GOTREF(__pyx_t_3);
6028
6148
  __pyx_r = __pyx_t_3;
6029
6149
  __pyx_t_3 = 0;
6037
6157
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.get_member_type");
6038
6158
  __pyx_r = NULL;
6039
6159
  __pyx_L0:;
 
6160
  __Pyx_DECREF((PyObject *)__pyx_v_self);
6040
6161
  __Pyx_XGIVEREF(__pyx_r);
6041
 
  __Pyx_FinishRefcountContext();
 
6162
  __Pyx_RefNannyFinishContext();
6042
6163
  return __pyx_r;
6043
6164
}
6044
6165
 
6045
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1012
6046
 
 * 
6047
 
 *     @sync
 
6166
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":986
 
6167
 * 
 
6168
 * 
6048
6169
 *     def insert(self, char* name, size_t offset, TypeID field not None):             # <<<<<<<<<<<<<<
6049
6170
 *         """(STRING name, UINT offset, TypeID field)
6050
6171
 * 
6058
6179
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_field = 0;
6059
6180
  PyObject *__pyx_r = NULL;
6060
6181
  herr_t __pyx_t_1;
6061
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_name,&__pyx_kp_offset,&__pyx_kp_field,0};
6062
 
  __Pyx_SetupRefcountContext("insert");
 
6182
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__offset,&__pyx_n_s__field,0};
 
6183
  __Pyx_RefNannySetupContext("insert");
6063
6184
  if (unlikely(__pyx_kwds)) {
6064
6185
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
6065
6186
    PyObject* values[3] = {0,0,0};
6072
6193
    }
6073
6194
    switch (PyTuple_GET_SIZE(__pyx_args)) {
6074
6195
      case  0:
6075
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_name);
 
6196
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
6076
6197
      if (likely(values[0])) kw_args--;
6077
6198
      else goto __pyx_L5_argtuple_error;
6078
6199
      case  1:
6079
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_offset);
 
6200
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__offset);
6080
6201
      if (likely(values[1])) kw_args--;
6081
6202
      else {
6082
 
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6203
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6083
6204
      }
6084
6205
      case  2:
6085
 
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_field);
 
6206
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__field);
6086
6207
      if (likely(values[2])) kw_args--;
6087
6208
      else {
6088
 
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6209
        __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6089
6210
      }
6090
6211
    }
6091
6212
    if (unlikely(kw_args > 0)) {
6092
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6213
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6093
6214
    }
6094
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6095
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6215
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6216
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(values[1]); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6096
6217
    __pyx_v_field = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[2]);
6097
6218
  } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
6098
6219
    goto __pyx_L5_argtuple_error;
6099
6220
  } else {
6100
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6101
 
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6221
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6222
    __pyx_v_offset = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_offset == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6102
6223
    __pyx_v_field = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 2));
6103
6224
  }
6104
6225
  goto __pyx_L4_argument_unpacking_done;
6105
6226
  __pyx_L5_argtuple_error:;
6106
 
  __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6227
  __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6107
6228
  __pyx_L3_error:;
6108
6229
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.insert");
6109
6230
  return NULL;
6110
6231
  __pyx_L4_argument_unpacking_done:;
6111
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field), __pyx_ptype_4h5py_3h5t_TypeID, 0, "field", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6232
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_field), __pyx_ptype_4h5py_3h5t_TypeID, 0, "field", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 986; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6112
6233
 
6113
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1019
 
6234
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":993
6114
6235
 *         in bytes.
6115
6236
 *         """
6116
6237
 *         H5Tinsert(self.id, name, offset, field.id)             # <<<<<<<<<<<<<<
6117
6238
 * 
6118
 
 *     @sync
 
6239
 * 
6119
6240
 */
6120
 
  __pyx_t_1 = H5Tinsert(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, __pyx_v_offset, __pyx_v_field->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6241
  __pyx_t_1 = H5Tinsert(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, __pyx_v_offset, __pyx_v_field->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6121
6242
 
6122
6243
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6123
6244
  goto __pyx_L0;
6126
6247
  __pyx_r = NULL;
6127
6248
  __pyx_L0:;
6128
6249
  __Pyx_XGIVEREF(__pyx_r);
6129
 
  __Pyx_FinishRefcountContext();
 
6250
  __Pyx_RefNannyFinishContext();
6130
6251
  return __pyx_r;
6131
6252
}
6132
6253
 
6133
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1022
6134
 
 * 
6135
 
 *     @sync
 
6254
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":996
 
6255
 * 
 
6256
 * 
6136
6257
 *     def pack(self):             # <<<<<<<<<<<<<<
6137
6258
 *         """()
6138
6259
 * 
6143
6264
static PyObject *__pyx_pf_4h5py_3h5t_14TypeCompoundID_pack(PyObject *__pyx_v_self, PyObject *unused) {
6144
6265
  PyObject *__pyx_r = NULL;
6145
6266
  herr_t __pyx_t_1;
6146
 
  __Pyx_SetupRefcountContext("pack");
 
6267
  __Pyx_RefNannySetupContext("pack");
6147
6268
 
6148
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1028
 
6269
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1002
6149
6270
 *         alignment rules) from a compound datatype.
6150
6271
 *         """
6151
6272
 *         H5Tpack(self.id)             # <<<<<<<<<<<<<<
6152
6273
 * 
6153
6274
 *     cdef object py_dtype(self):
6154
6275
 */
6155
 
  __pyx_t_1 = H5Tpack(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6276
  __pyx_t_1 = H5Tpack(((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6156
6277
 
6157
6278
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6158
6279
  goto __pyx_L0;
6161
6282
  __pyx_r = NULL;
6162
6283
  __pyx_L0:;
6163
6284
  __Pyx_XGIVEREF(__pyx_r);
6164
 
  __Pyx_FinishRefcountContext();
 
6285
  __Pyx_RefNannyFinishContext();
6165
6286
  return __pyx_r;
6166
6287
}
6167
6288
 
6168
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1030
 
6289
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1004
6169
6290
 *         H5Tpack(self.id)
6170
6291
 * 
6171
6292
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
6184
6305
  PyObject *__pyx_v_nstring;
6185
6306
  PyObject *__pyx_v_typeobj;
6186
6307
  PyObject *__pyx_r = NULL;
6187
 
  long __pyx_1;
6188
 
  PyObject *__pyx_2 = 0;
6189
 
  PyObject *__pyx_3 = 0;
6190
6308
  PyObject *__pyx_t_1 = NULL;
6191
6309
  PyObject *__pyx_t_2 = NULL;
6192
6310
  int __pyx_t_3;
6193
 
  PyObject *__pyx_t_4 = NULL;
6194
 
  int __pyx_t_5;
6195
 
  Py_ssize_t __pyx_t_6;
6196
 
  int __pyx_t_7;
 
6311
  long __pyx_t_4;
 
6312
  PyObject *__pyx_t_5 = NULL;
 
6313
  int __pyx_t_6;
 
6314
  Py_ssize_t __pyx_t_7;
6197
6315
  int __pyx_t_8;
6198
6316
  int __pyx_t_9;
6199
6317
  int __pyx_t_10;
6200
6318
  int __pyx_t_11;
6201
 
  __Pyx_SetupRefcountContext("py_dtype");
 
6319
  int __pyx_t_12;
 
6320
  __Pyx_RefNannySetupContext("py_dtype");
 
6321
  __Pyx_INCREF((PyObject *)__pyx_v_self);
6202
6322
  __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
6203
6323
  __pyx_v_field_names = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
6204
6324
  __pyx_v_field_types = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
6208
6328
  __pyx_v_nstring = Py_None; __Pyx_INCREF(Py_None);
6209
6329
  __pyx_v_typeobj = Py_None; __Pyx_INCREF(Py_None);
6210
6330
 
6211
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1036
 
6331
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1010
6212
6332
 *         cdef list field_types
6213
6333
 *         cdef int nfields
6214
6334
 *         field_names = []             # <<<<<<<<<<<<<<
6215
6335
 *         field_types = []
6216
6336
 *         nfields = self.get_nmembers()
6217
6337
 */
6218
 
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1036; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6338
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1010; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6219
6339
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
6220
6340
  __Pyx_DECREF(((PyObject *)__pyx_v_field_names));
6221
6341
  __pyx_v_field_names = __pyx_t_1;
6222
6342
  __pyx_t_1 = 0;
6223
6343
 
6224
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1037
 
6344
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1011
6225
6345
 *         cdef int nfields
6226
6346
 *         field_names = []
6227
6347
 *         field_types = []             # <<<<<<<<<<<<<<
6228
6348
 *         nfields = self.get_nmembers()
6229
6349
 * 
6230
6350
 */
6231
 
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1037; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6351
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6232
6352
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
6233
6353
  __Pyx_DECREF(((PyObject *)__pyx_v_field_types));
6234
6354
  __pyx_v_field_types = __pyx_t_1;
6235
6355
  __pyx_t_1 = 0;
6236
6356
 
6237
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1038
 
6357
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1012
6238
6358
 *         field_names = []
6239
6359
 *         field_types = []
6240
6360
 *         nfields = self.get_nmembers()             # <<<<<<<<<<<<<<
6241
6361
 * 
6242
6362
 *         # First step: read field names and their Numpy dtypes into
6243
6363
 */
6244
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_nmembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6364
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6245
6365
  __Pyx_GOTREF(__pyx_t_1);
6246
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6366
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6247
6367
  __Pyx_GOTREF(__pyx_t_2);
6248
6368
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6249
 
  __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6369
  __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6250
6370
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6251
6371
  __pyx_v_nfields = __pyx_t_3;
6252
6372
 
6253
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1042
 
6373
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1016
6254
6374
 *         # First step: read field names and their Numpy dtypes into
6255
6375
 *         # two separate arrays.
6256
6376
 *         for i from 0 <= i < nfields:             # <<<<<<<<<<<<<<
6258
6378
 *             field_names.append(self.get_member_name(i))
6259
6379
 */
6260
6380
  __pyx_t_3 = __pyx_v_nfields;
6261
 
  for (__pyx_1 = 0; __pyx_1 < __pyx_t_3; __pyx_1++) {
6262
 
    __pyx_t_2 = PyInt_FromLong(__pyx_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6381
  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) {
 
6382
    __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6263
6383
    __Pyx_GOTREF(__pyx_t_2);
6264
6384
    __Pyx_DECREF(__pyx_v_i);
6265
6385
    __pyx_v_i = __pyx_t_2;
6266
6386
    __pyx_t_2 = 0;
6267
6387
 
6268
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1043
 
6388
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1017
6269
6389
 *         # two separate arrays.
6270
6390
 *         for i from 0 <= i < nfields:
6271
6391
 *             tmp_type = self.get_member_type(i)             # <<<<<<<<<<<<<<
6272
6392
 *             field_names.append(self.get_member_name(i))
6273
6393
 *             field_types.append(tmp_type.py_dtype())
6274
6394
 */
6275
 
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_member_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6395
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6276
6396
    __Pyx_GOTREF(__pyx_t_2);
6277
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6278
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
6397
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6398
    __Pyx_GOTREF(__pyx_t_1);
6279
6399
    __Pyx_INCREF(__pyx_v_i);
6280
6400
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_i);
6281
6401
    __Pyx_GIVEREF(__pyx_v_i);
6282
 
    __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6283
 
    __Pyx_GOTREF(__pyx_t_4);
 
6402
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6403
    __Pyx_GOTREF(__pyx_t_5);
6284
6404
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6285
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6286
 
    if (!(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6405
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6406
    if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6287
6407
    __Pyx_DECREF(((PyObject *)__pyx_v_tmp_type));
6288
 
    __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_4);
6289
 
    __pyx_t_4 = 0;
 
6408
    __pyx_v_tmp_type = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_5);
 
6409
    __pyx_t_5 = 0;
6290
6410
 
6291
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1044
 
6411
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1018
6292
6412
 *         for i from 0 <= i < nfields:
6293
6413
 *             tmp_type = self.get_member_type(i)
6294
6414
 *             field_names.append(self.get_member_name(i))             # <<<<<<<<<<<<<<
6295
6415
 *             field_types.append(tmp_type.py_dtype())
6296
6416
 * 
6297
6417
 */
6298
 
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_member_name); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6299
 
    __Pyx_GOTREF(__pyx_t_4);
6300
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6301
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
6418
    if (unlikely(__pyx_v_field_names == Py_None)) {
 
6419
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
6420
    }
 
6421
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6422
    __Pyx_GOTREF(__pyx_t_5);
 
6423
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6424
    __Pyx_GOTREF(__pyx_t_1);
6302
6425
    __Pyx_INCREF(__pyx_v_i);
6303
6426
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_i);
6304
6427
    __Pyx_GIVEREF(__pyx_v_i);
6305
 
    __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6428
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6306
6429
    __Pyx_GOTREF(__pyx_t_2);
6307
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6308
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6309
 
    __pyx_t_5 = PyList_Append(((PyObject *)__pyx_v_field_names), __pyx_t_2); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6430
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
6431
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6432
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_names), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6310
6433
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6311
6434
 
6312
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1045
 
6435
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1019
6313
6436
 *             tmp_type = self.get_member_type(i)
6314
6437
 *             field_names.append(self.get_member_name(i))
6315
6438
 *             field_types.append(tmp_type.py_dtype())             # <<<<<<<<<<<<<<
6316
6439
 * 
6317
6440
 * 
6318
6441
 */
6319
 
    __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6442
    if (unlikely(__pyx_v_field_types == Py_None)) {
 
6443
      PyErr_SetString(PyExc_AttributeError, "'NoneType' object has no attribute 'append'"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
6444
    }
 
6445
    __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_tmp_type->__pyx_vtab)->py_dtype(__pyx_v_tmp_type); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6320
6446
    __Pyx_GOTREF(__pyx_t_2);
6321
 
    __pyx_t_5 = PyList_Append(((PyObject *)__pyx_v_field_types), __pyx_t_2); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6447
    __pyx_t_6 = PyList_Append(((PyObject *)__pyx_v_field_types), __pyx_t_2); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6322
6448
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6323
 
    __pyx_1 = __Pyx_PyInt_AsLong(__pyx_v_i); if (unlikely((__pyx_1 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6449
    __pyx_t_4 = __Pyx_PyInt_AsLong(__pyx_v_i); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6324
6450
  }
6325
6451
 
6326
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1042
 
6452
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1016
6327
6453
 *         # First step: read field names and their Numpy dtypes into
6328
6454
 *         # two separate arrays.
6329
6455
 *         for i from 0 <= i < nfields:             # <<<<<<<<<<<<<<
6330
6456
 *             tmp_type = self.get_member_type(i)
6331
6457
 *             field_names.append(self.get_member_name(i))
6332
6458
 */
6333
 
  __pyx_t_2 = PyInt_FromLong(__pyx_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6459
  __pyx_t_2 = PyInt_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6334
6460
  __Pyx_GOTREF(__pyx_t_2);
6335
6461
  __Pyx_DECREF(__pyx_v_i);
6336
6462
  __pyx_v_i = __pyx_t_2;
6337
6463
  __pyx_t_2 = 0;
6338
6464
 
6339
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1049
 
6465
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1023
6340
6466
 * 
6341
6467
 *         # 1. Check if it should be converted to a complex number
6342
6468
 *         if len(field_names) == 2                                and \             # <<<<<<<<<<<<<<
6343
6469
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6344
6470
 *             field_types[0] == field_types[1]                    and \
6345
6471
 */
6346
 
  __pyx_t_6 = PyObject_Length(((PyObject *)__pyx_v_field_names)); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6347
 
  __pyx_t_7 = (__pyx_t_6 == 2);
6348
 
  if (__pyx_t_7) {
 
6472
  __pyx_t_7 = PyObject_Length(((PyObject *)__pyx_v_field_names)); if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6473
  __pyx_t_8 = (__pyx_t_7 == 2);
 
6474
  if (__pyx_t_8) {
6349
6475
 
6350
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1050
 
6476
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1024
6351
6477
 *         # 1. Check if it should be converted to a complex number
6352
6478
 *         if len(field_names) == 2                                and \
6353
6479
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \             # <<<<<<<<<<<<<<
6354
6480
 *             field_types[0] == field_types[1]                    and \
6355
6481
 *             field_types[0].kind == 'f':
6356
6482
 */
6357
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6483
    if (unlikely(__pyx_v_field_names == Py_None)) {
 
6484
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;} 
 
6485
    }
 
6486
    __pyx_t_2 = ((PyObject *)PyList_AsTuple(__pyx_v_field_names)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6358
6487
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6359
 
    __Pyx_INCREF(((PyObject *)__pyx_v_field_names));
6360
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_field_names));
6361
 
    __Pyx_GIVEREF(((PyObject *)__pyx_v_field_names));
6362
 
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6488
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6363
6489
    __Pyx_GOTREF(__pyx_t_1);
6364
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6365
 
    __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6366
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6367
6490
    __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_r_name);
6368
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_4h5py_3h5t_cfg->_r_name);
 
6491
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_4h5py_3h5t_cfg->_r_name);
6369
6492
    __Pyx_GIVEREF(__pyx_v_4h5py_3h5t_cfg->_r_name);
6370
6493
    __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_i_name);
6371
 
    PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_4h5py_3h5t_cfg->_i_name);
 
6494
    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_4h5py_3h5t_cfg->_i_name);
6372
6495
    __Pyx_GIVEREF(__pyx_v_4h5py_3h5t_cfg->_i_name);
6373
 
    __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)__pyx_t_2), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6374
 
    __Pyx_GOTREF(__pyx_t_4);
 
6496
    __pyx_t_5 = PyObject_RichCompare(((PyObject *)__pyx_t_2), __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6497
    __Pyx_GOTREF(__pyx_t_5);
 
6498
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6375
6499
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6376
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6377
 
    __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6378
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6379
 
    if (__pyx_t_8) {
 
6500
    __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_9 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6501
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
6502
    if (__pyx_t_9) {
6380
6503
 
6381
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1051
 
6504
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1025
6382
6505
 *         if len(field_names) == 2                                and \
6383
6506
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6384
6507
 *             field_types[0] == field_types[1]                    and \             # <<<<<<<<<<<<<<
6385
6508
 *             field_types[0].kind == 'f':
6386
6509
 * 
6387
6510
 */
6388
 
      __pyx_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6389
 
      __Pyx_GOTREF(__pyx_2);
6390
 
      __pyx_3 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 1, sizeof(long), PyInt_FromLong); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6391
 
      __Pyx_GOTREF(__pyx_3);
6392
 
      __pyx_t_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6393
 
      __Pyx_GOTREF(__pyx_t_4);
6394
 
      __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
6395
 
      __Pyx_DECREF(__pyx_3); __pyx_3 = 0;
6396
 
      __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_9 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6397
 
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6398
 
      if (__pyx_t_9) {
 
6511
      __pyx_t_5 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6512
      __Pyx_GOTREF(__pyx_t_5);
 
6513
      __pyx_t_1 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6514
      __Pyx_GOTREF(__pyx_t_1);
 
6515
      __pyx_t_2 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6516
      __Pyx_GOTREF(__pyx_t_2);
 
6517
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
6518
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6519
      __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6520
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
6521
      if (__pyx_t_10) {
6399
6522
 
6400
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1052
 
6523
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1026
6401
6524
 *             tuple(field_names) == (cfg._r_name, cfg._i_name)    and \
6402
6525
 *             field_types[0] == field_types[1]                    and \
6403
6526
 *             field_types[0].kind == 'f':             # <<<<<<<<<<<<<<
6404
6527
 * 
6405
6528
 *             bstring = field_types[0].str
6406
6529
 */
6407
 
        __pyx_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6408
 
        __Pyx_GOTREF(__pyx_2);
6409
 
        __pyx_t_4 = PyObject_GetAttr(__pyx_2, __pyx_kp_kind); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6410
 
        __Pyx_GOTREF(__pyx_t_4);
6411
 
        __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
6412
 
        __pyx_t_2 = PyObject_RichCompare(__pyx_t_4, __pyx_kp_180, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6413
 
        __Pyx_GOTREF(__pyx_t_2);
6414
 
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6415
 
        __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6416
 
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6417
 
        __pyx_t_11 = __pyx_t_10;
 
6530
        __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6531
        __Pyx_GOTREF(__pyx_t_2);
 
6532
        __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6533
        __Pyx_GOTREF(__pyx_t_1);
 
6534
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
6535
        __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)__pyx_n_s__f), Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6536
        __Pyx_GOTREF(__pyx_t_2);
 
6537
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6538
        __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6539
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
6540
        __pyx_t_12 = __pyx_t_11;
6418
6541
      } else {
6419
 
        __pyx_t_11 = __pyx_t_9;
 
6542
        __pyx_t_12 = __pyx_t_10;
6420
6543
      }
6421
 
      __pyx_t_9 = __pyx_t_11;
 
6544
      __pyx_t_10 = __pyx_t_12;
6422
6545
    } else {
6423
 
      __pyx_t_9 = __pyx_t_8;
 
6546
      __pyx_t_10 = __pyx_t_9;
6424
6547
    }
6425
 
    __pyx_t_8 = __pyx_t_9;
 
6548
    __pyx_t_9 = __pyx_t_10;
6426
6549
  } else {
6427
 
    __pyx_t_8 = __pyx_t_7;
 
6550
    __pyx_t_9 = __pyx_t_8;
6428
6551
  }
6429
 
  if (__pyx_t_8) {
 
6552
  if (__pyx_t_9) {
6430
6553
 
6431
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1054
 
6554
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1028
6432
6555
 *             field_types[0].kind == 'f':
6433
6556
 * 
6434
6557
 *             bstring = field_types[0].str             # <<<<<<<<<<<<<<
6435
6558
 *             blen = int(bstring[2:])
6436
6559
 *             nstring = bstring[0] + "c" + str(2*blen)
6437
6560
 */
6438
 
    __pyx_3 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6439
 
    __Pyx_GOTREF(__pyx_3);
6440
 
    __pyx_t_2 = PyObject_GetAttr(__pyx_3, __pyx_kp_str); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6561
    __pyx_t_2 = __Pyx_GetItemInt_List(((PyObject *)__pyx_v_field_types), 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6441
6562
    __Pyx_GOTREF(__pyx_t_2);
6442
 
    __Pyx_DECREF(__pyx_3); __pyx_3 = 0;
 
6563
    __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__str); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1028; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6564
    __Pyx_GOTREF(__pyx_t_1);
 
6565
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6443
6566
    __Pyx_DECREF(__pyx_v_bstring);
6444
 
    __pyx_v_bstring = __pyx_t_2;
6445
 
    __pyx_t_2 = 0;
 
6567
    __pyx_v_bstring = __pyx_t_1;
 
6568
    __pyx_t_1 = 0;
6446
6569
 
6447
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1055
 
6570
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1029
6448
6571
 * 
6449
6572
 *             bstring = field_types[0].str
6450
6573
 *             blen = int(bstring[2:])             # <<<<<<<<<<<<<<
6451
6574
 *             nstring = bstring[0] + "c" + str(2*blen)
6452
6575
 *             typeobj = dtype(nstring)
6453
6576
 */
6454
 
    __pyx_2 = PySequence_GetSlice(__pyx_v_bstring, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6455
 
    __Pyx_GOTREF(__pyx_2);
6456
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6457
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6458
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
6459
 
    __Pyx_GIVEREF(__pyx_2);
6460
 
    __pyx_2 = 0;
6461
 
    __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6462
 
    __Pyx_GOTREF(__pyx_t_4);
6463
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
6577
    __pyx_t_1 = PySequence_GetSlice(__pyx_v_bstring, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6578
    __Pyx_GOTREF(__pyx_t_1);
 
6579
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6580
    __Pyx_GOTREF(__pyx_t_2);
 
6581
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
 
6582
    __Pyx_GIVEREF(__pyx_t_1);
 
6583
    __pyx_t_1 = 0;
 
6584
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6585
    __Pyx_GOTREF(__pyx_t_1);
 
6586
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
6464
6587
    __Pyx_DECREF(__pyx_v_blen);
6465
 
    __pyx_v_blen = __pyx_t_4;
6466
 
    __pyx_t_4 = 0;
 
6588
    __pyx_v_blen = __pyx_t_1;
 
6589
    __pyx_t_1 = 0;
6467
6590
 
6468
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1056
 
6591
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1030
6469
6592
 *             bstring = field_types[0].str
6470
6593
 *             blen = int(bstring[2:])
6471
6594
 *             nstring = bstring[0] + "c" + str(2*blen)             # <<<<<<<<<<<<<<
6472
6595
 *             typeobj = dtype(nstring)
6473
6596
 * 
6474
6597
 */
6475
 
    __pyx_3 = __Pyx_GetItemInt(__pyx_v_bstring, 0, sizeof(long), PyInt_FromLong); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6476
 
    __Pyx_GOTREF(__pyx_3);
6477
 
    __pyx_t_4 = PyNumber_Add(__pyx_3, __pyx_kp_181); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6478
 
    __Pyx_GOTREF(__pyx_t_4);
6479
 
    __Pyx_DECREF(__pyx_3); __pyx_3 = 0;
6480
 
    __pyx_t_2 = PyNumber_Multiply(__pyx_int_2, __pyx_v_blen); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6481
 
    __Pyx_GOTREF(__pyx_t_2);
6482
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6483
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
6484
 
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
6485
 
    __Pyx_GIVEREF(__pyx_t_2);
6486
 
    __pyx_t_2 = 0;
6487
 
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6488
 
    __Pyx_GOTREF(__pyx_t_2);
6489
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
6490
 
    __pyx_t_1 = PyNumber_Add(__pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6491
 
    __Pyx_GOTREF(__pyx_t_1);
6492
 
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
6598
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_bstring, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6599
    __Pyx_GOTREF(__pyx_t_1);
 
6600
    __pyx_t_2 = PyNumber_Add(__pyx_t_1, ((PyObject *)__pyx_n_s__c)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6601
    __Pyx_GOTREF(__pyx_t_2);
 
6602
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6603
    __pyx_t_1 = PyNumber_Multiply(__pyx_int_2, __pyx_v_blen); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6604
    __Pyx_GOTREF(__pyx_t_1);
 
6605
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6606
    __Pyx_GOTREF(__pyx_t_5);
 
6607
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
 
6608
    __Pyx_GIVEREF(__pyx_t_1);
 
6609
    __pyx_t_1 = 0;
 
6610
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6611
    __Pyx_GOTREF(__pyx_t_1);
 
6612
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
6613
    __pyx_t_5 = PyNumber_Add(__pyx_t_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6614
    __Pyx_GOTREF(__pyx_t_5);
6493
6615
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
6616
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6494
6617
    __Pyx_DECREF(__pyx_v_nstring);
6495
 
    __pyx_v_nstring = __pyx_t_1;
6496
 
    __pyx_t_1 = 0;
 
6618
    __pyx_v_nstring = __pyx_t_5;
 
6619
    __pyx_t_5 = 0;
6497
6620
 
6498
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1057
 
6621
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1031
6499
6622
 *             blen = int(bstring[2:])
6500
6623
 *             nstring = bstring[0] + "c" + str(2*blen)
6501
6624
 *             typeobj = dtype(nstring)             # <<<<<<<<<<<<<<
6502
6625
 * 
6503
6626
 *         # 2. Otherwise, read all fields of the compound type, in HDF5 order.
6504
6627
 */
6505
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6506
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
6628
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1031; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6629
    __Pyx_GOTREF(__pyx_t_5);
6507
6630
    __Pyx_INCREF(__pyx_v_nstring);
6508
 
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_nstring);
 
6631
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_nstring);
6509
6632
    __Pyx_GIVEREF(__pyx_v_nstring);
6510
 
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6511
 
    __Pyx_GOTREF(__pyx_t_2);
6512
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
6633
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1031; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6634
    __Pyx_GOTREF(__pyx_t_1);
 
6635
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6513
6636
    __Pyx_DECREF(__pyx_v_typeobj);
6514
 
    __pyx_v_typeobj = __pyx_t_2;
6515
 
    __pyx_t_2 = 0;
 
6637
    __pyx_v_typeobj = __pyx_t_1;
 
6638
    __pyx_t_1 = 0;
6516
6639
    goto __pyx_L5;
6517
6640
  }
6518
6641
  /*else*/ {
6519
6642
 
6520
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1061
 
6643
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1035
6521
6644
 *         # 2. Otherwise, read all fields of the compound type, in HDF5 order.
6522
6645
 *         else:
6523
6646
 *             typeobj = dtype(zip(field_names, field_types))             # <<<<<<<<<<<<<<
6524
6647
 * 
6525
6648
 *         return typeobj
6526
6649
 */
6527
 
    __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6528
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
6650
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6651
    __Pyx_GOTREF(__pyx_t_1);
6529
6652
    __Pyx_INCREF(((PyObject *)__pyx_v_field_names));
6530
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_field_names));
 
6653
    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_field_names));
6531
6654
    __Pyx_GIVEREF(((PyObject *)__pyx_v_field_names));
6532
6655
    __Pyx_INCREF(((PyObject *)__pyx_v_field_types));
6533
 
    PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_field_types));
 
6656
    PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_field_types));
6534
6657
    __Pyx_GIVEREF(((PyObject *)__pyx_v_field_types));
6535
 
    __pyx_t_1 = PyObject_Call(__pyx_builtin_zip, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6536
 
    __Pyx_GOTREF(__pyx_t_1);
6537
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
6538
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6539
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
6540
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
6541
 
    __Pyx_GIVEREF(__pyx_t_1);
6542
 
    __pyx_t_1 = 0;
6543
 
    __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6544
 
    __Pyx_GOTREF(__pyx_t_1);
6545
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
6658
    __pyx_t_5 = PyObject_Call(__pyx_builtin_zip, __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6659
    __Pyx_GOTREF(__pyx_t_5);
 
6660
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
6661
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6662
    __Pyx_GOTREF(__pyx_t_1);
 
6663
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
 
6664
    __Pyx_GIVEREF(__pyx_t_5);
 
6665
    __pyx_t_5 = 0;
 
6666
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6667
    __Pyx_GOTREF(__pyx_t_5);
 
6668
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6546
6669
    __Pyx_DECREF(__pyx_v_typeobj);
6547
 
    __pyx_v_typeobj = __pyx_t_1;
6548
 
    __pyx_t_1 = 0;
 
6670
    __pyx_v_typeobj = __pyx_t_5;
 
6671
    __pyx_t_5 = 0;
6549
6672
  }
6550
6673
  __pyx_L5:;
6551
6674
 
6552
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1063
 
6675
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1037
6553
6676
 *             typeobj = dtype(zip(field_names, field_types))
6554
6677
 * 
6555
6678
 *         return typeobj             # <<<<<<<<<<<<<<
6564
6687
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6565
6688
  goto __pyx_L0;
6566
6689
  __pyx_L1_error:;
6567
 
  __Pyx_XDECREF(__pyx_2);
6568
 
  __Pyx_XDECREF(__pyx_3);
6569
6690
  __Pyx_XDECREF(__pyx_t_1);
6570
6691
  __Pyx_XDECREF(__pyx_t_2);
6571
 
  __Pyx_XDECREF(__pyx_t_4);
 
6692
  __Pyx_XDECREF(__pyx_t_5);
6572
6693
  __Pyx_AddTraceback("h5py.h5t.TypeCompoundID.py_dtype");
6573
6694
  __pyx_r = 0;
6574
6695
  __pyx_L0:;
6580
6701
  __Pyx_DECREF(__pyx_v_blen);
6581
6702
  __Pyx_DECREF(__pyx_v_nstring);
6582
6703
  __Pyx_DECREF(__pyx_v_typeobj);
 
6704
  __Pyx_DECREF((PyObject *)__pyx_v_self);
6583
6705
  __Pyx_XGIVEREF(__pyx_r);
6584
 
  __Pyx_FinishRefcountContext();
 
6706
  __Pyx_RefNannyFinishContext();
6585
6707
  return __pyx_r;
6586
6708
}
6587
6709
 
6588
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1071
 
6710
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1045
6589
6711
 *     """
6590
6712
 * 
6591
6713
 *     cdef int enum_convert(self, long long *buf, int reverse) except -1:             # <<<<<<<<<<<<<<
6603
6725
  PyObject *__pyx_t_4 = NULL;
6604
6726
  hid_t __pyx_t_5;
6605
6727
  herr_t __pyx_t_6;
6606
 
  __Pyx_SetupRefcountContext("enum_convert");
 
6728
  __Pyx_RefNannySetupContext("enum_convert");
 
6729
  __Pyx_INCREF((PyObject *)__pyx_v_self);
6607
6730
 
6608
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1079
 
6731
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1053
6609
6732
 *         cdef H5T_class_t class_code
6610
6733
 * 
6611
6734
 *         class_code = H5Tget_class(self.id)             # <<<<<<<<<<<<<<
6612
6735
 *         if class_code != H5T_ENUM:
6613
6736
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)
6614
6737
 */
6615
 
  __pyx_t_1 = H5Tget_class(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6738
  __pyx_t_1 = H5Tget_class(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1053; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6616
6739
  __pyx_v_class_code = __pyx_t_1;
6617
6740
 
6618
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1080
 
6741
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1054
6619
6742
 * 
6620
6743
 *         class_code = H5Tget_class(self.id)
6621
6744
 *         if class_code != H5T_ENUM:             # <<<<<<<<<<<<<<
6625
6748
  __pyx_t_2 = (__pyx_v_class_code != H5T_ENUM);
6626
6749
  if (__pyx_t_2) {
6627
6750
 
6628
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1081
 
6751
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1055
6629
6752
 *         class_code = H5Tget_class(self.id)
6630
6753
 *         if class_code != H5T_ENUM:
6631
6754
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)             # <<<<<<<<<<<<<<
6632
6755
 * 
6633
6756
 *         basetype = H5Tget_super(self.id)
6634
6757
 */
6635
 
    __pyx_t_3 = PyInt_FromLong(__pyx_v_class_code); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6758
    __pyx_t_3 = PyInt_FromLong(__pyx_v_class_code); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6636
6759
    __Pyx_GOTREF(__pyx_t_3);
6637
 
    __pyx_t_4 = PyNumber_Remainder(__pyx_kp_182, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6760
    __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_8), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6638
6761
    __Pyx_GOTREF(__pyx_t_4);
6639
6762
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6640
 
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6641
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
6763
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6764
    __Pyx_GOTREF(__pyx_t_3);
6642
6765
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
6643
6766
    __Pyx_GIVEREF(__pyx_t_4);
6644
6767
    __pyx_t_4 = 0;
6645
 
    __pyx_t_4 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6768
    __pyx_t_4 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6646
6769
    __Pyx_GOTREF(__pyx_t_4);
6647
 
    __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
6770
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6648
6771
    __Pyx_Raise(__pyx_t_4, 0, 0);
6649
6772
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6650
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6773
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1055; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6651
6774
    goto __pyx_L3;
6652
6775
  }
6653
6776
  __pyx_L3:;
6654
6777
 
6655
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1083
 
6778
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1057
6656
6779
 *             raise ValueError("This type (class %d) is not of class ENUM" % class_code)
6657
6780
 * 
6658
6781
 *         basetype = H5Tget_super(self.id)             # <<<<<<<<<<<<<<
6659
6782
 *         assert basetype > 0
6660
6783
 * 
6661
6784
 */
6662
 
  __pyx_t_5 = H5Tget_super(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6785
  __pyx_t_5 = H5Tget_super(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6663
6786
  __pyx_v_basetype = __pyx_t_5;
6664
6787
 
6665
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1084
 
6788
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1058
6666
6789
 * 
6667
6790
 *         basetype = H5Tget_super(self.id)
6668
6791
 *         assert basetype > 0             # <<<<<<<<<<<<<<
6672
6795
  #ifndef PYREX_WITHOUT_ASSERTIONS
6673
6796
  if (unlikely(!(__pyx_v_basetype > 0))) {
6674
6797
    PyErr_SetNone(PyExc_AssertionError);
6675
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6798
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6676
6799
  }
6677
6800
  #endif
6678
6801
 
6679
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1086
 
6802
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1060
6680
6803
 *         assert basetype > 0
6681
6804
 * 
6682
6805
 *         try:             # <<<<<<<<<<<<<<
6685
6808
 */
6686
6809
  /*try:*/ {
6687
6810
 
6688
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1087
 
6811
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1061
6689
6812
 * 
6690
6813
 *         try:
6691
6814
 *             if not reverse:             # <<<<<<<<<<<<<<
6695
6818
    __pyx_t_2 = (!__pyx_v_reverse);
6696
6819
    if (__pyx_t_2) {
6697
6820
 
6698
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1088
 
6821
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1062
6699
6822
 *         try:
6700
6823
 *             if not reverse:
6701
6824
 *                 H5Tconvert(H5T_NATIVE_LLONG, basetype, 1, buf, NULL, H5P_DEFAULT)             # <<<<<<<<<<<<<<
6702
6825
 *             else:
6703
6826
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)
6704
6827
 */
6705
 
      __pyx_t_6 = H5Tconvert(H5T_NATIVE_LLONG, __pyx_v_basetype, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1088; __pyx_clineno = __LINE__; goto __pyx_L5;}
 
6828
      __pyx_t_6 = H5Tconvert(H5T_NATIVE_LLONG, __pyx_v_basetype, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__; goto __pyx_L5;}
6706
6829
      goto __pyx_L7;
6707
6830
    }
6708
6831
    /*else*/ {
6709
6832
 
6710
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1090
 
6833
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1064
6711
6834
 *                 H5Tconvert(H5T_NATIVE_LLONG, basetype, 1, buf, NULL, H5P_DEFAULT)
6712
6835
 *             else:
6713
6836
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)             # <<<<<<<<<<<<<<
6714
6837
 *         finally:
6715
6838
 *             H5Tclose(basetype)
6716
6839
 */
6717
 
      __pyx_t_6 = H5Tconvert(__pyx_v_basetype, H5T_NATIVE_LLONG, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L5;}
 
6840
      __pyx_t_6 = H5Tconvert(__pyx_v_basetype, H5T_NATIVE_LLONG, 1, __pyx_v_buf, NULL, H5P_DEFAULT); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L5;}
6718
6841
    }
6719
6842
    __pyx_L7:;
6720
6843
  }
6734
6857
    }
6735
6858
    __pyx_L6:;
6736
6859
 
6737
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1092
 
6860
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1066
6738
6861
 *                 H5Tconvert(basetype, H5T_NATIVE_LLONG, 1, buf, NULL, H5P_DEFAULT)
6739
6862
 *         finally:
6740
6863
 *             H5Tclose(basetype)             # <<<<<<<<<<<<<<
6741
6864
 * 
6742
 
 *     @sync
 
6865
 * 
6743
6866
 */
6744
 
    __pyx_t_6 = H5Tclose(__pyx_v_basetype); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1092; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
 
6867
    __pyx_t_6 = H5Tclose(__pyx_v_basetype); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
6745
6868
    goto __pyx_L9;
6746
6869
    __pyx_L8_error:;
6747
6870
    if (__pyx_why == 4) {
6771
6894
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_convert");
6772
6895
  __pyx_r = -1;
6773
6896
  __pyx_L0:;
6774
 
  __Pyx_FinishRefcountContext();
 
6897
  __Pyx_DECREF((PyObject *)__pyx_v_self);
 
6898
  __Pyx_RefNannyFinishContext();
6775
6899
  return __pyx_r;
6776
6900
}
6777
6901
 
6778
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1095
6779
 
 * 
6780
 
 *     @sync
 
6902
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1069
 
6903
 * 
 
6904
 * 
6781
6905
 *     def enum_insert(self, char* name, long long value):             # <<<<<<<<<<<<<<
6782
6906
 *         """(STRING name, INT/LONG value)
6783
6907
 * 
6792
6916
  PyObject *__pyx_r = NULL;
6793
6917
  int __pyx_t_1;
6794
6918
  herr_t __pyx_t_2;
6795
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_name,&__pyx_kp_value,0};
6796
 
  __Pyx_SetupRefcountContext("enum_insert");
 
6919
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__value,0};
 
6920
  __Pyx_RefNannySetupContext("enum_insert");
6797
6921
  if (unlikely(__pyx_kwds)) {
6798
6922
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
6799
6923
    PyObject* values[2] = {0,0};
6805
6929
    }
6806
6930
    switch (PyTuple_GET_SIZE(__pyx_args)) {
6807
6931
      case  0:
6808
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_name);
 
6932
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
6809
6933
      if (likely(values[0])) kw_args--;
6810
6934
      else goto __pyx_L5_argtuple_error;
6811
6935
      case  1:
6812
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_value);
 
6936
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__value);
6813
6937
      if (likely(values[1])) kw_args--;
6814
6938
      else {
6815
 
        __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6939
        __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6816
6940
      }
6817
6941
    }
6818
6942
    if (unlikely(kw_args > 0)) {
6819
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "enum_insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6943
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "enum_insert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6820
6944
    }
6821
 
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6822
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(values[1]); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6945
    __pyx_v_name = __Pyx_PyBytes_AsString(values[0]); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6946
    __pyx_v_value = __Pyx_PyInt_AsLongLong(values[1]); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6823
6947
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
6824
6948
    goto __pyx_L5_argtuple_error;
6825
6949
  } else {
6826
 
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6827
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6950
    __pyx_v_name = __Pyx_PyBytes_AsString(PyTuple_GET_ITEM(__pyx_args, 0)); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6951
    __pyx_v_value = __Pyx_PyInt_AsLongLong(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6828
6952
  }
6829
6953
  goto __pyx_L4_argument_unpacking_done;
6830
6954
  __pyx_L5_argtuple_error:;
6831
 
  __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
6955
  __Pyx_RaiseArgtupleInvalid("enum_insert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6832
6956
  __pyx_L3_error:;
6833
6957
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.enum_insert");
6834
6958
  return NULL;
6835
6959
  __pyx_L4_argument_unpacking_done:;
6836
6960
 
6837
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1105
 
6961
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1079
6838
6962
 *         cdef long long buf
6839
6963
 * 
6840
6964
 *         buf = value             # <<<<<<<<<<<<<<
6843
6967
 */
6844
6968
  __pyx_v_buf = __pyx_v_value;
6845
6969
 
6846
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1106
 
6970
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1080
6847
6971
 * 
6848
6972
 *         buf = value
6849
6973
 *         self.enum_convert(&buf, 0)             # <<<<<<<<<<<<<<
6850
6974
 *         H5Tenum_insert(self.id, name, &buf)
6851
6975
 * 
6852
6976
 */
6853
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6977
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6854
6978
 
6855
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1107
 
6979
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1081
6856
6980
 *         buf = value
6857
6981
 *         self.enum_convert(&buf, 0)
6858
6982
 *         H5Tenum_insert(self.id, name, &buf)             # <<<<<<<<<<<<<<
6859
6983
 * 
6860
 
 *     @sync
 
6984
 * 
6861
6985
 */
6862
 
  __pyx_t_2 = H5Tenum_insert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
6986
  __pyx_t_2 = H5Tenum_insert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6863
6987
 
6864
6988
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6865
6989
  goto __pyx_L0;
6868
6992
  __pyx_r = NULL;
6869
6993
  __pyx_L0:;
6870
6994
  __Pyx_XGIVEREF(__pyx_r);
6871
 
  __Pyx_FinishRefcountContext();
 
6995
  __Pyx_RefNannyFinishContext();
6872
6996
  return __pyx_r;
6873
6997
}
6874
6998
 
6875
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1110
6876
 
 * 
6877
 
 *     @sync
 
6999
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1084
 
7000
 * 
 
7001
 * 
6878
7002
 *     def enum_nameof(self, long long value):             # <<<<<<<<<<<<<<
6879
7003
 *         """(LONG value) => STRING name
6880
7004
 * 
6892
7016
  int __pyx_t_1;
6893
7017
  herr_t __pyx_t_2;
6894
7018
  PyObject *__pyx_t_3 = NULL;
6895
 
  __Pyx_SetupRefcountContext("enum_nameof");
 
7019
  __Pyx_RefNannySetupContext("enum_nameof");
6896
7020
  assert(__pyx_arg_value); {
6897
 
    __pyx_v_value = __Pyx_PyInt_AsLongLong(__pyx_arg_value); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7021
    __pyx_v_value = __Pyx_PyInt_AsLongLong(__pyx_arg_value); if (unlikely((__pyx_v_value == (PY_LONG_LONG)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
6898
7022
  }
6899
7023
  goto __pyx_L4_argument_unpacking_done;
6900
7024
  __pyx_L3_error:;
6903
7027
  __pyx_L4_argument_unpacking_done:;
6904
7028
  __pyx_v_retstring = Py_None; __Pyx_INCREF(Py_None);
6905
7029
 
6906
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1121
 
7030
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1095
6907
7031
 *         cdef long long buf
6908
7032
 * 
6909
7033
 *         buf = value             # <<<<<<<<<<<<<<
6912
7036
 */
6913
7037
  __pyx_v_buf = __pyx_v_value;
6914
7038
 
6915
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1122
 
7039
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1096
6916
7040
 * 
6917
7041
 *         buf = value
6918
7042
 *         self.enum_convert(&buf, 0)             # <<<<<<<<<<<<<<
6919
7043
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
6920
7044
 *         assert retval >= 0
6921
7045
 */
6922
 
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7046
  __pyx_t_1 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 0); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6923
7047
 
6924
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1123
 
7048
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1097
6925
7049
 *         buf = value
6926
7050
 *         self.enum_convert(&buf, 0)
6927
7051
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)             # <<<<<<<<<<<<<<
6928
7052
 *         assert retval >= 0
6929
7053
 *         retstring = name
6930
7054
 */
6931
 
  __pyx_t_2 = H5Tenum_nameof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_buf), __pyx_v_name, 1024); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7055
  __pyx_t_2 = H5Tenum_nameof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, (&__pyx_v_buf), __pyx_v_name, 1024); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1097; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6932
7056
  __pyx_v_retval = __pyx_t_2;
6933
7057
 
6934
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1124
 
7058
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1098
6935
7059
 *         self.enum_convert(&buf, 0)
6936
7060
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
6937
7061
 *         assert retval >= 0             # <<<<<<<<<<<<<<
6941
7065
  #ifndef PYREX_WITHOUT_ASSERTIONS
6942
7066
  if (unlikely(!(__pyx_v_retval >= 0))) {
6943
7067
    PyErr_SetNone(PyExc_AssertionError);
6944
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7068
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6945
7069
  }
6946
7070
  #endif
6947
7071
 
6948
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1125
 
7072
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1099
6949
7073
 *         retval = H5Tenum_nameof(self.id, &buf, name, 1024)
6950
7074
 *         assert retval >= 0
6951
7075
 *         retstring = name             # <<<<<<<<<<<<<<
6952
7076
 *         return retstring
6953
7077
 * 
6954
7078
 */
6955
 
  __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7079
  __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
6956
7080
  __Pyx_GOTREF(__pyx_t_3);
6957
7081
  __Pyx_DECREF(__pyx_v_retstring);
6958
7082
  __pyx_v_retstring = __pyx_t_3;
6959
7083
  __pyx_t_3 = 0;
6960
7084
 
6961
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1126
 
7085
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1100
6962
7086
 *         assert retval >= 0
6963
7087
 *         retstring = name
6964
7088
 *         return retstring             # <<<<<<<<<<<<<<
6965
7089
 * 
6966
 
 *     @sync
 
7090
 * 
6967
7091
 */
6968
7092
  __Pyx_XDECREF(__pyx_r);
6969
7093
  __Pyx_INCREF(__pyx_v_retstring);
6979
7103
  __pyx_L0:;
6980
7104
  __Pyx_DECREF(__pyx_v_retstring);
6981
7105
  __Pyx_XGIVEREF(__pyx_r);
6982
 
  __Pyx_FinishRefcountContext();
 
7106
  __Pyx_RefNannyFinishContext();
6983
7107
  return __pyx_r;
6984
7108
}
6985
7109
 
6986
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1129
6987
 
 * 
6988
 
 *     @sync
 
7110
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1103
 
7111
 * 
 
7112
 * 
6989
7113
 *     def enum_valueof(self, char* name):             # <<<<<<<<<<<<<<
6990
7114
 *         """(STRING name) => LONG value
6991
7115
 * 
7000
7124
  herr_t __pyx_t_1;
7001
7125
  int __pyx_t_2;
7002
7126
  PyObject *__pyx_t_3 = NULL;
7003
 
  __Pyx_SetupRefcountContext("enum_valueof");
 
7127
  __Pyx_RefNannySetupContext("enum_valueof");
7004
7128
  assert(__pyx_arg_name); {
7005
 
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7129
    __pyx_v_name = __Pyx_PyBytes_AsString(__pyx_arg_name); if (unlikely((!__pyx_v_name) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1103; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7006
7130
  }
7007
7131
  goto __pyx_L4_argument_unpacking_done;
7008
7132
  __pyx_L3_error:;
7010
7134
  return NULL;
7011
7135
  __pyx_L4_argument_unpacking_done:;
7012
7136
 
7013
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1136
 
7137
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1110
7014
7138
 *         cdef long long buf
7015
7139
 * 
7016
7140
 *         H5Tenum_valueof(self.id, name, &buf)             # <<<<<<<<<<<<<<
7017
7141
 *         self.enum_convert(&buf, 1)
7018
7142
 *         return buf
7019
7143
 */
7020
 
  __pyx_t_1 = H5Tenum_valueof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7144
  __pyx_t_1 = H5Tenum_valueof(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_name, (&__pyx_v_buf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7021
7145
 
7022
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1137
 
7146
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1111
7023
7147
 * 
7024
7148
 *         H5Tenum_valueof(self.id, name, &buf)
7025
7149
 *         self.enum_convert(&buf, 1)             # <<<<<<<<<<<<<<
7026
7150
 *         return buf
7027
7151
 * 
7028
7152
 */
7029
 
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7153
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_buf), 1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7030
7154
 
7031
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1138
 
7155
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1112
7032
7156
 *         H5Tenum_valueof(self.id, name, &buf)
7033
7157
 *         self.enum_convert(&buf, 1)
7034
7158
 *         return buf             # <<<<<<<<<<<<<<
7035
7159
 * 
7036
 
 *     @sync
 
7160
 * 
7037
7161
 */
7038
7162
  __Pyx_XDECREF(__pyx_r);
7039
 
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_buf); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7163
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_buf); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7040
7164
  __Pyx_GOTREF(__pyx_t_3);
7041
7165
  __pyx_r = __pyx_t_3;
7042
7166
  __pyx_t_3 = 0;
7050
7174
  __pyx_r = NULL;
7051
7175
  __pyx_L0:;
7052
7176
  __Pyx_XGIVEREF(__pyx_r);
7053
 
  __Pyx_FinishRefcountContext();
 
7177
  __Pyx_RefNannyFinishContext();
7054
7178
  return __pyx_r;
7055
7179
}
7056
7180
 
7057
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1141
7058
 
 * 
7059
 
 *     @sync
 
7181
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1115
 
7182
 * 
 
7183
 * 
7060
7184
 *     def get_member_value(self, int idx):             # <<<<<<<<<<<<<<
7061
7185
 *         """(UINT index) => LONG value
7062
7186
 * 
7074
7198
  PyObject *__pyx_t_3 = NULL;
7075
7199
  herr_t __pyx_t_4;
7076
7200
  int __pyx_t_5;
7077
 
  __Pyx_SetupRefcountContext("get_member_value");
 
7201
  __Pyx_RefNannySetupContext("get_member_value");
7078
7202
  assert(__pyx_arg_idx); {
7079
 
    __pyx_v_idx = __Pyx_PyInt_AsInt(__pyx_arg_idx); if (unlikely((__pyx_v_idx == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7203
    __pyx_v_idx = __Pyx_PyInt_AsInt(__pyx_arg_idx); if (unlikely((__pyx_v_idx == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
7080
7204
  }
7081
7205
  goto __pyx_L4_argument_unpacking_done;
7082
7206
  __pyx_L3_error:;
7083
7207
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.get_member_value");
7084
7208
  return NULL;
7085
7209
  __pyx_L4_argument_unpacking_done:;
 
7210
  __Pyx_INCREF((PyObject *)__pyx_v_self);
7086
7211
 
7087
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1149
 
7212
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1123
7088
7213
 *         cdef hid_t ptype
7089
7214
 *         cdef long long val
7090
7215
 *         ptype = 0             # <<<<<<<<<<<<<<
7093
7218
 */
7094
7219
  __pyx_v_ptype = 0;
7095
7220
 
7096
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1151
 
7221
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1125
7097
7222
 *         ptype = 0
7098
7223
 * 
7099
7224
 *         if idx < 0:             # <<<<<<<<<<<<<<
7103
7228
  __pyx_t_1 = (__pyx_v_idx < 0);
7104
7229
  if (__pyx_t_1) {
7105
7230
 
7106
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1152
 
7231
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1126
7107
7232
 * 
7108
7233
 *         if idx < 0:
7109
7234
 *             raise ValueError("Index must be non-negative.")             # <<<<<<<<<<<<<<
7110
7235
 * 
7111
7236
 *         H5Tget_member_value(self.id, idx, &val)
7112
7237
 */
7113
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7114
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
7115
 
    __Pyx_INCREF(__pyx_kp_183);
7116
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_183);
7117
 
    __Pyx_GIVEREF(__pyx_kp_183);
7118
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7238
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7239
    __Pyx_GOTREF(__pyx_t_2);
 
7240
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_9));
 
7241
    PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_9));
 
7242
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_9));
 
7243
    __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7119
7244
    __Pyx_GOTREF(__pyx_t_3);
7120
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
7245
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7121
7246
    __Pyx_Raise(__pyx_t_3, 0, 0);
7122
7247
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7123
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7248
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7124
7249
    goto __pyx_L5;
7125
7250
  }
7126
7251
  __pyx_L5:;
7127
7252
 
7128
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1154
 
7253
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1128
7129
7254
 *             raise ValueError("Index must be non-negative.")
7130
7255
 * 
7131
7256
 *         H5Tget_member_value(self.id, idx, &val)             # <<<<<<<<<<<<<<
7132
7257
 *         self.enum_convert(&val, 1)
7133
7258
 *         return val
7134
7259
 */
7135
 
  __pyx_t_4 = H5Tget_member_value(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_idx, (&__pyx_v_val)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7260
  __pyx_t_4 = H5Tget_member_value(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_base.id, __pyx_v_idx, (&__pyx_v_val)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7136
7261
 
7137
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1155
 
7262
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1129
7138
7263
 * 
7139
7264
 *         H5Tget_member_value(self.id, idx, &val)
7140
7265
 *         self.enum_convert(&val, 1)             # <<<<<<<<<<<<<<
7141
7266
 *         return val
7142
7267
 * 
7143
7268
 */
7144
 
  __pyx_t_5 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_val), 1); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7269
  __pyx_t_5 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID *)((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self)->__pyx_base.__pyx_base.__pyx_vtab)->enum_convert(((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_v_self), (&__pyx_v_val), 1); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7145
7270
 
7146
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1156
 
7271
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1130
7147
7272
 *         H5Tget_member_value(self.id, idx, &val)
7148
7273
 *         self.enum_convert(&val, 1)
7149
7274
 *         return val             # <<<<<<<<<<<<<<
7151
7276
 *     cdef object py_dtype(self):
7152
7277
 */
7153
7278
  __Pyx_XDECREF(__pyx_r);
7154
 
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_val); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7279
  __pyx_t_3 = PyLong_FromLongLong(__pyx_v_val); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7155
7280
  __Pyx_GOTREF(__pyx_t_3);
7156
7281
  __pyx_r = __pyx_t_3;
7157
7282
  __pyx_t_3 = 0;
7165
7290
  __Pyx_AddTraceback("h5py.h5t.TypeEnumID.get_member_value");
7166
7291
  __pyx_r = NULL;
7167
7292
  __pyx_L0:;
 
7293
  __Pyx_DECREF((PyObject *)__pyx_v_self);
7168
7294
  __Pyx_XGIVEREF(__pyx_r);
7169
 
  __Pyx_FinishRefcountContext();
 
7295
  __Pyx_RefNannyFinishContext();
7170
7296
  return __pyx_r;
7171
7297
}
7172
7298
 
7173
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1158
 
7299
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1132
7174
7300
 *         return val
7175
7301
 * 
7176
7302
 *     cdef object py_dtype(self):             # <<<<<<<<<<<<<<
7187
7313
  PyObject *__pyx_v_val;
7188
7314
  PyObject *__pyx_v_ref;
7189
7315
  PyObject *__pyx_r = NULL;
7190
 
  PyObject *__pyx_1 = 0;
7191
7316
  PyObject *__pyx_t_1 = NULL;
7192
7317
  PyObject *__pyx_t_2 = NULL;
7193
7318
  Py_ssize_t __pyx_t_3;
7194
7319
  PyObject *__pyx_t_4 = NULL;
7195
7320
  PyObject *__pyx_t_5 = NULL;
7196
7321
  int __pyx_t_6;
7197
 
  __Pyx_SetupRefcountContext("py_dtype");
 
7322
  __Pyx_RefNannySetupContext("py_dtype");
 
7323
  __Pyx_INCREF((PyObject *)__pyx_v_self);
7198
7324
  __pyx_v_nmembers = Py_None; __Pyx_INCREF(Py_None);
7199
7325
  __pyx_v_members = Py_None; __Pyx_INCREF(Py_None);
7200
7326
  __pyx_v_idx = Py_None; __Pyx_INCREF(Py_None);
7202
7328
  __pyx_v_val = Py_None; __Pyx_INCREF(Py_None);
7203
7329
  __pyx_v_ref = Py_None; __Pyx_INCREF(Py_None);
7204
7330
 
7205
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1161
 
7331
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1135
7206
7332
 *         # Translation function for enum types
7207
7333
 * 
7208
7334
 *         cdef TypeID basetype = self.get_super()             # <<<<<<<<<<<<<<
7209
7335
 * 
7210
7336
 *         nmembers = self.get_nmembers()
7211
7337
 */
7212
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7338
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_super); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7213
7339
  __Pyx_GOTREF(__pyx_t_1);
7214
 
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7340
  __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7215
7341
  __Pyx_GOTREF(__pyx_t_2);
7216
7342
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7217
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7343
  if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7218
7344
  __pyx_v_basetype = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
7219
7345
  __pyx_t_2 = 0;
7220
7346
 
7221
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1163
 
7347
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1137
7222
7348
 *         cdef TypeID basetype = self.get_super()
7223
7349
 * 
7224
7350
 *         nmembers = self.get_nmembers()             # <<<<<<<<<<<<<<
7225
7351
 *         members = {}
7226
7352
 * 
7227
7353
 */
7228
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_nmembers); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7354
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_nmembers); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7229
7355
  __Pyx_GOTREF(__pyx_t_2);
7230
 
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7356
  __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7231
7357
  __Pyx_GOTREF(__pyx_t_1);
7232
7358
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7233
7359
  __Pyx_DECREF(__pyx_v_nmembers);
7234
7360
  __pyx_v_nmembers = __pyx_t_1;
7235
7361
  __pyx_t_1 = 0;
7236
7362
 
7237
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1164
 
7363
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1138
7238
7364
 * 
7239
7365
 *         nmembers = self.get_nmembers()
7240
7366
 *         members = {}             # <<<<<<<<<<<<<<
7241
7367
 * 
7242
7368
 *         for idx in xrange(nmembers):
7243
7369
 */
7244
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7245
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
 
7370
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7371
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
7246
7372
  __Pyx_DECREF(__pyx_v_members);
7247
 
  __pyx_v_members = ((PyObject *)__pyx_1);
7248
 
  __pyx_1 = 0;
 
7373
  __pyx_v_members = ((PyObject *)__pyx_t_1);
 
7374
  __pyx_t_1 = 0;
7249
7375
 
7250
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1166
 
7376
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1140
7251
7377
 *         members = {}
7252
7378
 * 
7253
7379
 *         for idx in xrange(nmembers):             # <<<<<<<<<<<<<<
7254
7380
 *             name = self.get_member_name(idx)
7255
7381
 *             val = self.get_member_value(idx)
7256
7382
 */
7257
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7258
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
7383
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7384
  __Pyx_GOTREF(__pyx_t_1);
7259
7385
  __Pyx_INCREF(__pyx_v_nmembers);
7260
7386
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_nmembers);
7261
7387
  __Pyx_GIVEREF(__pyx_v_nmembers);
7262
 
  __pyx_t_2 = PyObject_Call(__pyx_builtin_xrange, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7388
  __pyx_t_2 = PyObject_Call(__pyx_builtin_xrange, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7263
7389
  __Pyx_GOTREF(__pyx_t_2);
7264
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
7390
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7265
7391
  if (PyList_CheckExact(__pyx_t_2) || PyTuple_CheckExact(__pyx_t_2)) {
7266
7392
    __pyx_t_3 = 0; __pyx_t_1 = __pyx_t_2; __Pyx_INCREF(__pyx_t_1);
7267
7393
  } else {
7268
 
    __pyx_t_3 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7394
    __pyx_t_3 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7269
7395
    __Pyx_GOTREF(__pyx_t_1);
7270
7396
  }
7271
7397
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7279
7405
    } else {
7280
7406
      __pyx_t_2 = PyIter_Next(__pyx_t_1);
7281
7407
      if (!__pyx_t_2) {
7282
 
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7408
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7283
7409
        break;
7284
7410
      }
7285
7411
      __Pyx_GOTREF(__pyx_t_2);
7288
7414
    __pyx_v_idx = __pyx_t_2;
7289
7415
    __pyx_t_2 = 0;
7290
7416
 
7291
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1167
 
7417
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1141
7292
7418
 * 
7293
7419
 *         for idx in xrange(nmembers):
7294
7420
 *             name = self.get_member_name(idx)             # <<<<<<<<<<<<<<
7295
7421
 *             val = self.get_member_value(idx)
7296
7422
 *             members[name] = val
7297
7423
 */
7298
 
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_member_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7424
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7299
7425
    __Pyx_GOTREF(__pyx_t_2);
7300
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7301
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
7426
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7427
    __Pyx_GOTREF(__pyx_t_4);
7302
7428
    __Pyx_INCREF(__pyx_v_idx);
7303
7429
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_idx);
7304
7430
    __Pyx_GIVEREF(__pyx_v_idx);
7305
 
    __pyx_t_5 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7431
    __pyx_t_5 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7306
7432
    __Pyx_GOTREF(__pyx_t_5);
7307
7433
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7308
 
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
7434
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7309
7435
    __Pyx_DECREF(__pyx_v_name);
7310
7436
    __pyx_v_name = __pyx_t_5;
7311
7437
    __pyx_t_5 = 0;
7312
7438
 
7313
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1168
 
7439
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1142
7314
7440
 *         for idx in xrange(nmembers):
7315
7441
 *             name = self.get_member_name(idx)
7316
7442
 *             val = self.get_member_value(idx)             # <<<<<<<<<<<<<<
7317
7443
 *             members[name] = val
7318
7444
 * 
7319
7445
 */
7320
 
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_get_member_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7446
    __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get_member_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7321
7447
    __Pyx_GOTREF(__pyx_t_5);
7322
 
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7323
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
7448
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7449
    __Pyx_GOTREF(__pyx_t_4);
7324
7450
    __Pyx_INCREF(__pyx_v_idx);
7325
7451
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_idx);
7326
7452
    __Pyx_GIVEREF(__pyx_v_idx);
7327
 
    __pyx_t_2 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7453
    __pyx_t_2 = PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7328
7454
    __Pyx_GOTREF(__pyx_t_2);
7329
7455
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7330
 
    __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
 
7456
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7331
7457
    __Pyx_DECREF(__pyx_v_val);
7332
7458
    __pyx_v_val = __pyx_t_2;
7333
7459
    __pyx_t_2 = 0;
7334
7460
 
7335
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1169
 
7461
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1143
7336
7462
 *             name = self.get_member_name(idx)
7337
7463
 *             val = self.get_member_value(idx)
7338
7464
 *             members[name] = val             # <<<<<<<<<<<<<<
7339
7465
 * 
7340
7466
 *         ref = {cfg._f_name: 0, cfg._t_name: 1}
7341
7467
 */
7342
 
    if (PyObject_SetItem(__pyx_v_members, __pyx_v_name, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7468
    if (PyObject_SetItem(__pyx_v_members, __pyx_v_name, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7343
7469
  }
7344
7470
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7345
7471
 
7346
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1171
 
7472
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1145
7347
7473
 *             members[name] = val
7348
7474
 * 
7349
7475
 *         ref = {cfg._f_name: 0, cfg._t_name: 1}             # <<<<<<<<<<<<<<
7350
7476
 * 
7351
7477
 *         # Boolean types have priority over standard enums
7352
7478
 */
7353
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7354
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
7355
 
  if (PyDict_SetItem(__pyx_1, __pyx_v_4h5py_3h5t_cfg->_f_name, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7356
 
  if (PyDict_SetItem(__pyx_1, __pyx_v_4h5py_3h5t_cfg->_t_name, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7479
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7480
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
7481
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_f_name, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7482
  if (PyDict_SetItem(__pyx_t_1, __pyx_v_4h5py_3h5t_cfg->_t_name, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7357
7483
  __Pyx_DECREF(__pyx_v_ref);
7358
 
  __pyx_v_ref = ((PyObject *)__pyx_1);
7359
 
  __pyx_1 = 0;
 
7484
  __pyx_v_ref = ((PyObject *)__pyx_t_1);
 
7485
  __pyx_t_1 = 0;
7360
7486
 
7361
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1174
 
7487
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1148
7362
7488
 * 
7363
7489
 *         # Boolean types have priority over standard enums
7364
7490
 *         if members == ref:             # <<<<<<<<<<<<<<
7365
7491
 *             return dtype('bool')
7366
7492
 * 
7367
7493
 */
7368
 
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_members, __pyx_v_ref, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7494
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_members, __pyx_v_ref, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7369
7495
  __Pyx_GOTREF(__pyx_t_1);
7370
 
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7496
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7371
7497
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7372
7498
  if (__pyx_t_6) {
7373
7499
 
7374
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1175
 
7500
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1149
7375
7501
 *         # Boolean types have priority over standard enums
7376
7502
 *         if members == ref:
7377
7503
 *             return dtype('bool')             # <<<<<<<<<<<<<<
7378
7504
 * 
7379
 
 *         return py_new_enum(basetype.py_dtype(), members)
 
7505
 *         return special_dtype(enum=(basetype.py_dtype(), members))
7380
7506
 */
7381
7507
    __Pyx_XDECREF(__pyx_r);
7382
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7383
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
7384
 
    __Pyx_INCREF(__pyx_kp_184);
7385
 
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_184);
7386
 
    __Pyx_GIVEREF(__pyx_kp_184);
7387
 
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7508
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7509
    __Pyx_GOTREF(__pyx_t_1);
 
7510
    __Pyx_INCREF(((PyObject *)__pyx_n_s__bool));
 
7511
    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_n_s__bool));
 
7512
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__bool));
 
7513
    __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7388
7514
    __Pyx_GOTREF(__pyx_t_2);
7389
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
7515
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7390
7516
    __pyx_r = __pyx_t_2;
7391
7517
    __pyx_t_2 = 0;
7392
7518
    goto __pyx_L0;
7394
7520
  }
7395
7521
  __pyx_L5:;
7396
7522
 
7397
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1177
 
7523
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1151
7398
7524
 *             return dtype('bool')
7399
7525
 * 
7400
 
 *         return py_new_enum(basetype.py_dtype(), members)             # <<<<<<<<<<<<<<
 
7526
 *         return special_dtype(enum=(basetype.py_dtype(), members))             # <<<<<<<<<<<<<<
7401
7527
 * 
7402
7528
 * 
7403
7529
 */
7404
7530
  __Pyx_XDECREF(__pyx_r);
7405
 
  __pyx_t_2 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_basetype->__pyx_vtab)->py_dtype(__pyx_v_basetype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7531
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7406
7532
  __Pyx_GOTREF(__pyx_t_2);
7407
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7408
 
  if (!(likely(PyDict_CheckExact(__pyx_v_members)) || (__pyx_v_members) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected dict, got %s", Py_TYPE(__pyx_v_members)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7409
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_enum(((PyArray_Descr *)__pyx_t_2), ((PyObject *)__pyx_v_members), 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7410
 
  __Pyx_GOTREF(__pyx_t_1);
 
7533
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7534
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
7535
  __pyx_t_4 = ((struct __pyx_vtabstruct_4h5py_3h5t_TypeID *)__pyx_v_basetype->__pyx_vtab)->py_dtype(__pyx_v_basetype); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7536
  __Pyx_GOTREF(__pyx_t_4);
 
7537
  __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7538
  __Pyx_GOTREF(__pyx_t_5);
 
7539
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
 
7540
  __Pyx_GIVEREF(__pyx_t_4);
 
7541
  __Pyx_INCREF(__pyx_v_members);
 
7542
  PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_members);
 
7543
  __Pyx_GIVEREF(__pyx_v_members);
 
7544
  __pyx_t_4 = 0;
 
7545
  if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7546
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
7547
  __pyx_t_5 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7548
  __Pyx_GOTREF(__pyx_t_5);
7411
7549
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7412
 
  __pyx_r = __pyx_t_1;
7413
 
  __pyx_t_1 = 0;
 
7550
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
7551
  __pyx_r = __pyx_t_5;
 
7552
  __pyx_t_5 = 0;
7414
7553
  goto __pyx_L0;
7415
7554
 
7416
7555
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
7417
7556
  goto __pyx_L0;
7418
7557
  __pyx_L1_error:;
7419
 
  __Pyx_XDECREF(__pyx_1);
7420
7558
  __Pyx_XDECREF(__pyx_t_1);
7421
7559
  __Pyx_XDECREF(__pyx_t_2);
7422
7560
  __Pyx_XDECREF(__pyx_t_4);
7431
7569
  __Pyx_DECREF(__pyx_v_name);
7432
7570
  __Pyx_DECREF(__pyx_v_val);
7433
7571
  __Pyx_DECREF(__pyx_v_ref);
 
7572
  __Pyx_DECREF((PyObject *)__pyx_v_self);
7434
7573
  __Pyx_XGIVEREF(__pyx_r);
7435
 
  __Pyx_FinishRefcountContext();
 
7574
  __Pyx_RefNannyFinishContext();
7436
7575
  return __pyx_r;
7437
7576
}
7438
7577
 
7439
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1198
 
7578
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1172
7440
7579
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
7441
7580
 * 
7442
7581
 * cdef TypeFloatID _c_float(dtype dt):             # <<<<<<<<<<<<<<
7447
7586
static  struct __pyx_obj_4h5py_3h5t_TypeFloatID *__pyx_f_4h5py_3h5t__c_float(PyArray_Descr *__pyx_v_dt) {
7448
7587
  hid_t __pyx_v_tid;
7449
7588
  struct __pyx_obj_4h5py_3h5t_TypeFloatID *__pyx_r = NULL;
7450
 
  PyObject *__pyx_1 = 0;
7451
 
  hid_t __pyx_t_1;
7452
 
  PyObject *__pyx_t_2 = NULL;
7453
 
  PyObject *__pyx_t_3 = NULL;
7454
 
  __Pyx_SetupRefcountContext("_c_float");
 
7589
  PyObject *__pyx_t_1 = NULL;
 
7590
  hid_t __pyx_t_2;
 
7591
  int __pyx_t_3;
 
7592
  PyObject *__pyx_t_4 = NULL;
 
7593
  PyObject *__pyx_t_5 = NULL;
 
7594
  PyObject *__pyx_t_6 = NULL;
 
7595
  PyObject *__pyx_t_7 = NULL;
 
7596
  __Pyx_RefNannySetupContext("_c_float");
 
7597
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
7455
7598
 
7456
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1202
 
7599
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1176
7457
7600
 *     cdef hid_t tid
7458
7601
 * 
7459
 
 *     if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7460
 
 *         tid =  _float_le[dt.elsize]
7461
 
 *     elif dt.byteorder == c'>':
7462
 
 */
7463
 
  switch (__pyx_v_dt->byteorder) {
7464
 
    case '<':
7465
 
 
7466
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1203
7467
 
 * 
7468
 
 *     if dt.byteorder == c'<':
7469
 
 *         tid =  _float_le[dt.elsize]             # <<<<<<<<<<<<<<
7470
 
 *     elif dt.byteorder == c'>':
7471
 
 *         tid =  _float_be[dt.elsize]
7472
 
 */
7473
 
    __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7474
 
    __Pyx_GOTREF(__pyx_1);
7475
 
    __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7476
 
    __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7477
 
    __pyx_v_tid = __pyx_t_1;
7478
 
    break;
7479
 
 
7480
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1204
7481
 
 *     if dt.byteorder == c'<':
7482
 
 *         tid =  _float_le[dt.elsize]
7483
 
 *     elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7484
 
 *         tid =  _float_be[dt.elsize]
7485
 
 *     else:
7486
 
 */
7487
 
    case '>':
7488
 
 
7489
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1205
7490
 
 *         tid =  _float_le[dt.elsize]
7491
 
 *     elif dt.byteorder == c'>':
7492
 
 *         tid =  _float_be[dt.elsize]             # <<<<<<<<<<<<<<
7493
 
 *     else:
7494
 
 *         tid =  _float_nt[dt.elsize]
7495
 
 */
7496
 
    __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7497
 
    __Pyx_GOTREF(__pyx_1);
7498
 
    __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7499
 
    __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7500
 
    __pyx_v_tid = __pyx_t_1;
7501
 
    break;
7502
 
    default:
7503
 
 
7504
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1207
7505
 
 *         tid =  _float_be[dt.elsize]
7506
 
 *     else:
7507
 
 *         tid =  _float_nt[dt.elsize]             # <<<<<<<<<<<<<<
 
7602
 *     try:             # <<<<<<<<<<<<<<
 
7603
 *         if dt.byteorder == c'<':
 
7604
 *             tid =  _float_le[dt.elsize]
 
7605
 */
 
7606
  {
 
7607
    PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
7608
    __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
7609
    __Pyx_XGOTREF(__pyx_save_exc_type);
 
7610
    __Pyx_XGOTREF(__pyx_save_exc_value);
 
7611
    __Pyx_XGOTREF(__pyx_save_exc_tb);
 
7612
    /*try:*/ {
 
7613
 
 
7614
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1177
 
7615
 * 
 
7616
 *     try:
 
7617
 *         if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
 
7618
 *             tid =  _float_le[dt.elsize]
 
7619
 *         elif dt.byteorder == c'>':
 
7620
 */
 
7621
      switch (__pyx_v_dt->byteorder) {
 
7622
        case '<':
 
7623
 
 
7624
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1178
 
7625
 *     try:
 
7626
 *         if dt.byteorder == c'<':
 
7627
 *             tid =  _float_le[dt.elsize]             # <<<<<<<<<<<<<<
 
7628
 *         elif dt.byteorder == c'>':
 
7629
 *             tid =  _float_be[dt.elsize]
 
7630
 */
 
7631
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7632
        __Pyx_GOTREF(__pyx_t_1);
 
7633
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1178; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7634
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7635
        __pyx_v_tid = __pyx_t_2;
 
7636
        break;
 
7637
 
 
7638
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1179
 
7639
 *         if dt.byteorder == c'<':
 
7640
 *             tid =  _float_le[dt.elsize]
 
7641
 *         elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
 
7642
 *             tid =  _float_be[dt.elsize]
 
7643
 *         else:
 
7644
 */
 
7645
        case '>':
 
7646
 
 
7647
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1180
 
7648
 *             tid =  _float_le[dt.elsize]
 
7649
 *         elif dt.byteorder == c'>':
 
7650
 *             tid =  _float_be[dt.elsize]             # <<<<<<<<<<<<<<
 
7651
 *         else:
 
7652
 *             tid =  _float_nt[dt.elsize]
 
7653
 */
 
7654
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7655
        __Pyx_GOTREF(__pyx_t_1);
 
7656
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7657
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7658
        __pyx_v_tid = __pyx_t_2;
 
7659
        break;
 
7660
        default:
 
7661
 
 
7662
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1182
 
7663
 *             tid =  _float_be[dt.elsize]
 
7664
 *         else:
 
7665
 *             tid =  _float_nt[dt.elsize]             # <<<<<<<<<<<<<<
 
7666
 *     except KeyError:
 
7667
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)
 
7668
 */
 
7669
        __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7670
        __Pyx_GOTREF(__pyx_t_1);
 
7671
        __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1182; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7672
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7673
        __pyx_v_tid = __pyx_t_2;
 
7674
        break;
 
7675
      }
 
7676
    }
 
7677
    __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
7678
    __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
7679
    __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
7680
    goto __pyx_L10_try_end;
 
7681
    __pyx_L3_error:;
 
7682
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7683
 
 
7684
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1183
 
7685
 *         else:
 
7686
 *             tid =  _float_nt[dt.elsize]
 
7687
 *     except KeyError:             # <<<<<<<<<<<<<<
 
7688
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)
 
7689
 * 
 
7690
 */
 
7691
    __pyx_t_3 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
 
7692
    if (__pyx_t_3) {
 
7693
      __Pyx_AddTraceback("h5py.h5t._c_float");
 
7694
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_4, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7695
      __Pyx_GOTREF(__pyx_t_1);
 
7696
      __Pyx_GOTREF(__pyx_t_4);
 
7697
      __Pyx_GOTREF(__pyx_t_5);
 
7698
 
 
7699
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1184
 
7700
 *             tid =  _float_nt[dt.elsize]
 
7701
 *     except KeyError:
 
7702
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)             # <<<<<<<<<<<<<<
7508
7703
 * 
7509
7704
 *     return TypeFloatID(H5Tcopy(tid))
7510
7705
 */
7511
 
    __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__float_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7512
 
    __Pyx_GOTREF(__pyx_1);
7513
 
    __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7514
 
    __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7515
 
    __pyx_v_tid = __pyx_t_1;
7516
 
    break;
 
7706
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7707
      __Pyx_GOTREF(__pyx_t_6);
 
7708
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_10), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7709
      __Pyx_GOTREF(__pyx_t_7);
 
7710
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
7711
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7712
      __Pyx_GOTREF(__pyx_t_6);
 
7713
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_7);
 
7714
      __Pyx_GIVEREF(__pyx_t_7);
 
7715
      __pyx_t_7 = 0;
 
7716
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7717
      __Pyx_GOTREF(__pyx_t_7);
 
7718
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
7719
      __Pyx_Raise(__pyx_t_7, 0, 0);
 
7720
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
7721
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
7722
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7723
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
7724
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
7725
      goto __pyx_L4_exception_handled;
 
7726
    }
 
7727
    __pyx_L5_except_error:;
 
7728
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
7729
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
7730
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
7731
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
7732
    goto __pyx_L1_error;
 
7733
    __pyx_L4_exception_handled:;
 
7734
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
7735
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
7736
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
7737
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
7738
    __pyx_L10_try_end:;
7517
7739
  }
7518
7740
 
7519
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1209
7520
 
 *         tid =  _float_nt[dt.elsize]
 
7741
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1186
 
7742
 *         raise TypeError("Unsupported float size (%s)" % dt.elsize)
7521
7743
 * 
7522
7744
 *     return TypeFloatID(H5Tcopy(tid))             # <<<<<<<<<<<<<<
7523
7745
 * 
7524
7746
 * cdef TypeIntegerID _c_int(dtype dt):
7525
7747
 */
7526
7748
  __Pyx_XDECREF(((PyObject *)__pyx_r));
7527
 
  __pyx_t_1 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7528
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7529
 
  __Pyx_GOTREF(__pyx_t_2);
7530
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7531
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
7532
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
7533
 
  __Pyx_GIVEREF(__pyx_t_2);
7534
 
  __pyx_t_2 = 0;
7535
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeFloatID)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7536
 
  __Pyx_GOTREF(__pyx_t_2);
7537
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
7538
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeFloatID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7539
 
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_t_2);
7540
 
  __pyx_t_2 = 0;
 
7749
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7750
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7751
  __Pyx_GOTREF(__pyx_t_5);
 
7752
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7753
  __Pyx_GOTREF(__pyx_t_4);
 
7754
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
 
7755
  __Pyx_GIVEREF(__pyx_t_5);
 
7756
  __pyx_t_5 = 0;
 
7757
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeFloatID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
7758
  __Pyx_GOTREF(__pyx_t_5);
 
7759
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
7760
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)__pyx_t_5);
 
7761
  __pyx_t_5 = 0;
7541
7762
  goto __pyx_L0;
7542
7763
 
7543
7764
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeFloatID *)Py_None); __Pyx_INCREF(Py_None);
7544
7765
  goto __pyx_L0;
7545
7766
  __pyx_L1_error:;
7546
 
  __Pyx_XDECREF(__pyx_1);
7547
 
  __Pyx_XDECREF(__pyx_t_2);
7548
 
  __Pyx_XDECREF(__pyx_t_3);
 
7767
  __Pyx_XDECREF(__pyx_t_1);
 
7768
  __Pyx_XDECREF(__pyx_t_4);
 
7769
  __Pyx_XDECREF(__pyx_t_5);
 
7770
  __Pyx_XDECREF(__pyx_t_6);
 
7771
  __Pyx_XDECREF(__pyx_t_7);
7549
7772
  __Pyx_AddTraceback("h5py.h5t._c_float");
7550
7773
  __pyx_r = 0;
7551
7774
  __pyx_L0:;
 
7775
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
7552
7776
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
7553
 
  __Pyx_FinishRefcountContext();
 
7777
  __Pyx_RefNannyFinishContext();
7554
7778
  return __pyx_r;
7555
7779
}
7556
7780
 
7557
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1211
 
7781
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1188
7558
7782
 *     return TypeFloatID(H5Tcopy(tid))
7559
7783
 * 
7560
7784
 * cdef TypeIntegerID _c_int(dtype dt):             # <<<<<<<<<<<<<<
7565
7789
static  struct __pyx_obj_4h5py_3h5t_TypeIntegerID *__pyx_f_4h5py_3h5t__c_int(PyArray_Descr *__pyx_v_dt) {
7566
7790
  hid_t __pyx_v_tid;
7567
7791
  struct __pyx_obj_4h5py_3h5t_TypeIntegerID *__pyx_r = NULL;
7568
 
  PyObject *__pyx_1 = 0;
7569
 
  hid_t __pyx_t_1;
7570
 
  PyObject *__pyx_t_2 = NULL;
 
7792
  PyObject *__pyx_t_1 = NULL;
 
7793
  hid_t __pyx_t_2;
7571
7794
  PyObject *__pyx_t_3 = NULL;
7572
 
  __Pyx_SetupRefcountContext("_c_int");
 
7795
  int __pyx_t_4;
 
7796
  PyObject *__pyx_t_5 = NULL;
 
7797
  PyObject *__pyx_t_6 = NULL;
 
7798
  PyObject *__pyx_t_7 = NULL;
 
7799
  __Pyx_RefNannySetupContext("_c_int");
 
7800
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
7573
7801
 
7574
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1215
 
7802
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1192
7575
7803
 *     cdef hid_t tid
7576
7804
 * 
7577
 
 *     if dt.kind == c'i':             # <<<<<<<<<<<<<<
7578
 
 *         if dt.byteorder == c'<':
7579
 
 *             tid = _int_le[dt.elsize]
7580
 
 */
7581
 
  switch (__pyx_v_dt->kind) {
7582
 
    case 'i':
7583
 
 
7584
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1216
7585
 
 * 
7586
 
 *     if dt.kind == c'i':
7587
 
 *         if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7588
 
 *             tid = _int_le[dt.elsize]
7589
 
 *         elif dt.byteorder == c'>':
7590
 
 */
7591
 
    switch (__pyx_v_dt->byteorder) {
7592
 
      case '<':
7593
 
 
7594
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1217
7595
 
 *     if dt.kind == c'i':
7596
 
 *         if dt.byteorder == c'<':
7597
 
 *             tid = _int_le[dt.elsize]             # <<<<<<<<<<<<<<
7598
 
 *         elif dt.byteorder == c'>':
7599
 
 *             tid = _int_be[dt.elsize]
7600
 
 */
7601
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7602
 
      __Pyx_GOTREF(__pyx_1);
7603
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7604
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7605
 
      __pyx_v_tid = __pyx_t_1;
7606
 
      break;
7607
 
 
7608
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1218
7609
 
 *         if dt.byteorder == c'<':
7610
 
 *             tid = _int_le[dt.elsize]
7611
 
 *         elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7612
 
 *             tid = _int_be[dt.elsize]
7613
 
 *         else:
7614
 
 */
7615
 
      case '>':
7616
 
 
7617
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1219
7618
 
 *             tid = _int_le[dt.elsize]
7619
 
 *         elif dt.byteorder == c'>':
7620
 
 *             tid = _int_be[dt.elsize]             # <<<<<<<<<<<<<<
7621
 
 *         else:
7622
 
 *             tid = _int_nt[dt.elsize]
7623
 
 */
7624
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7625
 
      __Pyx_GOTREF(__pyx_1);
7626
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7627
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7628
 
      __pyx_v_tid = __pyx_t_1;
7629
 
      break;
7630
 
      default:
7631
 
 
7632
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1221
7633
 
 *             tid = _int_be[dt.elsize]
7634
 
 *         else:
7635
 
 *             tid = _int_nt[dt.elsize]             # <<<<<<<<<<<<<<
7636
 
 *     elif dt.kind == c'u':
7637
 
 *         if dt.byteorder == c'<':
7638
 
 */
7639
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7640
 
      __Pyx_GOTREF(__pyx_1);
7641
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7642
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7643
 
      __pyx_v_tid = __pyx_t_1;
7644
 
      break;
7645
 
    }
7646
 
    break;
7647
 
 
7648
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1222
7649
 
 *         else:
7650
 
 *             tid = _int_nt[dt.elsize]
7651
 
 *     elif dt.kind == c'u':             # <<<<<<<<<<<<<<
7652
 
 *         if dt.byteorder == c'<':
7653
 
 *             tid = _uint_le[dt.elsize]
7654
 
 */
7655
 
    case 'u':
7656
 
 
7657
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1223
7658
 
 *             tid = _int_nt[dt.elsize]
7659
 
 *     elif dt.kind == c'u':
7660
 
 *         if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
7661
 
 *             tid = _uint_le[dt.elsize]
7662
 
 *         elif dt.byteorder == c'>':
7663
 
 */
7664
 
    switch (__pyx_v_dt->byteorder) {
7665
 
      case '<':
7666
 
 
7667
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1224
7668
 
 *     elif dt.kind == c'u':
7669
 
 *         if dt.byteorder == c'<':
7670
 
 *             tid = _uint_le[dt.elsize]             # <<<<<<<<<<<<<<
7671
 
 *         elif dt.byteorder == c'>':
7672
 
 *             tid = _uint_be[dt.elsize]
7673
 
 */
7674
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7675
 
      __Pyx_GOTREF(__pyx_1);
7676
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7677
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7678
 
      __pyx_v_tid = __pyx_t_1;
7679
 
      break;
7680
 
 
7681
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1225
7682
 
 *         if dt.byteorder == c'<':
7683
 
 *             tid = _uint_le[dt.elsize]
7684
 
 *         elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
7685
 
 *             tid = _uint_be[dt.elsize]
7686
 
 *         else:
7687
 
 */
7688
 
      case '>':
7689
 
 
7690
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1226
7691
 
 *             tid = _uint_le[dt.elsize]
7692
 
 *         elif dt.byteorder == c'>':
7693
 
 *             tid = _uint_be[dt.elsize]             # <<<<<<<<<<<<<<
7694
 
 *         else:
7695
 
 *             tid = _uint_nt[dt.elsize]
7696
 
 */
7697
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7698
 
      __Pyx_GOTREF(__pyx_1);
7699
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7700
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7701
 
      __pyx_v_tid = __pyx_t_1;
7702
 
      break;
7703
 
      default:
7704
 
 
7705
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1228
7706
 
 *             tid = _uint_be[dt.elsize]
7707
 
 *         else:
7708
 
 *             tid = _uint_nt[dt.elsize]             # <<<<<<<<<<<<<<
7709
 
 *     else:
7710
 
 *         raise TypeError('Illegal int kind "%s"' % dt.kind)
7711
 
 */
7712
 
      __pyx_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7713
 
      __Pyx_GOTREF(__pyx_1);
7714
 
      __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_1); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7715
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
7716
 
      __pyx_v_tid = __pyx_t_1;
7717
 
      break;
7718
 
    }
7719
 
    break;
7720
 
    default:
7721
 
 
7722
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1230
7723
 
 *             tid = _uint_nt[dt.elsize]
7724
 
 *     else:
7725
 
 *         raise TypeError('Illegal int kind "%s"' % dt.kind)             # <<<<<<<<<<<<<<
 
7805
 *     try:             # <<<<<<<<<<<<<<
 
7806
 *         if dt.kind == c'i':
 
7807
 *             if dt.byteorder == c'<':
 
7808
 */
 
7809
  {
 
7810
    PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
7811
    __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
7812
    __Pyx_XGOTREF(__pyx_save_exc_type);
 
7813
    __Pyx_XGOTREF(__pyx_save_exc_value);
 
7814
    __Pyx_XGOTREF(__pyx_save_exc_tb);
 
7815
    /*try:*/ {
 
7816
 
 
7817
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1193
 
7818
 * 
 
7819
 *     try:
 
7820
 *         if dt.kind == c'i':             # <<<<<<<<<<<<<<
 
7821
 *             if dt.byteorder == c'<':
 
7822
 *                 tid = _int_le[dt.elsize]
 
7823
 */
 
7824
      switch (__pyx_v_dt->kind) {
 
7825
        case 'i':
 
7826
 
 
7827
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1194
 
7828
 *     try:
 
7829
 *         if dt.kind == c'i':
 
7830
 *             if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
 
7831
 *                 tid = _int_le[dt.elsize]
 
7832
 *             elif dt.byteorder == c'>':
 
7833
 */
 
7834
        switch (__pyx_v_dt->byteorder) {
 
7835
          case '<':
 
7836
 
 
7837
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1195
 
7838
 *         if dt.kind == c'i':
 
7839
 *             if dt.byteorder == c'<':
 
7840
 *                 tid = _int_le[dt.elsize]             # <<<<<<<<<<<<<<
 
7841
 *             elif dt.byteorder == c'>':
 
7842
 *                 tid = _int_be[dt.elsize]
 
7843
 */
 
7844
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7845
          __Pyx_GOTREF(__pyx_t_1);
 
7846
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7847
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7848
          __pyx_v_tid = __pyx_t_2;
 
7849
          break;
 
7850
 
 
7851
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1196
 
7852
 *             if dt.byteorder == c'<':
 
7853
 *                 tid = _int_le[dt.elsize]
 
7854
 *             elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
 
7855
 *                 tid = _int_be[dt.elsize]
 
7856
 *             else:
 
7857
 */
 
7858
          case '>':
 
7859
 
 
7860
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1197
 
7861
 *                 tid = _int_le[dt.elsize]
 
7862
 *             elif dt.byteorder == c'>':
 
7863
 *                 tid = _int_be[dt.elsize]             # <<<<<<<<<<<<<<
 
7864
 *             else:
 
7865
 *                 tid = _int_nt[dt.elsize]
 
7866
 */
 
7867
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7868
          __Pyx_GOTREF(__pyx_t_1);
 
7869
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1197; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7870
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7871
          __pyx_v_tid = __pyx_t_2;
 
7872
          break;
 
7873
          default:
 
7874
 
 
7875
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1199
 
7876
 *                 tid = _int_be[dt.elsize]
 
7877
 *             else:
 
7878
 *                 tid = _int_nt[dt.elsize]             # <<<<<<<<<<<<<<
 
7879
 *         elif dt.kind == c'u':
 
7880
 *             if dt.byteorder == c'<':
 
7881
 */
 
7882
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__int_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1199; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7883
          __Pyx_GOTREF(__pyx_t_1);
 
7884
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1199; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7885
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7886
          __pyx_v_tid = __pyx_t_2;
 
7887
          break;
 
7888
        }
 
7889
        break;
 
7890
 
 
7891
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1200
 
7892
 *             else:
 
7893
 *                 tid = _int_nt[dt.elsize]
 
7894
 *         elif dt.kind == c'u':             # <<<<<<<<<<<<<<
 
7895
 *             if dt.byteorder == c'<':
 
7896
 *                 tid = _uint_le[dt.elsize]
 
7897
 */
 
7898
        case 'u':
 
7899
 
 
7900
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1201
 
7901
 *                 tid = _int_nt[dt.elsize]
 
7902
 *         elif dt.kind == c'u':
 
7903
 *             if dt.byteorder == c'<':             # <<<<<<<<<<<<<<
 
7904
 *                 tid = _uint_le[dt.elsize]
 
7905
 *             elif dt.byteorder == c'>':
 
7906
 */
 
7907
        switch (__pyx_v_dt->byteorder) {
 
7908
          case '<':
 
7909
 
 
7910
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1202
 
7911
 *         elif dt.kind == c'u':
 
7912
 *             if dt.byteorder == c'<':
 
7913
 *                 tid = _uint_le[dt.elsize]             # <<<<<<<<<<<<<<
 
7914
 *             elif dt.byteorder == c'>':
 
7915
 *                 tid = _uint_be[dt.elsize]
 
7916
 */
 
7917
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_le), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7918
          __Pyx_GOTREF(__pyx_t_1);
 
7919
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7920
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7921
          __pyx_v_tid = __pyx_t_2;
 
7922
          break;
 
7923
 
 
7924
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1203
 
7925
 *             if dt.byteorder == c'<':
 
7926
 *                 tid = _uint_le[dt.elsize]
 
7927
 *             elif dt.byteorder == c'>':             # <<<<<<<<<<<<<<
 
7928
 *                 tid = _uint_be[dt.elsize]
 
7929
 *             else:
 
7930
 */
 
7931
          case '>':
 
7932
 
 
7933
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1204
 
7934
 *                 tid = _uint_le[dt.elsize]
 
7935
 *             elif dt.byteorder == c'>':
 
7936
 *                 tid = _uint_be[dt.elsize]             # <<<<<<<<<<<<<<
 
7937
 *             else:
 
7938
 *                 tid = _uint_nt[dt.elsize]
 
7939
 */
 
7940
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_be), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7941
          __Pyx_GOTREF(__pyx_t_1);
 
7942
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7943
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7944
          __pyx_v_tid = __pyx_t_2;
 
7945
          break;
 
7946
          default:
 
7947
 
 
7948
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1206
 
7949
 *                 tid = _uint_be[dt.elsize]
 
7950
 *             else:
 
7951
 *                 tid = _uint_nt[dt.elsize]             # <<<<<<<<<<<<<<
 
7952
 *         else:
 
7953
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
 
7954
 */
 
7955
          __pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt), __pyx_v_dt->elsize, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7956
          __Pyx_GOTREF(__pyx_t_1);
 
7957
          __pyx_t_2 = __Pyx_PyInt_from_py_hid_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1206; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7958
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7959
          __pyx_v_tid = __pyx_t_2;
 
7960
          break;
 
7961
        }
 
7962
        break;
 
7963
        default:
 
7964
 
 
7965
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1208
 
7966
 *                 tid = _uint_nt[dt.elsize]
 
7967
 *         else:
 
7968
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)             # <<<<<<<<<<<<<<
 
7969
 *     except KeyError:
 
7970
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)
 
7971
 */
 
7972
        __pyx_t_1 = PyInt_FromLong(__pyx_v_dt->kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7973
        __Pyx_GOTREF(__pyx_t_1);
 
7974
        __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_11), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7975
        __Pyx_GOTREF(__pyx_t_3);
 
7976
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7977
        __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7978
        __Pyx_GOTREF(__pyx_t_1);
 
7979
        PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
 
7980
        __Pyx_GIVEREF(__pyx_t_3);
 
7981
        __pyx_t_3 = 0;
 
7982
        __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7983
        __Pyx_GOTREF(__pyx_t_3);
 
7984
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7985
        __Pyx_Raise(__pyx_t_3, 0, 0);
 
7986
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7987
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1208; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
7988
        break;
 
7989
      }
 
7990
    }
 
7991
    __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
7992
    __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
7993
    __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
7994
    goto __pyx_L10_try_end;
 
7995
    __pyx_L3_error:;
 
7996
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
7997
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
7998
 
 
7999
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1209
 
8000
 *         else:
 
8001
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
 
8002
 *     except KeyError:             # <<<<<<<<<<<<<<
 
8003
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)
 
8004
 * 
 
8005
 */
 
8006
    __pyx_t_4 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
 
8007
    if (__pyx_t_4) {
 
8008
      __Pyx_AddTraceback("h5py.h5t._c_int");
 
8009
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1209; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8010
      __Pyx_GOTREF(__pyx_t_3);
 
8011
      __Pyx_GOTREF(__pyx_t_1);
 
8012
      __Pyx_GOTREF(__pyx_t_5);
 
8013
 
 
8014
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1210
 
8015
 *             raise TypeError('Illegal int kind "%s"' % dt.kind)
 
8016
 *     except KeyError:
 
8017
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)             # <<<<<<<<<<<<<<
7726
8018
 * 
7727
8019
 *     return TypeIntegerID(H5Tcopy(tid))
7728
8020
 */
7729
 
    __pyx_t_2 = PyInt_FromLong(__pyx_v_dt->kind); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7730
 
    __Pyx_GOTREF(__pyx_t_2);
7731
 
    __pyx_t_3 = PyNumber_Remainder(__pyx_kp_185, __pyx_t_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7732
 
    __Pyx_GOTREF(__pyx_t_3);
7733
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7734
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7735
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
7736
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3);
7737
 
    __Pyx_GIVEREF(__pyx_t_3);
7738
 
    __pyx_t_3 = 0;
7739
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7740
 
    __Pyx_GOTREF(__pyx_t_3);
7741
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
7742
 
    __Pyx_Raise(__pyx_t_3, 0, 0);
7743
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7744
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7745
 
    break;
 
8021
      __pyx_t_6 = PyInt_FromLong(__pyx_v_dt->elsize); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8022
      __Pyx_GOTREF(__pyx_t_6);
 
8023
      __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_12), __pyx_t_6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8024
      __Pyx_GOTREF(__pyx_t_7);
 
8025
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
8026
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8027
      __Pyx_GOTREF(__pyx_t_6);
 
8028
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_7);
 
8029
      __Pyx_GIVEREF(__pyx_t_7);
 
8030
      __pyx_t_7 = 0;
 
8031
      __pyx_t_7 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8032
      __Pyx_GOTREF(__pyx_t_7);
 
8033
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
8034
      __Pyx_Raise(__pyx_t_7, 0, 0);
 
8035
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
8036
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8037
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8038
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8039
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
8040
      goto __pyx_L4_exception_handled;
 
8041
    }
 
8042
    __pyx_L5_except_error:;
 
8043
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8044
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8045
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8046
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8047
    goto __pyx_L1_error;
 
8048
    __pyx_L4_exception_handled:;
 
8049
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8050
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8051
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8052
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8053
    __pyx_L10_try_end:;
7746
8054
  }
7747
8055
 
7748
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1232
7749
 
 *         raise TypeError('Illegal int kind "%s"' % dt.kind)
 
8056
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1212
 
8057
 *         raise TypeError("Unsupported integer size (%s)" % dt.elsize)
7750
8058
 * 
7751
8059
 *     return TypeIntegerID(H5Tcopy(tid))             # <<<<<<<<<<<<<<
7752
8060
 * 
7753
8061
 * cdef TypeEnumID _c_enum(dtype dt, dict vals):
7754
8062
 */
7755
8063
  __Pyx_XDECREF(((PyObject *)__pyx_r));
7756
 
  __pyx_t_1 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7757
 
  __pyx_t_3 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7758
 
  __Pyx_GOTREF(__pyx_t_3);
7759
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7760
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
7761
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3);
7762
 
  __Pyx_GIVEREF(__pyx_t_3);
7763
 
  __pyx_t_3 = 0;
7764
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeIntegerID)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7765
 
  __Pyx_GOTREF(__pyx_t_3);
7766
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
7767
 
  if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeIntegerID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7768
 
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_t_3);
7769
 
  __pyx_t_3 = 0;
 
8064
  __pyx_t_2 = H5Tcopy(__pyx_v_tid); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8065
  __pyx_t_5 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8066
  __Pyx_GOTREF(__pyx_t_5);
 
8067
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8068
  __Pyx_GOTREF(__pyx_t_1);
 
8069
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
 
8070
  __Pyx_GIVEREF(__pyx_t_5);
 
8071
  __pyx_t_5 = 0;
 
8072
  __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeIntegerID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8073
  __Pyx_GOTREF(__pyx_t_5);
 
8074
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8075
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_t_5);
 
8076
  __pyx_t_5 = 0;
7770
8077
  goto __pyx_L0;
7771
8078
 
7772
8079
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)Py_None); __Pyx_INCREF(Py_None);
7773
8080
  goto __pyx_L0;
7774
8081
  __pyx_L1_error:;
7775
 
  __Pyx_XDECREF(__pyx_1);
7776
 
  __Pyx_XDECREF(__pyx_t_2);
 
8082
  __Pyx_XDECREF(__pyx_t_1);
7777
8083
  __Pyx_XDECREF(__pyx_t_3);
 
8084
  __Pyx_XDECREF(__pyx_t_5);
 
8085
  __Pyx_XDECREF(__pyx_t_6);
 
8086
  __Pyx_XDECREF(__pyx_t_7);
7778
8087
  __Pyx_AddTraceback("h5py.h5t._c_int");
7779
8088
  __pyx_r = 0;
7780
8089
  __pyx_L0:;
 
8090
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
7781
8091
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
7782
 
  __Pyx_FinishRefcountContext();
 
8092
  __Pyx_RefNannyFinishContext();
7783
8093
  return __pyx_r;
7784
8094
}
7785
8095
 
7786
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1234
 
8096
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1214
7787
8097
 *     return TypeIntegerID(H5Tcopy(tid))
7788
8098
 * 
7789
8099
 * cdef TypeEnumID _c_enum(dtype dt, dict vals):             # <<<<<<<<<<<<<<
7796
8106
  struct __pyx_obj_4h5py_3h5t_TypeEnumID *__pyx_v_out;
7797
8107
  PyObject *__pyx_v_name;
7798
8108
  struct __pyx_obj_4h5py_3h5t_TypeEnumID *__pyx_r = NULL;
7799
 
  PyObject *__pyx_1 = 0;
7800
8109
  PyObject *__pyx_t_1 = NULL;
7801
8110
  hid_t __pyx_t_2;
7802
8111
  PyObject *__pyx_t_3 = NULL;
7803
8112
  Py_ssize_t __pyx_t_4;
7804
8113
  PyObject *__pyx_t_5 = NULL;
7805
8114
  PyObject *__pyx_t_6 = NULL;
7806
 
  __Pyx_SetupRefcountContext("_c_enum");
 
8115
  __Pyx_RefNannySetupContext("_c_enum");
 
8116
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
 
8117
  __Pyx_INCREF(__pyx_v_vals);
7807
8118
  __pyx_v_base = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)Py_None); __Pyx_INCREF(Py_None);
7808
8119
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)Py_None); __Pyx_INCREF(Py_None);
7809
8120
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
7810
8121
 
7811
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1239
 
8122
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1219
7812
8123
 *     cdef TypeEnumID out
7813
8124
 * 
7814
8125
 *     base = _c_int(dt)             # <<<<<<<<<<<<<<
7815
8126
 * 
7816
8127
 *     out = TypeEnumID(H5Tenum_create(base.id))
7817
8128
 */
7818
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8129
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7819
8130
  __Pyx_GOTREF(__pyx_t_1);
7820
8131
  __Pyx_DECREF(((PyObject *)__pyx_v_base));
7821
8132
  __pyx_v_base = ((struct __pyx_obj_4h5py_3h5t_TypeIntegerID *)__pyx_t_1);
7822
8133
  __pyx_t_1 = 0;
7823
8134
 
7824
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1241
 
8135
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1221
7825
8136
 *     base = _c_int(dt)
7826
8137
 * 
7827
8138
 *     out = TypeEnumID(H5Tenum_create(base.id))             # <<<<<<<<<<<<<<
7828
8139
 *     for name in sorted(vals):
7829
8140
 *         out.enum_insert(name, vals[name])
7830
8141
 */
7831
 
  __pyx_t_2 = H5Tenum_create(__pyx_v_base->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7832
 
  __pyx_t_1 = PyInt_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8142
  __pyx_t_2 = H5Tenum_create(__pyx_v_base->__pyx_base.__pyx_base.__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8143
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7833
8144
  __Pyx_GOTREF(__pyx_t_1);
7834
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7835
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8145
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8146
  __Pyx_GOTREF(__pyx_t_3);
7836
8147
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
7837
8148
  __Pyx_GIVEREF(__pyx_t_1);
7838
8149
  __pyx_t_1 = 0;
7839
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8150
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7840
8151
  __Pyx_GOTREF(__pyx_t_1);
7841
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
7842
 
  if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeEnumID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8152
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7843
8153
  __Pyx_DECREF(((PyObject *)__pyx_v_out));
7844
8154
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_t_1);
7845
8155
  __pyx_t_1 = 0;
7846
8156
 
7847
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1242
 
8157
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1222
7848
8158
 * 
7849
8159
 *     out = TypeEnumID(H5Tenum_create(base.id))
7850
8160
 *     for name in sorted(vals):             # <<<<<<<<<<<<<<
7851
8161
 *         out.enum_insert(name, vals[name])
7852
8162
 *     return out
7853
8163
 */
7854
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7855
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
8164
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8165
  __Pyx_GOTREF(__pyx_t_1);
7856
8166
  __Pyx_INCREF(((PyObject *)__pyx_v_vals));
7857
8167
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_vals));
7858
8168
  __Pyx_GIVEREF(((PyObject *)__pyx_v_vals));
7859
 
  __pyx_t_3 = PyObject_Call(__pyx_builtin_sorted, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8169
  __pyx_t_3 = PyObject_Call(__pyx_builtin_sorted, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7860
8170
  __Pyx_GOTREF(__pyx_t_3);
7861
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
8171
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7862
8172
  if (PyList_CheckExact(__pyx_t_3) || PyTuple_CheckExact(__pyx_t_3)) {
7863
8173
    __pyx_t_4 = 0; __pyx_t_1 = __pyx_t_3; __Pyx_INCREF(__pyx_t_1);
7864
8174
  } else {
7865
 
    __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8175
    __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7866
8176
    __Pyx_GOTREF(__pyx_t_1);
7867
8177
  }
7868
8178
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7876
8186
    } else {
7877
8187
      __pyx_t_3 = PyIter_Next(__pyx_t_1);
7878
8188
      if (!__pyx_t_3) {
7879
 
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8189
        if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7880
8190
        break;
7881
8191
      }
7882
8192
      __Pyx_GOTREF(__pyx_t_3);
7885
8195
    __pyx_v_name = __pyx_t_3;
7886
8196
    __pyx_t_3 = 0;
7887
8197
 
7888
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1243
 
8198
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1223
7889
8199
 *     out = TypeEnumID(H5Tenum_create(base.id))
7890
8200
 *     for name in sorted(vals):
7891
8201
 *         out.enum_insert(name, vals[name])             # <<<<<<<<<<<<<<
7892
8202
 *     return out
7893
8203
 * 
7894
8204
 */
7895
 
    __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_kp_enum_insert); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8205
    __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7896
8206
    __Pyx_GOTREF(__pyx_t_3);
7897
 
    __pyx_1 = PyObject_GetItem(((PyObject *)__pyx_v_vals), __pyx_v_name); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7898
 
    __Pyx_GOTREF(__pyx_1);
7899
 
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7900
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
8207
    __pyx_t_5 = PyObject_GetItem(((PyObject *)__pyx_v_vals), __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8208
    __Pyx_GOTREF(__pyx_t_5);
 
8209
    __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8210
    __Pyx_GOTREF(__pyx_t_6);
7901
8211
    __Pyx_INCREF(__pyx_v_name);
7902
 
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_name);
 
8212
    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_name);
7903
8213
    __Pyx_GIVEREF(__pyx_v_name);
7904
 
    PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_1);
7905
 
    __Pyx_GIVEREF(__pyx_1);
7906
 
    __pyx_1 = 0;
7907
 
    __pyx_t_6 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7908
 
    __Pyx_GOTREF(__pyx_t_6);
 
8214
    PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_5);
 
8215
    __Pyx_GIVEREF(__pyx_t_5);
 
8216
    __pyx_t_5 = 0;
 
8217
    __pyx_t_5 = PyObject_Call(__pyx_t_3, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8218
    __Pyx_GOTREF(__pyx_t_5);
7909
8219
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7910
 
    __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
7911
8220
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
8221
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7912
8222
  }
7913
8223
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7914
8224
 
7915
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1244
 
8225
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1224
7916
8226
 *     for name in sorted(vals):
7917
8227
 *         out.enum_insert(name, vals[name])
7918
8228
 *     return out             # <<<<<<<<<<<<<<
7927
8237
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)Py_None); __Pyx_INCREF(Py_None);
7928
8238
  goto __pyx_L0;
7929
8239
  __pyx_L1_error:;
7930
 
  __Pyx_XDECREF(__pyx_1);
7931
8240
  __Pyx_XDECREF(__pyx_t_1);
7932
8241
  __Pyx_XDECREF(__pyx_t_3);
7933
8242
  __Pyx_XDECREF(__pyx_t_5);
7938
8247
  __Pyx_DECREF((PyObject *)__pyx_v_base);
7939
8248
  __Pyx_DECREF((PyObject *)__pyx_v_out);
7940
8249
  __Pyx_DECREF(__pyx_v_name);
 
8250
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
 
8251
  __Pyx_DECREF(__pyx_v_vals);
7941
8252
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
7942
 
  __Pyx_FinishRefcountContext();
 
8253
  __Pyx_RefNannyFinishContext();
7943
8254
  return __pyx_r;
7944
8255
}
7945
8256
 
7946
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1246
 
8257
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1226
7947
8258
 *     return out
7948
8259
 * 
7949
8260
 * cdef TypeEnumID _c_bool(dtype dt):             # <<<<<<<<<<<<<<
7958
8269
  PyObject *__pyx_t_2 = NULL;
7959
8270
  PyObject *__pyx_t_3 = NULL;
7960
8271
  PyObject *__pyx_t_4 = NULL;
7961
 
  __Pyx_SetupRefcountContext("_c_bool");
 
8272
  __Pyx_RefNannySetupContext("_c_bool");
7962
8273
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)Py_None); __Pyx_INCREF(Py_None);
7963
8274
 
7964
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1251
 
8275
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1231
7965
8276
 * 
7966
8277
 *     cdef TypeEnumID out
7967
8278
 *     out = TypeEnumID(H5Tenum_create(H5T_NATIVE_INT8))             # <<<<<<<<<<<<<<
7968
8279
 * 
7969
8280
 *     out.enum_insert(cfg._f_name, 0)
7970
8281
 */
7971
 
  __pyx_t_1 = H5Tenum_create(H5T_NATIVE_INT8); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7972
 
  __pyx_t_2 = PyInt_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8282
  __pyx_t_1 = H5Tenum_create(H5T_NATIVE_INT8); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8283
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7973
8284
  __Pyx_GOTREF(__pyx_t_2);
7974
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7975
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8285
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8286
  __Pyx_GOTREF(__pyx_t_3);
7976
8287
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
7977
8288
  __Pyx_GIVEREF(__pyx_t_2);
7978
8289
  __pyx_t_2 = 0;
7979
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8290
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeEnumID)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7980
8291
  __Pyx_GOTREF(__pyx_t_2);
7981
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
7982
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeEnumID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8292
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7983
8293
  __Pyx_DECREF(((PyObject *)__pyx_v_out));
7984
8294
  __pyx_v_out = ((struct __pyx_obj_4h5py_3h5t_TypeEnumID *)__pyx_t_2);
7985
8295
  __pyx_t_2 = 0;
7986
8296
 
7987
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1253
 
8297
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1233
7988
8298
 *     out = TypeEnumID(H5Tenum_create(H5T_NATIVE_INT8))
7989
8299
 * 
7990
8300
 *     out.enum_insert(cfg._f_name, 0)             # <<<<<<<<<<<<<<
7991
8301
 *     out.enum_insert(cfg._t_name, 1)
7992
8302
 * 
7993
8303
 */
7994
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_kp_enum_insert); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8304
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7995
8305
  __Pyx_GOTREF(__pyx_t_2);
7996
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
7997
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8306
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8307
  __Pyx_GOTREF(__pyx_t_3);
7998
8308
  __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_f_name);
7999
8309
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_4h5py_3h5t_cfg->_f_name);
8000
8310
  __Pyx_GIVEREF(__pyx_v_4h5py_3h5t_cfg->_f_name);
8001
8311
  __Pyx_INCREF(__pyx_int_0);
8002
8312
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_0);
8003
8313
  __Pyx_GIVEREF(__pyx_int_0);
8004
 
  __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8314
  __pyx_t_4 = PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8005
8315
  __Pyx_GOTREF(__pyx_t_4);
8006
8316
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8007
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8317
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8008
8318
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8009
8319
 
8010
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1254
 
8320
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1234
8011
8321
 * 
8012
8322
 *     out.enum_insert(cfg._f_name, 0)
8013
8323
 *     out.enum_insert(cfg._t_name, 1)             # <<<<<<<<<<<<<<
8014
8324
 * 
8015
8325
 *     return out
8016
8326
 */
8017
 
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_kp_enum_insert); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8327
  __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_out), __pyx_n_s__enum_insert); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8018
8328
  __Pyx_GOTREF(__pyx_t_4);
8019
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8020
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8329
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8330
  __Pyx_GOTREF(__pyx_t_3);
8021
8331
  __Pyx_INCREF(__pyx_v_4h5py_3h5t_cfg->_t_name);
8022
8332
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_4h5py_3h5t_cfg->_t_name);
8023
8333
  __Pyx_GIVEREF(__pyx_v_4h5py_3h5t_cfg->_t_name);
8024
8334
  __Pyx_INCREF(__pyx_int_1);
8025
8335
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_1);
8026
8336
  __Pyx_GIVEREF(__pyx_int_1);
8027
 
  __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8337
  __pyx_t_2 = PyObject_Call(__pyx_t_4, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8028
8338
  __Pyx_GOTREF(__pyx_t_2);
8029
8339
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8030
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8340
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8031
8341
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8032
8342
 
8033
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1256
 
8343
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1236
8034
8344
 *     out.enum_insert(cfg._t_name, 1)
8035
8345
 * 
8036
8346
 *     return out             # <<<<<<<<<<<<<<
8053
8363
  __pyx_L0:;
8054
8364
  __Pyx_DECREF((PyObject *)__pyx_v_out);
8055
8365
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8056
 
  __Pyx_FinishRefcountContext();
 
8366
  __Pyx_RefNannyFinishContext();
8057
8367
  return __pyx_r;
8058
8368
}
8059
8369
 
8060
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1258
 
8370
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1238
8061
8371
 *     return out
8062
8372
 * 
8063
8373
 * cdef TypeArrayID _c_array(dtype dt, int logical):             # <<<<<<<<<<<<<<
8070
8380
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_type_base;
8071
8381
  PyObject *__pyx_v_shape;
8072
8382
  struct __pyx_obj_4h5py_3h5t_TypeArrayID *__pyx_r = NULL;
8073
 
  PyObject *__pyx_1 = 0;
8074
 
  PyObject *__pyx_2 = 0;
8075
 
  PyObject *__pyx_3 = 0;
8076
8383
  PyObject *__pyx_t_1 = NULL;
8077
8384
  PyObject *__pyx_t_2 = NULL;
8078
 
  __Pyx_SetupRefcountContext("_c_array");
 
8385
  PyObject *__pyx_t_3 = NULL;
 
8386
  PyObject *__pyx_t_4 = NULL;
 
8387
  int __pyx_t_5;
 
8388
  PyObject *__pyx_t_6 = NULL;
 
8389
  PyObject *__pyx_t_7 = NULL;
 
8390
  PyObject *__pyx_t_8 = NULL;
 
8391
  PyObject *__pyx_t_9 = NULL;
 
8392
  __Pyx_RefNannySetupContext("_c_array");
 
8393
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
8079
8394
  __pyx_v_base = ((PyArray_Descr *)Py_None); __Pyx_INCREF(Py_None);
8080
8395
  __pyx_v_type_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
8081
 
  __pyx_v_shape = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
 
8396
  __pyx_v_shape = Py_None; __Pyx_INCREF(Py_None);
8082
8397
 
8083
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1264
8084
 
 *     cdef tuple shape
 
8398
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1244
 
8399
 *     cdef object shape
8085
8400
 * 
8086
8401
 *     base, shape = dt.subdtype             # <<<<<<<<<<<<<<
8087
 
 *     type_base = py_create(base, logical=logical)
8088
 
 *     return array_create(type_base, shape)
 
8402
 *     try:
 
8403
 *         shape = tuple(shape)
8089
8404
 */
8090
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_subdtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8405
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8091
8406
  __Pyx_GOTREF(__pyx_t_1);
8092
8407
  if (PyTuple_CheckExact(__pyx_t_1) && likely(PyTuple_GET_SIZE(__pyx_t_1) == 2)) {
8093
8408
    PyObject* tuple = __pyx_t_1;
8094
 
    __pyx_2 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_2);
8095
 
    if (!(__Pyx_TypeTest(__pyx_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8096
 
    __pyx_3 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_3);
8097
 
    if (!(likely(PyTuple_CheckExact(__pyx_3)) || (__pyx_3) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected tuple, got %s", Py_TYPE(__pyx_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8409
    __pyx_t_2 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_2);
 
8410
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8411
    __pyx_t_3 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_3);
8098
8412
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8099
8413
    __Pyx_DECREF(((PyObject *)__pyx_v_base));
8100
 
    __pyx_v_base = ((PyArray_Descr *)__pyx_2);
8101
 
    __pyx_2 = 0;
8102
 
    __Pyx_DECREF(((PyObject *)__pyx_v_shape));
8103
 
    __pyx_v_shape = ((PyObject *)__pyx_3);
8104
 
    __pyx_3 = 0;
 
8414
    __pyx_v_base = ((PyArray_Descr *)__pyx_t_2);
 
8415
    __pyx_t_2 = 0;
 
8416
    __Pyx_DECREF(__pyx_v_shape);
 
8417
    __pyx_v_shape = __pyx_t_3;
 
8418
    __pyx_t_3 = 0;
8105
8419
  } else {
8106
 
    __pyx_1 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8107
 
    __Pyx_GOTREF(__pyx_1);
 
8420
    __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8421
    __Pyx_GOTREF(__pyx_t_4);
8108
8422
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8109
 
    __pyx_2 = __Pyx_UnpackItem(__pyx_1, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8110
 
    __Pyx_GOTREF(__pyx_2);
8111
 
    if (!(__Pyx_TypeTest(__pyx_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8112
 
    __pyx_3 = __Pyx_UnpackItem(__pyx_1, 1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8113
 
    __Pyx_GOTREF(__pyx_3);
8114
 
    if (!(likely(PyTuple_CheckExact(__pyx_3)) || (__pyx_3) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected tuple, got %s", Py_TYPE(__pyx_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8115
 
    if (__Pyx_EndUnpack(__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8116
 
    __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
8423
    __pyx_t_2 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8424
    __Pyx_GOTREF(__pyx_t_2);
 
8425
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8426
    __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8427
    __Pyx_GOTREF(__pyx_t_3);
 
8428
    if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8429
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8117
8430
    __Pyx_DECREF(((PyObject *)__pyx_v_base));
8118
 
    __pyx_v_base = ((PyArray_Descr *)__pyx_2);
8119
 
    __pyx_2 = 0;
8120
 
    __Pyx_DECREF(((PyObject *)__pyx_v_shape));
8121
 
    __pyx_v_shape = ((PyObject *)__pyx_3);
8122
 
    __pyx_3 = 0;
 
8431
    __pyx_v_base = ((PyArray_Descr *)__pyx_t_2);
 
8432
    __pyx_t_2 = 0;
 
8433
    __Pyx_DECREF(__pyx_v_shape);
 
8434
    __pyx_v_shape = __pyx_t_3;
 
8435
    __pyx_t_3 = 0;
8123
8436
  }
8124
8437
 
8125
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1265
 
8438
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1245
8126
8439
 * 
8127
8440
 *     base, shape = dt.subdtype
 
8441
 *     try:             # <<<<<<<<<<<<<<
 
8442
 *         shape = tuple(shape)
 
8443
 *     except TypeError:
 
8444
 */
 
8445
  {
 
8446
    PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
8447
    __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
8448
    __Pyx_XGOTREF(__pyx_save_exc_type);
 
8449
    __Pyx_XGOTREF(__pyx_save_exc_value);
 
8450
    __Pyx_XGOTREF(__pyx_save_exc_tb);
 
8451
    /*try:*/ {
 
8452
 
 
8453
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1246
 
8454
 *     base, shape = dt.subdtype
 
8455
 *     try:
 
8456
 *         shape = tuple(shape)             # <<<<<<<<<<<<<<
 
8457
 *     except TypeError:
 
8458
 *         try:
 
8459
 */
 
8460
      __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8461
      __Pyx_GOTREF(__pyx_t_1);
 
8462
      __Pyx_INCREF(__pyx_v_shape);
 
8463
      PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_shape);
 
8464
      __Pyx_GIVEREF(__pyx_v_shape);
 
8465
      __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)&PyTuple_Type)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1246; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
8466
      __Pyx_GOTREF(__pyx_t_3);
 
8467
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8468
      __Pyx_DECREF(__pyx_v_shape);
 
8469
      __pyx_v_shape = __pyx_t_3;
 
8470
      __pyx_t_3 = 0;
 
8471
    }
 
8472
    __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
8473
    __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
8474
    __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
8475
    goto __pyx_L10_try_end;
 
8476
    __pyx_L3_error:;
 
8477
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
8478
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8479
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8480
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8481
 
 
8482
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1247
 
8483
 *     try:
 
8484
 *         shape = tuple(shape)
 
8485
 *     except TypeError:             # <<<<<<<<<<<<<<
 
8486
 *         try:
 
8487
 *             shape = (int(shape),)
 
8488
 */
 
8489
    __pyx_t_5 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
 
8490
    if (__pyx_t_5) {
 
8491
      __Pyx_AddTraceback("h5py.h5t._c_array");
 
8492
      if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1247; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
 
8493
      __Pyx_GOTREF(__pyx_t_3);
 
8494
      __Pyx_GOTREF(__pyx_t_1);
 
8495
      __Pyx_GOTREF(__pyx_t_2);
 
8496
 
 
8497
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1248
 
8498
 *         shape = tuple(shape)
 
8499
 *     except TypeError:
 
8500
 *         try:             # <<<<<<<<<<<<<<
 
8501
 *             shape = (int(shape),)
 
8502
 *         except TypeError:
 
8503
 */
 
8504
      {
 
8505
        PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
8506
        __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
8507
        __Pyx_XGOTREF(__pyx_save_exc_type);
 
8508
        __Pyx_XGOTREF(__pyx_save_exc_value);
 
8509
        __Pyx_XGOTREF(__pyx_save_exc_tb);
 
8510
        /*try:*/ {
 
8511
 
 
8512
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1249
 
8513
 *     except TypeError:
 
8514
 *         try:
 
8515
 *             shape = (int(shape),)             # <<<<<<<<<<<<<<
 
8516
 *         except TypeError:
 
8517
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
 
8518
 */
 
8519
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
8520
          __Pyx_GOTREF(__pyx_t_4);
 
8521
          __Pyx_INCREF(__pyx_v_shape);
 
8522
          PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_shape);
 
8523
          __Pyx_GIVEREF(__pyx_v_shape);
 
8524
          __pyx_t_6 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
8525
          __Pyx_GOTREF(__pyx_t_6);
 
8526
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
8527
          __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
 
8528
          __Pyx_GOTREF(__pyx_t_4);
 
8529
          PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_6);
 
8530
          __Pyx_GIVEREF(__pyx_t_6);
 
8531
          __pyx_t_6 = 0;
 
8532
          __Pyx_DECREF(__pyx_v_shape);
 
8533
          __pyx_v_shape = __pyx_t_4;
 
8534
          __pyx_t_4 = 0;
 
8535
        }
 
8536
        __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
8537
        __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
8538
        __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
8539
        goto __pyx_L20_try_end;
 
8540
        __pyx_L13_error:;
 
8541
        __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
 
8542
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
8543
 
 
8544
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1250
 
8545
 *         try:
 
8546
 *             shape = (int(shape),)
 
8547
 *         except TypeError:             # <<<<<<<<<<<<<<
 
8548
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
 
8549
 *     type_base = py_create(base, logical=logical)
 
8550
 */
 
8551
        __pyx_t_5 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
 
8552
        if (__pyx_t_5) {
 
8553
          __Pyx_AddTraceback("h5py.h5t._c_array");
 
8554
          if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1250; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
8555
          __Pyx_GOTREF(__pyx_t_4);
 
8556
          __Pyx_GOTREF(__pyx_t_6);
 
8557
          __Pyx_GOTREF(__pyx_t_7);
 
8558
 
 
8559
          /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1251
 
8560
 *             shape = (int(shape),)
 
8561
 *         except TypeError:
 
8562
 *             raise TypeError("Array shape for dtype must be a sequence or integer")             # <<<<<<<<<<<<<<
 
8563
 *     type_base = py_create(base, logical=logical)
 
8564
 *     return array_create(type_base, shape)
 
8565
 */
 
8566
          __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
8567
          __Pyx_GOTREF(__pyx_t_8);
 
8568
          __Pyx_INCREF(((PyObject *)__pyx_kp_s_13));
 
8569
          PyTuple_SET_ITEM(__pyx_t_8, 0, ((PyObject *)__pyx_kp_s_13));
 
8570
          __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_13));
 
8571
          __pyx_t_9 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_8, NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
8572
          __Pyx_GOTREF(__pyx_t_9);
 
8573
          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
8574
          __Pyx_Raise(__pyx_t_9, 0, 0);
 
8575
          __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
 
8576
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1251; __pyx_clineno = __LINE__; goto __pyx_L15_except_error;}
 
8577
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
8578
          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
8579
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
8580
          goto __pyx_L14_exception_handled;
 
8581
        }
 
8582
        __pyx_L15_except_error:;
 
8583
        __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8584
        __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8585
        __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8586
        __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8587
        goto __pyx_L5_except_error;
 
8588
        __pyx_L14_exception_handled:;
 
8589
        __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8590
        __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8591
        __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8592
        __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8593
        __pyx_L20_try_end:;
 
8594
      }
 
8595
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8596
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8597
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
8598
      goto __pyx_L4_exception_handled;
 
8599
    }
 
8600
    __pyx_L5_except_error:;
 
8601
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8602
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8603
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8604
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8605
    goto __pyx_L1_error;
 
8606
    __pyx_L4_exception_handled:;
 
8607
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
8608
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
8609
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
8610
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
8611
    __pyx_L10_try_end:;
 
8612
  }
 
8613
 
 
8614
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1252
 
8615
 *         except TypeError:
 
8616
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
8128
8617
 *     type_base = py_create(base, logical=logical)             # <<<<<<<<<<<<<<
8129
8618
 *     return array_create(type_base, shape)
8130
8619
 * 
8131
8620
 */
8132
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_py_create); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8133
 
  __Pyx_GOTREF(__pyx_1);
8134
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8135
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
8621
  __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8622
  __Pyx_GOTREF(__pyx_t_2);
 
8623
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8624
  __Pyx_GOTREF(__pyx_t_1);
8136
8625
  __Pyx_INCREF(((PyObject *)__pyx_v_base));
8137
8626
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_base));
8138
8627
  __Pyx_GIVEREF(((PyObject *)__pyx_v_base));
8139
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8140
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
8141
 
  __pyx_t_2 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8142
 
  __Pyx_GOTREF(__pyx_t_2);
8143
 
  if (PyDict_SetItem(__pyx_2, __pyx_kp_logical, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8628
  __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8629
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
8630
  __pyx_t_7 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8631
  __Pyx_GOTREF(__pyx_t_7);
 
8632
  if (PyDict_SetItem(__pyx_t_3, ((PyObject *)__pyx_n_s__logical), __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8633
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
8634
  __pyx_t_7 = PyEval_CallObjectWithKeywords(__pyx_t_2, __pyx_t_1, ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8635
  __Pyx_GOTREF(__pyx_t_7);
8144
8636
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8145
 
  __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_1, ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_2)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8146
 
  __Pyx_GOTREF(__pyx_t_2);
8147
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
8148
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
8149
 
  __Pyx_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
8150
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8637
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
8638
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
 
8639
  if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8151
8640
  __Pyx_DECREF(((PyObject *)__pyx_v_type_base));
8152
 
  __pyx_v_type_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
8153
 
  __pyx_t_2 = 0;
 
8641
  __pyx_v_type_base = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_7);
 
8642
  __pyx_t_7 = 0;
8154
8643
 
8155
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1266
8156
 
 *     base, shape = dt.subdtype
 
8644
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1253
 
8645
 *             raise TypeError("Array shape for dtype must be a sequence or integer")
8157
8646
 *     type_base = py_create(base, logical=logical)
8158
8647
 *     return array_create(type_base, shape)             # <<<<<<<<<<<<<<
8159
8648
 * 
8160
8649
 * cdef TypeOpaqueID _c_opaque(dtype dt):
8161
8650
 */
8162
8651
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8163
 
  __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_array_create); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8164
 
  __Pyx_GOTREF(__pyx_3);
8165
 
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8166
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
8652
  __pyx_t_7 = __Pyx_GetName(__pyx_m, __pyx_n_s__array_create); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8653
  __Pyx_GOTREF(__pyx_t_7);
 
8654
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8655
  __Pyx_GOTREF(__pyx_t_3);
8167
8656
  __Pyx_INCREF(((PyObject *)__pyx_v_type_base));
8168
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_type_base));
 
8657
  PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_type_base));
8169
8658
  __Pyx_GIVEREF(((PyObject *)__pyx_v_type_base));
8170
 
  __Pyx_INCREF(((PyObject *)__pyx_v_shape));
8171
 
  PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_shape));
8172
 
  __Pyx_GIVEREF(((PyObject *)__pyx_v_shape));
8173
 
  __pyx_t_1 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8659
  __Pyx_INCREF(__pyx_v_shape);
 
8660
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_shape);
 
8661
  __Pyx_GIVEREF(__pyx_v_shape);
 
8662
  __pyx_t_1 = PyObject_Call(__pyx_t_7, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8174
8663
  __Pyx_GOTREF(__pyx_t_1);
8175
 
  __Pyx_DECREF(__pyx_3); __pyx_3 = 0;
8176
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
8177
 
  if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeArrayID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8664
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
8665
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
8666
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeArrayID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8178
8667
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)__pyx_t_1);
8179
8668
  __pyx_t_1 = 0;
8180
8669
  goto __pyx_L0;
8182
8671
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeArrayID *)Py_None); __Pyx_INCREF(Py_None);
8183
8672
  goto __pyx_L0;
8184
8673
  __pyx_L1_error:;
8185
 
  __Pyx_XDECREF(__pyx_1);
8186
 
  __Pyx_XDECREF(__pyx_2);
8187
 
  __Pyx_XDECREF(__pyx_3);
8188
8674
  __Pyx_XDECREF(__pyx_t_1);
8189
8675
  __Pyx_XDECREF(__pyx_t_2);
 
8676
  __Pyx_XDECREF(__pyx_t_3);
 
8677
  __Pyx_XDECREF(__pyx_t_4);
 
8678
  __Pyx_XDECREF(__pyx_t_6);
 
8679
  __Pyx_XDECREF(__pyx_t_7);
 
8680
  __Pyx_XDECREF(__pyx_t_8);
 
8681
  __Pyx_XDECREF(__pyx_t_9);
8190
8682
  __Pyx_AddTraceback("h5py.h5t._c_array");
8191
8683
  __pyx_r = 0;
8192
8684
  __pyx_L0:;
8193
8685
  __Pyx_DECREF((PyObject *)__pyx_v_base);
8194
8686
  __Pyx_DECREF((PyObject *)__pyx_v_type_base);
8195
8687
  __Pyx_DECREF(__pyx_v_shape);
 
8688
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
8196
8689
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8197
 
  __Pyx_FinishRefcountContext();
 
8690
  __Pyx_RefNannyFinishContext();
8198
8691
  return __pyx_r;
8199
8692
}
8200
8693
 
8201
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1268
 
8694
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1255
8202
8695
 *     return array_create(type_base, shape)
8203
8696
 * 
8204
8697
 * cdef TypeOpaqueID _c_opaque(dtype dt):             # <<<<<<<<<<<<<<
8212
8705
  size_t __pyx_t_2;
8213
8706
  hid_t __pyx_t_3;
8214
8707
  PyObject *__pyx_t_4 = NULL;
8215
 
  __Pyx_SetupRefcountContext("_c_opaque");
 
8708
  __Pyx_RefNannySetupContext("_c_opaque");
8216
8709
 
8217
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1270
 
8710
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1257
8218
8711
 * cdef TypeOpaqueID _c_opaque(dtype dt):
8219
8712
 *     # Opaque
8220
8713
 *     return TypeOpaqueID(H5Tcreate(H5T_OPAQUE, dt.itemsize))             # <<<<<<<<<<<<<<
8222
8715
 * cdef TypeStringID _c_string(dtype dt):
8223
8716
 */
8224
8717
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8225
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8718
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8226
8719
  __Pyx_GOTREF(__pyx_t_1);
8227
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8720
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8228
8721
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8229
 
  __pyx_t_3 = H5Tcreate(H5T_OPAQUE, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8230
 
  __pyx_t_1 = PyInt_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8722
  __pyx_t_3 = H5Tcreate(H5T_OPAQUE, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8723
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8231
8724
  __Pyx_GOTREF(__pyx_t_1);
8232
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8233
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
8725
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8726
  __Pyx_GOTREF(__pyx_t_4);
8234
8727
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
8235
8728
  __Pyx_GIVEREF(__pyx_t_1);
8236
8729
  __pyx_t_1 = 0;
8237
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeOpaqueID)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8730
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeOpaqueID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8238
8731
  __Pyx_GOTREF(__pyx_t_1);
8239
 
  __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
8240
 
  if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeOpaqueID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8732
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8241
8733
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_t_1);
8242
8734
  __pyx_t_1 = 0;
8243
8735
  goto __pyx_L0;
8251
8743
  __pyx_r = 0;
8252
8744
  __pyx_L0:;
8253
8745
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8254
 
  __Pyx_FinishRefcountContext();
 
8746
  __Pyx_RefNannyFinishContext();
8255
8747
  return __pyx_r;
8256
8748
}
8257
8749
 
8258
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1272
 
8750
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1259
8259
8751
 *     return TypeOpaqueID(H5Tcreate(H5T_OPAQUE, dt.itemsize))
8260
8752
 * 
8261
8753
 * cdef TypeStringID _c_string(dtype dt):             # <<<<<<<<<<<<<<
8271
8763
  size_t __pyx_t_3;
8272
8764
  herr_t __pyx_t_4;
8273
8765
  PyObject *__pyx_t_5 = NULL;
8274
 
  __Pyx_SetupRefcountContext("_c_string");
 
8766
  __Pyx_RefNannySetupContext("_c_string");
8275
8767
 
8276
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1276
 
8768
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1263
8277
8769
 *     cdef hid_t tid
8278
8770
 * 
8279
8771
 *     tid = H5Tcopy(H5T_C_S1)             # <<<<<<<<<<<<<<
8280
8772
 *     H5Tset_size(tid, dt.itemsize)
8281
8773
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8282
8774
 */
8283
 
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8775
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8284
8776
  __pyx_v_tid = __pyx_t_1;
8285
8777
 
8286
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1277
 
8778
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1264
8287
8779
 * 
8288
8780
 *     tid = H5Tcopy(H5T_C_S1)
8289
8781
 *     H5Tset_size(tid, dt.itemsize)             # <<<<<<<<<<<<<<
8290
8782
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8291
8783
 *     return TypeStringID(tid)
8292
8784
 */
8293
 
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_itemsize); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8785
  __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8294
8786
  __Pyx_GOTREF(__pyx_t_2);
8295
 
  __pyx_t_3 = __Pyx_PyInt_AsSize_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8787
  __pyx_t_3 = __Pyx_PyInt_AsSize_t(__pyx_t_2); if (unlikely((__pyx_t_3 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8296
8788
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8297
 
  __pyx_t_4 = H5Tset_size(__pyx_v_tid, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8789
  __pyx_t_4 = H5Tset_size(__pyx_v_tid, __pyx_t_3); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8298
8790
 
8299
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1278
 
8791
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1265
8300
8792
 *     tid = H5Tcopy(H5T_C_S1)
8301
8793
 *     H5Tset_size(tid, dt.itemsize)
8302
8794
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)             # <<<<<<<<<<<<<<
8303
8795
 *     return TypeStringID(tid)
8304
8796
 * 
8305
8797
 */
8306
 
  __pyx_t_4 = H5Tset_strpad(__pyx_v_tid, H5T_STR_NULLPAD); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8798
  __pyx_t_4 = H5Tset_strpad(__pyx_v_tid, H5T_STR_NULLPAD); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8307
8799
 
8308
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1279
 
8800
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1266
8309
8801
 *     H5Tset_size(tid, dt.itemsize)
8310
8802
 *     H5Tset_strpad(tid, H5T_STR_NULLPAD)
8311
8803
 *     return TypeStringID(tid)             # <<<<<<<<<<<<<<
8313
8805
 * cdef TypeCompoundID _c_complex(dtype dt):
8314
8806
 */
8315
8807
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8316
 
  __pyx_t_2 = PyInt_FromLong(__pyx_v_tid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8808
  __pyx_t_2 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8317
8809
  __Pyx_GOTREF(__pyx_t_2);
8318
 
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8319
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
8810
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8811
  __Pyx_GOTREF(__pyx_t_5);
8320
8812
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
8321
8813
  __Pyx_GIVEREF(__pyx_t_2);
8322
8814
  __pyx_t_2 = 0;
8323
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8815
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8324
8816
  __Pyx_GOTREF(__pyx_t_2);
8325
 
  __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
8326
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeStringID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8817
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
8327
8818
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_t_2);
8328
8819
  __pyx_t_2 = 0;
8329
8820
  goto __pyx_L0;
8337
8828
  __pyx_r = 0;
8338
8829
  __pyx_L0:;
8339
8830
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8340
 
  __Pyx_FinishRefcountContext();
 
8831
  __Pyx_RefNannyFinishContext();
8341
8832
  return __pyx_r;
8342
8833
}
8343
8834
 
8344
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1281
 
8835
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1268
8345
8836
 *     return TypeStringID(tid)
8346
8837
 * 
8347
8838
 * cdef TypeCompoundID _c_complex(dtype dt):             # <<<<<<<<<<<<<<
8364
8855
  hid_t __pyx_t_4;
8365
8856
  char *__pyx_t_5;
8366
8857
  herr_t __pyx_t_6;
8367
 
  __Pyx_SetupRefcountContext("_c_complex");
 
8858
  __Pyx_RefNannySetupContext("_c_complex");
 
8859
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
8368
8860
 
8369
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1288
 
8861
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1275
8370
8862
 *     cdef size_t size, off_r, off_i
8371
8863
 * 
8372
8864
 *     cdef size_t length = dt.itemsize             # <<<<<<<<<<<<<<
8373
8865
 *     cdef char byteorder = dt.byteorder
8374
8866
 * 
8375
8867
 */
8376
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8868
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8377
8869
  __Pyx_GOTREF(__pyx_t_1);
8378
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
8870
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8379
8871
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8380
8872
  __pyx_v_length = __pyx_t_2;
8381
8873
 
8382
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1289
 
8874
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1276
8383
8875
 * 
8384
8876
 *     cdef size_t length = dt.itemsize
8385
8877
 *     cdef char byteorder = dt.byteorder             # <<<<<<<<<<<<<<
8388
8880
 */
8389
8881
  __pyx_v_byteorder = __pyx_v_dt->byteorder;
8390
8882
 
8391
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1291
 
8883
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1278
8392
8884
 *     cdef char byteorder = dt.byteorder
8393
8885
 * 
8394
8886
 *     if length == 8:             # <<<<<<<<<<<<<<
8398
8890
  switch (__pyx_v_length) {
8399
8891
    case 8:
8400
8892
 
8401
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1292
 
8893
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1279
8402
8894
 * 
8403
8895
 *     if length == 8:
8404
8896
 *         size = h5py_size_n64             # <<<<<<<<<<<<<<
8407
8899
 */
8408
8900
    __pyx_v_size = h5py_size_n64;
8409
8901
 
8410
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1293
 
8902
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1280
8411
8903
 *     if length == 8:
8412
8904
 *         size = h5py_size_n64
8413
8905
 *         off_r = h5py_offset_n64_real             # <<<<<<<<<<<<<<
8416
8908
 */
8417
8909
    __pyx_v_off_r = h5py_offset_n64_real;
8418
8910
 
8419
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1294
 
8911
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1281
8420
8912
 *         size = h5py_size_n64
8421
8913
 *         off_r = h5py_offset_n64_real
8422
8914
 *         off_i = h5py_offset_n64_imag             # <<<<<<<<<<<<<<
8425
8917
 */
8426
8918
    __pyx_v_off_i = h5py_offset_n64_imag;
8427
8919
 
8428
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1295
 
8920
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1282
8429
8921
 *         off_r = h5py_offset_n64_real
8430
8922
 *         off_i = h5py_offset_n64_imag
8431
8923
 *         if byteorder == c'<':             # <<<<<<<<<<<<<<
8435
8927
    switch (__pyx_v_byteorder) {
8436
8928
      case '<':
8437
8929
 
8438
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1296
 
8930
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1283
8439
8931
 *         off_i = h5py_offset_n64_imag
8440
8932
 *         if byteorder == c'<':
8441
8933
 *             tid_sub = H5T_IEEE_F32LE             # <<<<<<<<<<<<<<
8445
8937
      __pyx_v_tid_sub = H5T_IEEE_F32LE;
8446
8938
      break;
8447
8939
 
8448
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1297
 
8940
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1284
8449
8941
 *         if byteorder == c'<':
8450
8942
 *             tid_sub = H5T_IEEE_F32LE
8451
8943
 *         elif byteorder == c'>':             # <<<<<<<<<<<<<<
8454
8946
 */
8455
8947
      case '>':
8456
8948
 
8457
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1298
 
8949
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1285
8458
8950
 *             tid_sub = H5T_IEEE_F32LE
8459
8951
 *         elif byteorder == c'>':
8460
8952
 *             tid_sub = H5T_IEEE_F32BE             # <<<<<<<<<<<<<<
8465
8957
      break;
8466
8958
      default:
8467
8959
 
8468
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1300
 
8960
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1287
8469
8961
 *             tid_sub = H5T_IEEE_F32BE
8470
8962
 *         else:
8471
8963
 *             tid_sub = H5T_NATIVE_FLOAT             # <<<<<<<<<<<<<<
8477
8969
    }
8478
8970
    break;
8479
8971
 
8480
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1301
 
8972
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1288
8481
8973
 *         else:
8482
8974
 *             tid_sub = H5T_NATIVE_FLOAT
8483
8975
 *     elif length == 16:             # <<<<<<<<<<<<<<
8486
8978
 */
8487
8979
    case 16:
8488
8980
 
8489
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1302
 
8981
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1289
8490
8982
 *             tid_sub = H5T_NATIVE_FLOAT
8491
8983
 *     elif length == 16:
8492
8984
 *         size = h5py_size_n128             # <<<<<<<<<<<<<<
8495
8987
 */
8496
8988
    __pyx_v_size = h5py_size_n128;
8497
8989
 
8498
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1303
 
8990
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1290
8499
8991
 *     elif length == 16:
8500
8992
 *         size = h5py_size_n128
8501
8993
 *         off_r = h5py_offset_n128_real             # <<<<<<<<<<<<<<
8504
8996
 */
8505
8997
    __pyx_v_off_r = h5py_offset_n128_real;
8506
8998
 
8507
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1304
 
8999
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1291
8508
9000
 *         size = h5py_size_n128
8509
9001
 *         off_r = h5py_offset_n128_real
8510
9002
 *         off_i = h5py_offset_n128_imag             # <<<<<<<<<<<<<<
8513
9005
 */
8514
9006
    __pyx_v_off_i = h5py_offset_n128_imag;
8515
9007
 
8516
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1305
 
9008
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1292
8517
9009
 *         off_r = h5py_offset_n128_real
8518
9010
 *         off_i = h5py_offset_n128_imag
8519
9011
 *         if byteorder == c'<':             # <<<<<<<<<<<<<<
8523
9015
    switch (__pyx_v_byteorder) {
8524
9016
      case '<':
8525
9017
 
8526
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1306
 
9018
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1293
8527
9019
 *         off_i = h5py_offset_n128_imag
8528
9020
 *         if byteorder == c'<':
8529
9021
 *             tid_sub = H5T_IEEE_F64LE             # <<<<<<<<<<<<<<
8533
9025
      __pyx_v_tid_sub = H5T_IEEE_F64LE;
8534
9026
      break;
8535
9027
 
8536
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1307
 
9028
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1294
8537
9029
 *         if byteorder == c'<':
8538
9030
 *             tid_sub = H5T_IEEE_F64LE
8539
9031
 *         elif byteorder == c'>':             # <<<<<<<<<<<<<<
8542
9034
 */
8543
9035
      case '>':
8544
9036
 
8545
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1308
 
9037
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1295
8546
9038
 *             tid_sub = H5T_IEEE_F64LE
8547
9039
 *         elif byteorder == c'>':
8548
9040
 *             tid_sub = H5T_IEEE_F64BE             # <<<<<<<<<<<<<<
8553
9045
      break;
8554
9046
      default:
8555
9047
 
8556
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1310
 
9048
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1297
8557
9049
 *             tid_sub = H5T_IEEE_F64BE
8558
9050
 *         else:
8559
9051
 *             tid_sub = H5T_NATIVE_DOUBLE             # <<<<<<<<<<<<<<
8566
9058
    break;
8567
9059
    default:
8568
9060
 
8569
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1312
 
9061
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1299
8570
9062
 *             tid_sub = H5T_NATIVE_DOUBLE
8571
9063
 *     else:
8572
9064
 *         raise TypeError("Illegal length %d for complex dtype" % length)             # <<<<<<<<<<<<<<
8573
9065
 * 
8574
9066
 *     tid = H5Tcreate(H5T_COMPOUND, size)
8575
9067
 */
8576
 
    __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_v_length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9068
    __pyx_t_1 = __Pyx_PyInt_FromSize_t(__pyx_v_length); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8577
9069
    __Pyx_GOTREF(__pyx_t_1);
8578
 
    __pyx_t_3 = PyNumber_Remainder(__pyx_kp_186, __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9070
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_14), __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8579
9071
    __Pyx_GOTREF(__pyx_t_3);
8580
9072
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8581
 
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8582
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9073
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9074
    __Pyx_GOTREF(__pyx_t_1);
8583
9075
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
8584
9076
    __Pyx_GIVEREF(__pyx_t_3);
8585
9077
    __pyx_t_3 = 0;
8586
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9078
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8587
9079
    __Pyx_GOTREF(__pyx_t_3);
8588
 
    __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
9080
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8589
9081
    __Pyx_Raise(__pyx_t_3, 0, 0);
8590
9082
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8591
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9083
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8592
9084
    break;
8593
9085
  }
8594
9086
 
8595
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1314
 
9087
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1301
8596
9088
 *         raise TypeError("Illegal length %d for complex dtype" % length)
8597
9089
 * 
8598
9090
 *     tid = H5Tcreate(H5T_COMPOUND, size)             # <<<<<<<<<<<<<<
8599
9091
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)
8600
9092
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
8601
9093
 */
8602
 
  __pyx_t_4 = H5Tcreate(H5T_COMPOUND, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9094
  __pyx_t_4 = H5Tcreate(H5T_COMPOUND, __pyx_v_size); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8603
9095
  __pyx_v_tid = __pyx_t_4;
8604
9096
 
8605
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1315
 
9097
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1302
8606
9098
 * 
8607
9099
 *     tid = H5Tcreate(H5T_COMPOUND, size)
8608
9100
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)             # <<<<<<<<<<<<<<
8609
9101
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
8610
9102
 * 
8611
9103
 */
8612
 
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_r_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8613
 
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_r, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9104
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_r_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9105
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_r, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8614
9106
 
8615
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1316
 
9107
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1303
8616
9108
 *     tid = H5Tcreate(H5T_COMPOUND, size)
8617
9109
 *     H5Tinsert(tid, cfg._r_name, off_r, tid_sub)
8618
9110
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)             # <<<<<<<<<<<<<<
8619
9111
 * 
8620
9112
 *     return TypeCompoundID(tid)
8621
9113
 */
8622
 
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_i_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8623
 
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_i, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9114
  __pyx_t_5 = __Pyx_PyBytes_AsString(__pyx_v_4h5py_3h5t_cfg->_i_name); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9115
  __pyx_t_6 = H5Tinsert(__pyx_v_tid, __pyx_t_5, __pyx_v_off_i, __pyx_v_tid_sub); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8624
9116
 
8625
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1318
 
9117
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1305
8626
9118
 *     H5Tinsert(tid, cfg._i_name, off_i, tid_sub)
8627
9119
 * 
8628
9120
 *     return TypeCompoundID(tid)             # <<<<<<<<<<<<<<
8630
9122
 * cdef TypeCompoundID _c_compound(dtype dt, int logical):
8631
9123
 */
8632
9124
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8633
 
  __pyx_t_3 = PyInt_FromLong(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9125
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8634
9126
  __Pyx_GOTREF(__pyx_t_3);
8635
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8636
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9127
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9128
  __Pyx_GOTREF(__pyx_t_1);
8637
9129
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
8638
9130
  __Pyx_GIVEREF(__pyx_t_3);
8639
9131
  __pyx_t_3 = 0;
8640
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9132
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8641
9133
  __Pyx_GOTREF(__pyx_t_3);
8642
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
8643
 
  if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeCompoundID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9134
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8644
9135
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_t_3);
8645
9136
  __pyx_t_3 = 0;
8646
9137
  goto __pyx_L0;
8653
9144
  __Pyx_AddTraceback("h5py.h5t._c_complex");
8654
9145
  __pyx_r = 0;
8655
9146
  __pyx_L0:;
 
9147
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
8656
9148
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8657
 
  __Pyx_FinishRefcountContext();
 
9149
  __Pyx_RefNannyFinishContext();
8658
9150
  return __pyx_r;
8659
9151
}
8660
9152
 
8661
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1320
 
9153
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1307
8662
9154
 *     return TypeCompoundID(tid)
8663
9155
 * 
8664
9156
 * cdef TypeCompoundID _c_compound(dtype dt, int logical):             # <<<<<<<<<<<<<<
8675
9167
  PyObject *__pyx_v_names = 0;
8676
9168
  PyObject *__pyx_v_name;
8677
9169
  struct __pyx_obj_4h5py_3h5t_TypeCompoundID *__pyx_r = NULL;
8678
 
  PyObject *__pyx_1 = 0;
8679
 
  PyObject *__pyx_2 = 0;
8680
 
  PyObject *__pyx_3 = 0;
8681
 
  PyObject *__pyx_4 = 0;
8682
9170
  PyObject *__pyx_t_1 = NULL;
8683
9171
  size_t __pyx_t_2;
8684
9172
  hid_t __pyx_t_3;
8685
9173
  Py_ssize_t __pyx_t_4;
8686
9174
  PyObject *__pyx_t_5 = NULL;
8687
9175
  PyObject *__pyx_t_6 = NULL;
8688
 
  char *__pyx_t_7;
8689
 
  herr_t __pyx_t_8;
8690
 
  __Pyx_SetupRefcountContext("_c_compound");
 
9176
  PyObject *__pyx_t_7 = NULL;
 
9177
  PyObject *__pyx_t_8 = NULL;
 
9178
  char *__pyx_t_9;
 
9179
  herr_t __pyx_t_10;
 
9180
  __Pyx_RefNannySetupContext("_c_compound");
 
9181
  __Pyx_INCREF((PyObject *)__pyx_v_dt);
8691
9182
  __pyx_v_type_tmp = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
8692
9183
  __pyx_v_dt_tmp = ((PyArray_Descr *)Py_None); __Pyx_INCREF(Py_None);
8693
9184
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
8694
9185
 
8695
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1328
 
9186
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1315
8696
9187
 *     cdef size_t offset
8697
9188
 * 
8698
9189
 *     cdef dict fields = dt.fields             # <<<<<<<<<<<<<<
8699
9190
 *     cdef tuple names = dt.names
8700
9191
 * 
8701
9192
 */
8702
 
  if (!(likely(PyDict_CheckExact(__pyx_v_dt->fields)) || (__pyx_v_dt->fields) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected dict, got %s", Py_TYPE(__pyx_v_dt->fields)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9193
  if (!(likely(PyDict_CheckExact(__pyx_v_dt->fields))||((__pyx_v_dt->fields) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_dt->fields)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8703
9194
  __Pyx_INCREF(__pyx_v_dt->fields);
8704
9195
  __pyx_v_fields = ((PyObject *)__pyx_v_dt->fields);
8705
9196
 
8706
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1329
 
9197
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1316
8707
9198
 * 
8708
9199
 *     cdef dict fields = dt.fields
8709
9200
 *     cdef tuple names = dt.names             # <<<<<<<<<<<<<<
8710
9201
 * 
8711
9202
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)
8712
9203
 */
8713
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_names); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9204
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8714
9205
  __Pyx_GOTREF(__pyx_t_1);
8715
 
  if (!(likely(PyTuple_CheckExact(__pyx_t_1)) || (__pyx_t_1) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected tuple, got %s", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9206
  if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected tuple, got %.200s", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8716
9207
  __pyx_v_names = ((PyObject *)__pyx_t_1);
8717
9208
  __pyx_t_1 = 0;
8718
9209
 
8719
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1331
 
9210
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1318
8720
9211
 *     cdef tuple names = dt.names
8721
9212
 * 
8722
9213
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)             # <<<<<<<<<<<<<<
8723
9214
 * 
8724
9215
 *     for name in names:
8725
9216
 */
8726
 
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9217
  __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__itemsize); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8727
9218
  __Pyx_GOTREF(__pyx_t_1);
8728
 
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9219
  __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_1); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8729
9220
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8730
 
  __pyx_t_3 = H5Tcreate(H5T_COMPOUND, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9221
  __pyx_t_3 = H5Tcreate(H5T_COMPOUND, __pyx_t_2); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8731
9222
  __pyx_v_tid = __pyx_t_3;
8732
9223
 
8733
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1333
 
9224
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1320
8734
9225
 *     tid = H5Tcreate(H5T_COMPOUND, dt.itemsize)
8735
9226
 * 
8736
9227
 *     for name in names:             # <<<<<<<<<<<<<<
8740
9231
  if (likely(((PyObject *)__pyx_v_names) != Py_None)) {
8741
9232
    __pyx_t_4 = 0; __pyx_t_1 = ((PyObject *)__pyx_v_names); __Pyx_INCREF(__pyx_t_1);
8742
9233
  } else {
8743
 
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9234
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8744
9235
  }
8745
9236
  for (;;) {
8746
9237
    if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
8749
9240
    __pyx_v_name = __pyx_t_5;
8750
9241
    __pyx_t_5 = 0;
8751
9242
 
8752
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1334
 
9243
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1321
8753
9244
 * 
8754
9245
 *     for name in names:
8755
9246
 *         dt_tmp, offset = dt.fields[name]             # <<<<<<<<<<<<<<
8756
9247
 *         type_tmp = py_create(dt_tmp, logical=logical)
8757
9248
 *         H5Tinsert(tid, name, offset, type_tmp.id)
8758
9249
 */
8759
 
    __pyx_1 = PyObject_GetItem(__pyx_v_dt->fields, __pyx_v_name); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8760
 
    __Pyx_GOTREF(__pyx_1);
8761
 
    if (PyTuple_CheckExact(__pyx_1) && likely(PyTuple_GET_SIZE(__pyx_1) == 2)) {
8762
 
      PyObject* tuple = __pyx_1;
8763
 
      __pyx_3 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_3);
8764
 
      if (!(__Pyx_TypeTest(__pyx_3, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8765
 
      __pyx_4 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_4);
8766
 
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_4); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8767
 
      __Pyx_DECREF(__pyx_4); __pyx_4 = 0;
8768
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
9250
    __pyx_t_5 = PyObject_GetItem(__pyx_v_dt->fields, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9251
    __Pyx_GOTREF(__pyx_t_5);
 
9252
    if (PyTuple_CheckExact(__pyx_t_5) && likely(PyTuple_GET_SIZE(__pyx_t_5) == 2)) {
 
9253
      PyObject* tuple = __pyx_t_5;
 
9254
      __pyx_t_6 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_6);
 
9255
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9256
      __pyx_t_7 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_7);
 
9257
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9258
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
9259
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
8769
9260
      __Pyx_DECREF(((PyObject *)__pyx_v_dt_tmp));
8770
 
      __pyx_v_dt_tmp = ((PyArray_Descr *)__pyx_3);
8771
 
      __pyx_3 = 0;
 
9261
      __pyx_v_dt_tmp = ((PyArray_Descr *)__pyx_t_6);
 
9262
      __pyx_t_6 = 0;
8772
9263
      __pyx_v_offset = __pyx_t_2;
8773
9264
    } else {
8774
 
      __pyx_2 = PyObject_GetIter(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8775
 
      __Pyx_GOTREF(__pyx_2);
8776
 
      __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
8777
 
      __pyx_3 = __Pyx_UnpackItem(__pyx_2, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8778
 
      __Pyx_GOTREF(__pyx_3);
8779
 
      if (!(__Pyx_TypeTest(__pyx_3, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8780
 
      __pyx_4 = __Pyx_UnpackItem(__pyx_2, 1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8781
 
      __Pyx_GOTREF(__pyx_4);
8782
 
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_4); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8783
 
      __Pyx_DECREF(__pyx_4); __pyx_4 = 0;
8784
 
      if (__Pyx_EndUnpack(__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8785
 
      __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
 
9265
      __pyx_t_8 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9266
      __Pyx_GOTREF(__pyx_t_8);
 
9267
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
9268
      __pyx_t_6 = __Pyx_UnpackItem(__pyx_t_8, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9269
      __Pyx_GOTREF(__pyx_t_6);
 
9270
      if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9271
      __pyx_t_7 = __Pyx_UnpackItem(__pyx_t_8, 1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9272
      __Pyx_GOTREF(__pyx_t_7);
 
9273
      __pyx_t_2 = __Pyx_PyInt_AsSize_t(__pyx_t_7); if (unlikely((__pyx_t_2 == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9274
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
9275
      if (__Pyx_EndUnpack(__pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9276
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
8786
9277
      __Pyx_DECREF(((PyObject *)__pyx_v_dt_tmp));
8787
 
      __pyx_v_dt_tmp = ((PyArray_Descr *)__pyx_3);
8788
 
      __pyx_3 = 0;
 
9278
      __pyx_v_dt_tmp = ((PyArray_Descr *)__pyx_t_6);
 
9279
      __pyx_t_6 = 0;
8789
9280
      __pyx_v_offset = __pyx_t_2;
8790
9281
    }
8791
9282
 
8792
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1335
 
9283
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1322
8793
9284
 *     for name in names:
8794
9285
 *         dt_tmp, offset = dt.fields[name]
8795
9286
 *         type_tmp = py_create(dt_tmp, logical=logical)             # <<<<<<<<<<<<<<
8796
9287
 *         H5Tinsert(tid, name, offset, type_tmp.id)
8797
9288
 * 
8798
9289
 */
8799
 
    __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_kp_py_create); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8800
 
    __Pyx_GOTREF(__pyx_4);
8801
 
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8802
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
9290
    __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__py_create); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9291
    __Pyx_GOTREF(__pyx_t_5);
 
9292
    __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9293
    __Pyx_GOTREF(__pyx_t_7);
8803
9294
    __Pyx_INCREF(((PyObject *)__pyx_v_dt_tmp));
8804
 
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_dt_tmp));
 
9295
    PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_dt_tmp));
8805
9296
    __Pyx_GIVEREF(((PyObject *)__pyx_v_dt_tmp));
8806
 
    __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8807
 
    __Pyx_GOTREF(((PyObject *)__pyx_1));
8808
 
    __pyx_t_6 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8809
 
    __Pyx_GOTREF(__pyx_t_6);
8810
 
    if (PyDict_SetItem(__pyx_1, __pyx_kp_logical, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8811
 
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
8812
 
    __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_4, ((PyObject *)__pyx_t_5), ((PyObject *)__pyx_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8813
 
    __Pyx_GOTREF(__pyx_t_6);
8814
 
    __Pyx_DECREF(__pyx_4); __pyx_4 = 0;
8815
 
    __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
8816
 
    __Pyx_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
8817
 
    if (!(__Pyx_TypeTest(__pyx_t_6, __pyx_ptype_4h5py_3h5t_TypeID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9297
    __pyx_t_6 = PyDict_New(); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9298
    __Pyx_GOTREF(((PyObject *)__pyx_t_6));
 
9299
    __pyx_t_8 = PyInt_FromLong(__pyx_v_logical); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9300
    __Pyx_GOTREF(__pyx_t_8);
 
9301
    if (PyDict_SetItem(__pyx_t_6, ((PyObject *)__pyx_n_s__logical), __pyx_t_8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9302
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
9303
    __pyx_t_8 = PyEval_CallObjectWithKeywords(__pyx_t_5, __pyx_t_7, ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9304
    __Pyx_GOTREF(__pyx_t_8);
 
9305
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
9306
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
 
9307
    __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
 
9308
    if (!(likely(((__pyx_t_8) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_8, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8818
9309
    __Pyx_DECREF(((PyObject *)__pyx_v_type_tmp));
8819
 
    __pyx_v_type_tmp = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
8820
 
    __pyx_t_6 = 0;
 
9310
    __pyx_v_type_tmp = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_8);
 
9311
    __pyx_t_8 = 0;
8821
9312
 
8822
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1336
 
9313
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1323
8823
9314
 *         dt_tmp, offset = dt.fields[name]
8824
9315
 *         type_tmp = py_create(dt_tmp, logical=logical)
8825
9316
 *         H5Tinsert(tid, name, offset, type_tmp.id)             # <<<<<<<<<<<<<<
8826
9317
 * 
8827
9318
 *     return TypeCompoundID(tid)
8828
9319
 */
8829
 
    __pyx_t_7 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8830
 
    __pyx_t_8 = H5Tinsert(__pyx_v_tid, __pyx_t_7, __pyx_v_offset, __pyx_v_type_tmp->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9320
    __pyx_t_9 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_t_9) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9321
    __pyx_t_10 = H5Tinsert(__pyx_v_tid, __pyx_t_9, __pyx_v_offset, __pyx_v_type_tmp->__pyx_base.id); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8831
9322
  }
8832
9323
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8833
9324
 
8834
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1338
 
9325
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1325
8835
9326
 *         H5Tinsert(tid, name, offset, type_tmp.id)
8836
9327
 * 
8837
9328
 *     return TypeCompoundID(tid)             # <<<<<<<<<<<<<<
8838
9329
 * 
8839
 
 * cdef TypeOpaqueID _c_object(dtype dt):
 
9330
 * cdef TypeStringID _c_vlen_str(object basetype):
8840
9331
 */
8841
9332
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8842
 
  __pyx_t_1 = PyInt_FromLong(__pyx_v_tid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9333
  __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8843
9334
  __Pyx_GOTREF(__pyx_t_1);
8844
 
  __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8845
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_6));
8846
 
  PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
 
9335
  __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9336
  __Pyx_GOTREF(__pyx_t_8);
 
9337
  PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_1);
8847
9338
  __Pyx_GIVEREF(__pyx_t_1);
8848
9339
  __pyx_t_1 = 0;
8849
 
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9340
  __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeCompoundID)), __pyx_t_8, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8850
9341
  __Pyx_GOTREF(__pyx_t_1);
8851
 
  __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
8852
 
  if (!(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeCompoundID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9342
  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
8853
9343
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)__pyx_t_1);
8854
9344
  __pyx_t_1 = 0;
8855
9345
  goto __pyx_L0;
8857
9347
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeCompoundID *)Py_None); __Pyx_INCREF(Py_None);
8858
9348
  goto __pyx_L0;
8859
9349
  __pyx_L1_error:;
8860
 
  __Pyx_XDECREF(__pyx_1);
8861
 
  __Pyx_XDECREF(__pyx_2);
8862
 
  __Pyx_XDECREF(__pyx_3);
8863
 
  __Pyx_XDECREF(__pyx_4);
8864
9350
  __Pyx_XDECREF(__pyx_t_1);
8865
9351
  __Pyx_XDECREF(__pyx_t_5);
8866
9352
  __Pyx_XDECREF(__pyx_t_6);
 
9353
  __Pyx_XDECREF(__pyx_t_7);
 
9354
  __Pyx_XDECREF(__pyx_t_8);
8867
9355
  __Pyx_AddTraceback("h5py.h5t._c_compound");
8868
9356
  __pyx_r = 0;
8869
9357
  __pyx_L0:;
8872
9360
  __Pyx_XDECREF(__pyx_v_fields);
8873
9361
  __Pyx_XDECREF(__pyx_v_names);
8874
9362
  __Pyx_DECREF(__pyx_v_name);
 
9363
  __Pyx_DECREF((PyObject *)__pyx_v_dt);
8875
9364
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8876
 
  __Pyx_FinishRefcountContext();
 
9365
  __Pyx_RefNannyFinishContext();
8877
9366
  return __pyx_r;
8878
9367
}
8879
9368
 
8880
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1340
 
9369
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1327
8881
9370
 *     return TypeCompoundID(tid)
8882
9371
 * 
8883
 
 * cdef TypeOpaqueID _c_object(dtype dt):             # <<<<<<<<<<<<<<
8884
 
 *     # Object types are represented by a custom opaque type
8885
 
 *     # Currently no other logic is required
8886
 
 */
8887
 
 
8888
 
static  struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *__pyx_f_4h5py_3h5t__c_object(PyArray_Descr *__pyx_v_dt) {
8889
 
  struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *__pyx_r = NULL;
8890
 
  PyObject *__pyx_1 = 0;
8891
 
  __Pyx_SetupRefcountContext("_c_object");
8892
 
 
8893
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1343
8894
 
 *     # Object types are represented by a custom opaque type
8895
 
 *     # Currently no other logic is required
8896
 
 *     return PYTHON_OBJECT             # <<<<<<<<<<<<<<
8897
 
 * 
8898
 
 * cdef TypeStringID _c_vlen_str(object basetype):
8899
 
 */
8900
 
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8901
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_PYTHON_OBJECT); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8902
 
  __Pyx_GOTREF(__pyx_1);
8903
 
  if (!(__Pyx_TypeTest(__pyx_1, __pyx_ptype_4h5py_3h5t_TypeOpaqueID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8904
 
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)__pyx_1);
8905
 
  __pyx_1 = 0;
8906
 
  goto __pyx_L0;
8907
 
 
8908
 
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeOpaqueID *)Py_None); __Pyx_INCREF(Py_None);
8909
 
  goto __pyx_L0;
8910
 
  __pyx_L1_error:;
8911
 
  __Pyx_XDECREF(__pyx_1);
8912
 
  __Pyx_AddTraceback("h5py.h5t._c_object");
8913
 
  __pyx_r = 0;
8914
 
  __pyx_L0:;
8915
 
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8916
 
  __Pyx_FinishRefcountContext();
8917
 
  return __pyx_r;
8918
 
}
8919
 
 
8920
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1345
8921
 
 *     return PYTHON_OBJECT
8922
 
 * 
8923
9372
 * cdef TypeStringID _c_vlen_str(object basetype):             # <<<<<<<<<<<<<<
8924
9373
 *     # Variable-length strings
8925
9374
 *     cdef hid_t tid
8932
9381
  herr_t __pyx_t_2;
8933
9382
  PyObject *__pyx_t_3 = NULL;
8934
9383
  PyObject *__pyx_t_4 = NULL;
8935
 
  __Pyx_SetupRefcountContext("_c_vlen_str");
 
9384
  __Pyx_RefNannySetupContext("_c_vlen_str");
8936
9385
 
8937
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1348
 
9386
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1330
8938
9387
 *     # Variable-length strings
8939
9388
 *     cdef hid_t tid
8940
9389
 *     tid = H5Tcopy(H5T_C_S1)             # <<<<<<<<<<<<<<
8941
9390
 *     H5Tset_size(tid, H5T_VARIABLE)
8942
9391
 *     return TypeStringID(tid)
8943
9392
 */
8944
 
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9393
  __pyx_t_1 = H5Tcopy(H5T_C_S1); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8945
9394
  __pyx_v_tid = __pyx_t_1;
8946
9395
 
8947
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1349
 
9396
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1331
8948
9397
 *     cdef hid_t tid
8949
9398
 *     tid = H5Tcopy(H5T_C_S1)
8950
9399
 *     H5Tset_size(tid, H5T_VARIABLE)             # <<<<<<<<<<<<<<
8951
9400
 *     return TypeStringID(tid)
8952
9401
 * 
8953
9402
 */
8954
 
  __pyx_t_2 = H5Tset_size(__pyx_v_tid, H5T_VARIABLE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9403
  __pyx_t_2 = H5Tset_size(__pyx_v_tid, H5T_VARIABLE); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8955
9404
 
8956
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1350
 
9405
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1332
8957
9406
 *     tid = H5Tcopy(H5T_C_S1)
8958
9407
 *     H5Tset_size(tid, H5T_VARIABLE)
8959
9408
 *     return TypeStringID(tid)             # <<<<<<<<<<<<<<
8960
9409
 * 
8961
 
 * cpdef TypeID py_create(object dtype_in, bint logical=0):
 
9410
 * cdef TypeReferenceID _c_ref(object refclass):
8962
9411
 */
8963
9412
  __Pyx_XDECREF(((PyObject *)__pyx_r));
8964
 
  __pyx_t_3 = PyInt_FromLong(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9413
  __pyx_t_3 = __Pyx_PyInt_to_py_hid_t(__pyx_v_tid); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8965
9414
  __Pyx_GOTREF(__pyx_t_3);
8966
 
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8967
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
9415
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9416
  __Pyx_GOTREF(__pyx_t_4);
8968
9417
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
8969
9418
  __Pyx_GIVEREF(__pyx_t_3);
8970
9419
  __pyx_t_3 = 0;
8971
 
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9420
  __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5t_TypeStringID)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
8972
9421
  __Pyx_GOTREF(__pyx_t_3);
8973
 
  __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
8974
 
  if (!(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_3h5t_TypeStringID))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9422
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
8975
9423
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeStringID *)__pyx_t_3);
8976
9424
  __pyx_t_3 = 0;
8977
9425
  goto __pyx_L0;
8985
9433
  __pyx_r = 0;
8986
9434
  __pyx_L0:;
8987
9435
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
8988
 
  __Pyx_FinishRefcountContext();
 
9436
  __Pyx_RefNannyFinishContext();
8989
9437
  return __pyx_r;
8990
9438
}
8991
9439
 
8992
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1352
 
9440
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1334
8993
9441
 *     return TypeStringID(tid)
8994
9442
 * 
 
9443
 * cdef TypeReferenceID _c_ref(object refclass):             # <<<<<<<<<<<<<<
 
9444
 *     if refclass is Reference:
 
9445
 *         return STD_REF_OBJ
 
9446
 */
 
9447
 
 
9448
static  struct __pyx_obj_4h5py_3h5t_TypeReferenceID *__pyx_f_4h5py_3h5t__c_ref(PyObject *__pyx_v_refclass) {
 
9449
  struct __pyx_obj_4h5py_3h5t_TypeReferenceID *__pyx_r = NULL;
 
9450
  int __pyx_t_1;
 
9451
  PyObject *__pyx_t_2 = NULL;
 
9452
  PyObject *__pyx_t_3 = NULL;
 
9453
  __Pyx_RefNannySetupContext("_c_ref");
 
9454
  __Pyx_INCREF(__pyx_v_refclass);
 
9455
 
 
9456
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1335
 
9457
 * 
 
9458
 * cdef TypeReferenceID _c_ref(object refclass):
 
9459
 *     if refclass is Reference:             # <<<<<<<<<<<<<<
 
9460
 *         return STD_REF_OBJ
 
9461
 *     elif refclass is RegionReference:
 
9462
 */
 
9463
  __pyx_t_1 = (__pyx_v_refclass == ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference)));
 
9464
  if (__pyx_t_1) {
 
9465
 
 
9466
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1336
 
9467
 * cdef TypeReferenceID _c_ref(object refclass):
 
9468
 *     if refclass is Reference:
 
9469
 *         return STD_REF_OBJ             # <<<<<<<<<<<<<<
 
9470
 *     elif refclass is RegionReference:
 
9471
 *         return STD_REF_DSETREG
 
9472
 */
 
9473
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9474
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_OBJ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9475
    __Pyx_GOTREF(__pyx_t_2);
 
9476
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9477
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)__pyx_t_2);
 
9478
    __pyx_t_2 = 0;
 
9479
    goto __pyx_L0;
 
9480
    goto __pyx_L3;
 
9481
  }
 
9482
 
 
9483
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1337
 
9484
 *     if refclass is Reference:
 
9485
 *         return STD_REF_OBJ
 
9486
 *     elif refclass is RegionReference:             # <<<<<<<<<<<<<<
 
9487
 *         return STD_REF_DSETREG
 
9488
 *     raise TypeError("Unrecognized reference code")
 
9489
 */
 
9490
  __pyx_t_1 = (__pyx_v_refclass == ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference)));
 
9491
  if (__pyx_t_1) {
 
9492
 
 
9493
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1338
 
9494
 *         return STD_REF_OBJ
 
9495
 *     elif refclass is RegionReference:
 
9496
 *         return STD_REF_DSETREG             # <<<<<<<<<<<<<<
 
9497
 *     raise TypeError("Unrecognized reference code")
 
9498
 * 
 
9499
 */
 
9500
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9501
    __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__STD_REF_DSETREG); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9502
    __Pyx_GOTREF(__pyx_t_2);
 
9503
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_3h5t_TypeReferenceID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9504
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)__pyx_t_2);
 
9505
    __pyx_t_2 = 0;
 
9506
    goto __pyx_L0;
 
9507
    goto __pyx_L3;
 
9508
  }
 
9509
  __pyx_L3:;
 
9510
 
 
9511
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1339
 
9512
 *     elif refclass is RegionReference:
 
9513
 *         return STD_REF_DSETREG
 
9514
 *     raise TypeError("Unrecognized reference code")             # <<<<<<<<<<<<<<
 
9515
 * 
 
9516
 * cpdef TypeID py_create(object dtype_in, bint logical=0):
 
9517
 */
 
9518
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9519
  __Pyx_GOTREF(__pyx_t_2);
 
9520
  __Pyx_INCREF(((PyObject *)__pyx_kp_s_15));
 
9521
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_15));
 
9522
  __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_15));
 
9523
  __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9524
  __Pyx_GOTREF(__pyx_t_3);
 
9525
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
9526
  __Pyx_Raise(__pyx_t_3, 0, 0);
 
9527
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
9528
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9529
 
 
9530
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeReferenceID *)Py_None); __Pyx_INCREF(Py_None);
 
9531
  goto __pyx_L0;
 
9532
  __pyx_L1_error:;
 
9533
  __Pyx_XDECREF(__pyx_t_2);
 
9534
  __Pyx_XDECREF(__pyx_t_3);
 
9535
  __Pyx_AddTraceback("h5py.h5t._c_ref");
 
9536
  __pyx_r = 0;
 
9537
  __pyx_L0:;
 
9538
  __Pyx_DECREF(__pyx_v_refclass);
 
9539
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
 
9540
  __Pyx_RefNannyFinishContext();
 
9541
  return __pyx_r;
 
9542
}
 
9543
 
 
9544
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1341
 
9545
 *     raise TypeError("Unrecognized reference code")
 
9546
 * 
8995
9547
 * cpdef TypeID py_create(object dtype_in, bint logical=0):             # <<<<<<<<<<<<<<
8996
 
 *     """(OBJECT dtype_in, DICT enum_vals=None) => TypeID
 
9548
 *     """(OBJECT dtype_in, BOOL logical=False) => TypeID
8997
9549
 * 
8998
9550
 */
8999
9551
 
9000
9552
static PyObject *__pyx_pf_4h5py_3h5t_py_create(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
9001
9553
static  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_f_4h5py_3h5t_py_create(PyObject *__pyx_v_dtype_in, int __pyx_skip_dispatch, struct __pyx_opt_args_4h5py_3h5t_py_create *__pyx_optional_args) {
9002
 
  int __pyx_v_logical = 0;
 
9554
  int __pyx_v_logical = ((int)0);
9003
9555
  PyArray_Descr *__pyx_v_dt = 0;
9004
9556
  char __pyx_v_kind;
9005
9557
  PyObject *__pyx_v_enum_vals;
9006
9558
  PyObject *__pyx_v_vlen;
 
9559
  PyObject *__pyx_v_refclass;
9007
9560
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_r = NULL;
9008
9561
  PyObject *__pyx_t_1 = NULL;
9009
9562
  PyObject *__pyx_t_2 = NULL;
9010
9563
  int __pyx_t_3;
9011
9564
  int __pyx_t_4;
9012
 
  __Pyx_SetupRefcountContext("py_create");
 
9565
  int __pyx_t_5;
 
9566
  PyObject *__pyx_t_6 = NULL;
 
9567
  __Pyx_RefNannySetupContext("py_create");
9013
9568
  if (__pyx_optional_args) {
9014
9569
    if (__pyx_optional_args->__pyx_n > 0) {
9015
9570
      __pyx_v_logical = __pyx_optional_args->logical;
9016
9571
    }
9017
9572
  }
 
9573
  __Pyx_INCREF(__pyx_v_dtype_in);
9018
9574
  __pyx_v_enum_vals = Py_None; __Pyx_INCREF(Py_None);
9019
9575
  __pyx_v_vlen = Py_None; __Pyx_INCREF(Py_None);
 
9576
  __pyx_v_refclass = Py_None; __Pyx_INCREF(Py_None);
9020
9577
 
9021
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1369
 
9578
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1358
9022
9579
 *         length string type.
9023
9580
 *     """
9024
9581
 *     cdef dtype dt = dtype(dtype_in)             # <<<<<<<<<<<<<<
9025
9582
 *     cdef char kind = dt.kind
9026
9583
 * 
9027
9584
 */
9028
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9029
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9585
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9586
  __Pyx_GOTREF(__pyx_t_1);
9030
9587
  __Pyx_INCREF(__pyx_v_dtype_in);
9031
9588
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_dtype_in);
9032
9589
  __Pyx_GIVEREF(__pyx_v_dtype_in);
9033
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9590
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9034
9591
  __Pyx_GOTREF(__pyx_t_2);
9035
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9036
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9592
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9037
9593
  __pyx_v_dt = ((PyArray_Descr *)__pyx_t_2);
9038
9594
  __pyx_t_2 = 0;
9039
9595
 
9040
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1370
 
9596
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1359
9041
9597
 *     """
9042
9598
 *     cdef dtype dt = dtype(dtype_in)
9043
9599
 *     cdef char kind = dt.kind             # <<<<<<<<<<<<<<
9044
9600
 * 
9045
 
 *     phil.acquire()
 
9601
 * 
9046
9602
 */
9047
9603
  __pyx_v_kind = __pyx_v_dt->kind;
9048
9604
 
9049
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1372
9050
 
 *     cdef char kind = dt.kind
9051
 
 * 
9052
 
 *     phil.acquire()             # <<<<<<<<<<<<<<
9053
 
 *     try:
9054
 
 *         # Float
9055
 
 */
9056
 
  __pyx_t_3 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_3h5t_phil->__pyx_vtab)->acquire(__pyx_v_4h5py_3h5t_phil, 0, NULL); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9057
 
 
9058
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1373
9059
 
 * 
9060
 
 *     phil.acquire()
9061
 
 *     try:             # <<<<<<<<<<<<<<
9062
 
 *         # Float
9063
 
 *         if kind == c'f':
9064
 
 */
9065
 
  /*try:*/ {
9066
 
 
9067
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1375
9068
 
 *     try:
9069
 
 *         # Float
9070
 
 *         if kind == c'f':             # <<<<<<<<<<<<<<
9071
 
 *             return _c_float(dt)
9072
 
 * 
9073
 
 */
9074
 
    __pyx_t_3 = (__pyx_v_kind == 'f');
9075
 
    if (__pyx_t_3) {
9076
 
 
9077
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1376
9078
 
 *         # Float
9079
 
 *         if kind == c'f':
9080
 
 *             return _c_float(dt)             # <<<<<<<<<<<<<<
9081
 
 * 
9082
 
 *         # Integer
9083
 
 */
9084
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9085
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_float(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1376; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
9605
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1363
 
9606
 * 
 
9607
 *     # Float
 
9608
 *     if kind == c'f':             # <<<<<<<<<<<<<<
 
9609
 *         return _c_float(dt)
 
9610
 * 
 
9611
 */
 
9612
  __pyx_t_3 = (__pyx_v_kind == 'f');
 
9613
  if (__pyx_t_3) {
 
9614
 
 
9615
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1364
 
9616
 *     # Float
 
9617
 *     if kind == c'f':
 
9618
 *         return _c_float(dt)             # <<<<<<<<<<<<<<
 
9619
 * 
 
9620
 *     # Integer
 
9621
 */
 
9622
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9623
    __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_float(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9624
    __Pyx_GOTREF(__pyx_t_2);
 
9625
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
 
9626
    __pyx_t_2 = 0;
 
9627
    goto __pyx_L0;
 
9628
    goto __pyx_L3;
 
9629
  }
 
9630
 
 
9631
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1367
 
9632
 * 
 
9633
 *     # Integer
 
9634
 *     elif kind == c'u' or kind == c'i':             # <<<<<<<<<<<<<<
 
9635
 * 
 
9636
 *         if logical:
 
9637
 */
 
9638
  __pyx_t_3 = (__pyx_v_kind == 'u');
 
9639
  if (!__pyx_t_3) {
 
9640
    __pyx_t_4 = (__pyx_v_kind == 'i');
 
9641
    __pyx_t_5 = __pyx_t_4;
 
9642
  } else {
 
9643
    __pyx_t_5 = __pyx_t_3;
 
9644
  }
 
9645
  if (__pyx_t_5) {
 
9646
 
 
9647
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1369
 
9648
 *     elif kind == c'u' or kind == c'i':
 
9649
 * 
 
9650
 *         if logical:             # <<<<<<<<<<<<<<
 
9651
 *             # Check for an enumeration hint
 
9652
 *             enum_vals = check_dtype(enum=dt)
 
9653
 */
 
9654
    __pyx_t_5 = __pyx_v_logical;
 
9655
    if (__pyx_t_5) {
 
9656
 
 
9657
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1371
 
9658
 *         if logical:
 
9659
 *             # Check for an enumeration hint
 
9660
 *             enum_vals = check_dtype(enum=dt)             # <<<<<<<<<<<<<<
 
9661
 *             if enum_vals is not None:
 
9662
 *                 return _c_enum(dt, enum_vals)
 
9663
 */
 
9664
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9086
9665
      __Pyx_GOTREF(__pyx_t_2);
9087
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9088
 
      __pyx_t_2 = 0;
9089
 
      goto __pyx_L3;
9090
 
      goto __pyx_L6;
9091
 
    }
9092
 
 
9093
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1379
9094
 
 * 
9095
 
 *         # Integer
9096
 
 *         elif kind == c'u' or kind == c'i':             # <<<<<<<<<<<<<<
9097
 
 * 
9098
 
 *             if logical:
9099
 
 */
9100
 
    if (!(__pyx_v_kind == 'u')) {
9101
 
      __pyx_t_3 = (__pyx_v_kind == 'i');
9102
 
    } else {
9103
 
      __pyx_t_3 = (__pyx_v_kind == 'u');
9104
 
    }
9105
 
    if (__pyx_t_3) {
9106
 
 
9107
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1381
9108
 
 *         elif kind == c'u' or kind == c'i':
9109
 
 * 
9110
 
 *             if logical:             # <<<<<<<<<<<<<<
9111
 
 *                 # Check for an enumeration hint
9112
 
 *                 enum_vals = py_get_enum(dt)
9113
 
 */
9114
 
      __pyx_t_3 = __pyx_v_logical;
9115
 
      if (__pyx_t_3) {
9116
 
 
9117
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1383
9118
 
 *             if logical:
9119
 
 *                 # Check for an enumeration hint
9120
 
 *                 enum_vals = py_get_enum(dt)             # <<<<<<<<<<<<<<
9121
 
 *                 if enum_vals is not None:
9122
 
 *                     return _c_enum(dt, enum_vals)
9123
 
 */
9124
 
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t_py_get_enum(((PyObject *)__pyx_v_dt), 0)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1383; __pyx_clineno = __LINE__; goto __pyx_L4;}
9125
 
        __Pyx_GOTREF(__pyx_t_2);
9126
 
        __Pyx_DECREF(__pyx_v_enum_vals);
9127
 
        __pyx_v_enum_vals = __pyx_t_2;
9128
 
        __pyx_t_2 = 0;
9129
 
 
9130
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1384
9131
 
 *                 # Check for an enumeration hint
9132
 
 *                 enum_vals = py_get_enum(dt)
9133
 
 *                 if enum_vals is not None:             # <<<<<<<<<<<<<<
9134
 
 *                     return _c_enum(dt, enum_vals)
9135
 
 * 
9136
 
 */
9137
 
        __pyx_t_3 = (__pyx_v_enum_vals != Py_None);
9138
 
        if (__pyx_t_3) {
9139
 
 
9140
 
          /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1385
9141
 
 *                 enum_vals = py_get_enum(dt)
9142
 
 *                 if enum_vals is not None:
9143
 
 *                     return _c_enum(dt, enum_vals)             # <<<<<<<<<<<<<<
9144
 
 * 
9145
 
 *             return _c_int(dt)
9146
 
 */
9147
 
          __Pyx_XDECREF(((PyObject *)__pyx_r));
9148
 
          if (!(likely(PyDict_CheckExact(__pyx_v_enum_vals)) || (__pyx_v_enum_vals) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected dict, got %s", Py_TYPE(__pyx_v_enum_vals)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1385; __pyx_clineno = __LINE__; goto __pyx_L4;}
9149
 
          __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_enum(__pyx_v_dt, ((PyObject *)__pyx_v_enum_vals))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1385; __pyx_clineno = __LINE__; goto __pyx_L4;}
9150
 
          __Pyx_GOTREF(__pyx_t_2);
9151
 
          __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9152
 
          __pyx_t_2 = 0;
9153
 
          goto __pyx_L3;
9154
 
          goto __pyx_L8;
9155
 
        }
9156
 
        __pyx_L8:;
9157
 
        goto __pyx_L7;
 
9666
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9667
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9668
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__enum), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9669
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9670
      __Pyx_GOTREF(__pyx_t_6);
 
9671
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
9672
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
9673
      __Pyx_DECREF(__pyx_v_enum_vals);
 
9674
      __pyx_v_enum_vals = __pyx_t_6;
 
9675
      __pyx_t_6 = 0;
 
9676
 
 
9677
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1372
 
9678
 *             # Check for an enumeration hint
 
9679
 *             enum_vals = check_dtype(enum=dt)
 
9680
 *             if enum_vals is not None:             # <<<<<<<<<<<<<<
 
9681
 *                 return _c_enum(dt, enum_vals)
 
9682
 * 
 
9683
 */
 
9684
      __pyx_t_5 = (__pyx_v_enum_vals != Py_None);
 
9685
      if (__pyx_t_5) {
 
9686
 
 
9687
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1373
 
9688
 *             enum_vals = check_dtype(enum=dt)
 
9689
 *             if enum_vals is not None:
 
9690
 *                 return _c_enum(dt, enum_vals)             # <<<<<<<<<<<<<<
 
9691
 * 
 
9692
 *         return _c_int(dt)
 
9693
 */
 
9694
        __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9695
        if (!(likely(PyDict_CheckExact(__pyx_v_enum_vals))||((__pyx_v_enum_vals) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_v_enum_vals)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9696
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_enum(__pyx_v_dt, ((PyObject *)__pyx_v_enum_vals))); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9697
        __Pyx_GOTREF(__pyx_t_6);
 
9698
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9699
        __pyx_t_6 = 0;
 
9700
        goto __pyx_L0;
 
9701
        goto __pyx_L5;
9158
9702
      }
9159
 
      __pyx_L7:;
9160
 
 
9161
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1387
9162
 
 *                     return _c_enum(dt, enum_vals)
9163
 
 * 
9164
 
 *             return _c_int(dt)             # <<<<<<<<<<<<<<
9165
 
 * 
9166
 
 *         # Complex
9167
 
 */
9168
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9169
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L4;}
9170
 
      __Pyx_GOTREF(__pyx_t_2);
9171
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9172
 
      __pyx_t_2 = 0;
9173
 
      goto __pyx_L3;
9174
 
      goto __pyx_L6;
9175
 
    }
9176
 
 
9177
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1390
9178
 
 * 
9179
 
 *         # Complex
9180
 
 *         elif kind == c'c':             # <<<<<<<<<<<<<<
9181
 
 *             return _c_complex(dt)
9182
 
 * 
9183
 
 */
9184
 
    __pyx_t_3 = (__pyx_v_kind == 'c');
9185
 
    if (__pyx_t_3) {
9186
 
 
9187
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1391
9188
 
 *         # Complex
9189
 
 *         elif kind == c'c':
9190
 
 *             return _c_complex(dt)             # <<<<<<<<<<<<<<
9191
 
 * 
9192
 
 *         # Compound
9193
 
 */
9194
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9195
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_complex(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1391; __pyx_clineno = __LINE__; goto __pyx_L4;}
9196
 
      __Pyx_GOTREF(__pyx_t_2);
9197
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9198
 
      __pyx_t_2 = 0;
9199
 
      goto __pyx_L3;
9200
 
      goto __pyx_L6;
9201
 
    }
9202
 
 
9203
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1394
9204
 
 * 
9205
 
 *         # Compound
9206
 
 *         elif kind == c'V' and dt.names is not None:             # <<<<<<<<<<<<<<
9207
 
 *             return _c_compound(dt, logical)
9208
 
 * 
9209
 
 */
9210
 
    if ((__pyx_v_kind == 'V')) {
9211
 
      __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_names); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1394; __pyx_clineno = __LINE__; goto __pyx_L4;}
9212
 
      __Pyx_GOTREF(__pyx_t_2);
9213
 
      __pyx_t_3 = (__pyx_t_2 != Py_None);
9214
 
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9215
 
      __pyx_t_4 = __pyx_t_3;
9216
 
    } else {
9217
 
      __pyx_t_4 = (__pyx_v_kind == 'V');
9218
 
    }
9219
 
    if (__pyx_t_4) {
9220
 
 
9221
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1395
9222
 
 *         # Compound
9223
 
 *         elif kind == c'V' and dt.names is not None:
9224
 
 *             return _c_compound(dt, logical)             # <<<<<<<<<<<<<<
9225
 
 * 
9226
 
 *         # Array or opaque
9227
 
 */
9228
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9229
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_compound(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1395; __pyx_clineno = __LINE__; goto __pyx_L4;}
9230
 
      __Pyx_GOTREF(__pyx_t_2);
9231
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9232
 
      __pyx_t_2 = 0;
9233
 
      goto __pyx_L3;
9234
 
      goto __pyx_L6;
9235
 
    }
9236
 
 
9237
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1398
9238
 
 * 
9239
 
 *         # Array or opaque
9240
 
 *         elif kind == c'V':             # <<<<<<<<<<<<<<
9241
 
 *             if dt.subdtype is not None:
9242
 
 *                 return _c_array(dt, logical)
9243
 
 */
9244
 
    __pyx_t_4 = (__pyx_v_kind == 'V');
9245
 
    if (__pyx_t_4) {
9246
 
 
9247
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1399
9248
 
 *         # Array or opaque
9249
 
 *         elif kind == c'V':
9250
 
 *             if dt.subdtype is not None:             # <<<<<<<<<<<<<<
9251
 
 *                 return _c_array(dt, logical)
9252
 
 *             else:
9253
 
 */
9254
 
      __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_kp_subdtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1399; __pyx_clineno = __LINE__; goto __pyx_L4;}
9255
 
      __Pyx_GOTREF(__pyx_t_2);
9256
 
      __pyx_t_4 = (__pyx_t_2 != Py_None);
9257
 
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
9703
      __pyx_L5:;
 
9704
      goto __pyx_L4;
 
9705
    }
 
9706
    __pyx_L4:;
 
9707
 
 
9708
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1375
 
9709
 *                 return _c_enum(dt, enum_vals)
 
9710
 * 
 
9711
 *         return _c_int(dt)             # <<<<<<<<<<<<<<
 
9712
 * 
 
9713
 *     # Complex
 
9714
 */
 
9715
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9716
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_int(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9717
    __Pyx_GOTREF(__pyx_t_6);
 
9718
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9719
    __pyx_t_6 = 0;
 
9720
    goto __pyx_L0;
 
9721
    goto __pyx_L3;
 
9722
  }
 
9723
 
 
9724
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1378
 
9725
 * 
 
9726
 *     # Complex
 
9727
 *     elif kind == c'c':             # <<<<<<<<<<<<<<
 
9728
 *         return _c_complex(dt)
 
9729
 * 
 
9730
 */
 
9731
  __pyx_t_5 = (__pyx_v_kind == 'c');
 
9732
  if (__pyx_t_5) {
 
9733
 
 
9734
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1379
 
9735
 *     # Complex
 
9736
 *     elif kind == c'c':
 
9737
 *         return _c_complex(dt)             # <<<<<<<<<<<<<<
 
9738
 * 
 
9739
 *     # Compound
 
9740
 */
 
9741
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9742
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_complex(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9743
    __Pyx_GOTREF(__pyx_t_6);
 
9744
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9745
    __pyx_t_6 = 0;
 
9746
    goto __pyx_L0;
 
9747
    goto __pyx_L3;
 
9748
  }
 
9749
 
 
9750
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1382
 
9751
 * 
 
9752
 *     # Compound
 
9753
 *     elif kind == c'V' and dt.names is not None:             # <<<<<<<<<<<<<<
 
9754
 *         return _c_compound(dt, logical)
 
9755
 * 
 
9756
 */
 
9757
  __pyx_t_5 = (__pyx_v_kind == 'V');
 
9758
  if (__pyx_t_5) {
 
9759
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__names); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9760
    __Pyx_GOTREF(__pyx_t_6);
 
9761
    __pyx_t_3 = (__pyx_t_6 != Py_None);
 
9762
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
9763
    __pyx_t_4 = __pyx_t_3;
 
9764
  } else {
 
9765
    __pyx_t_4 = __pyx_t_5;
 
9766
  }
 
9767
  if (__pyx_t_4) {
 
9768
 
 
9769
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1383
 
9770
 *     # Compound
 
9771
 *     elif kind == c'V' and dt.names is not None:
 
9772
 *         return _c_compound(dt, logical)             # <<<<<<<<<<<<<<
 
9773
 * 
 
9774
 *     # Array or opaque
 
9775
 */
 
9776
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9777
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_compound(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9778
    __Pyx_GOTREF(__pyx_t_6);
 
9779
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9780
    __pyx_t_6 = 0;
 
9781
    goto __pyx_L0;
 
9782
    goto __pyx_L3;
 
9783
  }
 
9784
 
 
9785
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1386
 
9786
 * 
 
9787
 *     # Array or opaque
 
9788
 *     elif kind == c'V':             # <<<<<<<<<<<<<<
 
9789
 *         if dt.subdtype is not None:
 
9790
 *             return _c_array(dt, logical)
 
9791
 */
 
9792
  __pyx_t_4 = (__pyx_v_kind == 'V');
 
9793
  if (__pyx_t_4) {
 
9794
 
 
9795
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1387
 
9796
 *     # Array or opaque
 
9797
 *     elif kind == c'V':
 
9798
 *         if dt.subdtype is not None:             # <<<<<<<<<<<<<<
 
9799
 *             return _c_array(dt, logical)
 
9800
 *         else:
 
9801
 */
 
9802
    __pyx_t_6 = PyObject_GetAttr(((PyObject *)__pyx_v_dt), __pyx_n_s__subdtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9803
    __Pyx_GOTREF(__pyx_t_6);
 
9804
    __pyx_t_4 = (__pyx_t_6 != Py_None);
 
9805
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
9806
    if (__pyx_t_4) {
 
9807
 
 
9808
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1388
 
9809
 *     elif kind == c'V':
 
9810
 *         if dt.subdtype is not None:
 
9811
 *             return _c_array(dt, logical)             # <<<<<<<<<<<<<<
 
9812
 *         else:
 
9813
 *             return _c_opaque(dt)
 
9814
 */
 
9815
      __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9816
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_array(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9817
      __Pyx_GOTREF(__pyx_t_6);
 
9818
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9819
      __pyx_t_6 = 0;
 
9820
      goto __pyx_L0;
 
9821
      goto __pyx_L6;
 
9822
    }
 
9823
    /*else*/ {
 
9824
 
 
9825
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1390
 
9826
 *             return _c_array(dt, logical)
 
9827
 *         else:
 
9828
 *             return _c_opaque(dt)             # <<<<<<<<<<<<<<
 
9829
 * 
 
9830
 *     # String
 
9831
 */
 
9832
      __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9833
      __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_opaque(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9834
      __Pyx_GOTREF(__pyx_t_6);
 
9835
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9836
      __pyx_t_6 = 0;
 
9837
      goto __pyx_L0;
 
9838
    }
 
9839
    __pyx_L6:;
 
9840
    goto __pyx_L3;
 
9841
  }
 
9842
 
 
9843
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1393
 
9844
 * 
 
9845
 *     # String
 
9846
 *     elif kind == c'S':             # <<<<<<<<<<<<<<
 
9847
 *         return _c_string(dt)
 
9848
 * 
 
9849
 */
 
9850
  __pyx_t_4 = (__pyx_v_kind == 'S');
 
9851
  if (__pyx_t_4) {
 
9852
 
 
9853
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1394
 
9854
 *     # String
 
9855
 *     elif kind == c'S':
 
9856
 *         return _c_string(dt)             # <<<<<<<<<<<<<<
 
9857
 * 
 
9858
 *     # Boolean
 
9859
 */
 
9860
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9861
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_string(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9862
    __Pyx_GOTREF(__pyx_t_6);
 
9863
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9864
    __pyx_t_6 = 0;
 
9865
    goto __pyx_L0;
 
9866
    goto __pyx_L3;
 
9867
  }
 
9868
 
 
9869
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1397
 
9870
 * 
 
9871
 *     # Boolean
 
9872
 *     elif kind == c'b':             # <<<<<<<<<<<<<<
 
9873
 *         return _c_bool(dt)
 
9874
 * 
 
9875
 */
 
9876
  __pyx_t_4 = (__pyx_v_kind == 'b');
 
9877
  if (__pyx_t_4) {
 
9878
 
 
9879
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1398
 
9880
 *     # Boolean
 
9881
 *     elif kind == c'b':
 
9882
 *         return _c_bool(dt)             # <<<<<<<<<<<<<<
 
9883
 * 
 
9884
 *     # Object types (including those with vlen hints)
 
9885
 */
 
9886
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
9887
    __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_bool(__pyx_v_dt)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9888
    __Pyx_GOTREF(__pyx_t_6);
 
9889
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
9890
    __pyx_t_6 = 0;
 
9891
    goto __pyx_L0;
 
9892
    goto __pyx_L3;
 
9893
  }
 
9894
 
 
9895
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1401
 
9896
 * 
 
9897
 *     # Object types (including those with vlen hints)
 
9898
 *     elif kind == c'O':             # <<<<<<<<<<<<<<
 
9899
 * 
 
9900
 *         if logical:
 
9901
 */
 
9902
  __pyx_t_4 = (__pyx_v_kind == 'O');
 
9903
  if (__pyx_t_4) {
 
9904
 
 
9905
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1403
 
9906
 *     elif kind == c'O':
 
9907
 * 
 
9908
 *         if logical:             # <<<<<<<<<<<<<<
 
9909
 *             vlen = check_dtype(vlen=dt)
 
9910
 *             if vlen is not None:
 
9911
 */
 
9912
    __pyx_t_4 = __pyx_v_logical;
 
9913
    if (__pyx_t_4) {
 
9914
 
 
9915
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1404
 
9916
 * 
 
9917
 *         if logical:
 
9918
 *             vlen = check_dtype(vlen=dt)             # <<<<<<<<<<<<<<
 
9919
 *             if vlen is not None:
 
9920
 *                 return _c_vlen_str(vlen)
 
9921
 */
 
9922
      __pyx_t_6 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9923
      __Pyx_GOTREF(__pyx_t_6);
 
9924
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9925
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9926
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__vlen), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9927
      __pyx_t_2 = PyEval_CallObjectWithKeywords(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9928
      __Pyx_GOTREF(__pyx_t_2);
 
9929
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
9930
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
9931
      __Pyx_DECREF(__pyx_v_vlen);
 
9932
      __pyx_v_vlen = __pyx_t_2;
 
9933
      __pyx_t_2 = 0;
 
9934
 
 
9935
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1405
 
9936
 *         if logical:
 
9937
 *             vlen = check_dtype(vlen=dt)
 
9938
 *             if vlen is not None:             # <<<<<<<<<<<<<<
 
9939
 *                 return _c_vlen_str(vlen)
 
9940
 * 
 
9941
 */
 
9942
      __pyx_t_4 = (__pyx_v_vlen != Py_None);
9258
9943
      if (__pyx_t_4) {
9259
9944
 
9260
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1400
9261
 
 *         elif kind == c'V':
9262
 
 *             if dt.subdtype is not None:
9263
 
 *                 return _c_array(dt, logical)             # <<<<<<<<<<<<<<
9264
 
 *             else:
9265
 
 *                 return _c_opaque(dt)
 
9945
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1406
 
9946
 *             vlen = check_dtype(vlen=dt)
 
9947
 *             if vlen is not None:
 
9948
 *                 return _c_vlen_str(vlen)             # <<<<<<<<<<<<<<
 
9949
 * 
 
9950
 *             refclass = check_dtype(ref=dt)
9266
9951
 */
9267
9952
        __Pyx_XDECREF(((PyObject *)__pyx_r));
9268
 
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_array(__pyx_v_dt, __pyx_v_logical)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1400; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
9953
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_vlen_str(__pyx_v_vlen)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9269
9954
        __Pyx_GOTREF(__pyx_t_2);
9270
9955
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9271
9956
        __pyx_t_2 = 0;
9272
 
        goto __pyx_L3;
 
9957
        goto __pyx_L0;
 
9958
        goto __pyx_L8;
 
9959
      }
 
9960
      __pyx_L8:;
 
9961
 
 
9962
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1408
 
9963
 *                 return _c_vlen_str(vlen)
 
9964
 * 
 
9965
 *             refclass = check_dtype(ref=dt)             # <<<<<<<<<<<<<<
 
9966
 *             if refclass is not None:
 
9967
 *                     return _c_ref(refclass)
 
9968
 */
 
9969
      __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9970
      __Pyx_GOTREF(__pyx_t_2);
 
9971
      __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9972
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
 
9973
      if (PyDict_SetItem(__pyx_t_1, ((PyObject *)__pyx_n_s__ref), ((PyObject *)__pyx_v_dt)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9974
      __pyx_t_6 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
9975
      __Pyx_GOTREF(__pyx_t_6);
 
9976
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
9977
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
 
9978
      __Pyx_DECREF(__pyx_v_refclass);
 
9979
      __pyx_v_refclass = __pyx_t_6;
 
9980
      __pyx_t_6 = 0;
 
9981
 
 
9982
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1409
 
9983
 * 
 
9984
 *             refclass = check_dtype(ref=dt)
 
9985
 *             if refclass is not None:             # <<<<<<<<<<<<<<
 
9986
 *                     return _c_ref(refclass)
 
9987
 * 
 
9988
 */
 
9989
      __pyx_t_4 = (__pyx_v_refclass != Py_None);
 
9990
      if (__pyx_t_4) {
 
9991
 
 
9992
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1410
 
9993
 *             refclass = check_dtype(ref=dt)
 
9994
 *             if refclass is not None:
 
9995
 *                     return _c_ref(refclass)             # <<<<<<<<<<<<<<
 
9996
 * 
 
9997
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))
 
9998
 */
 
9999
        __Pyx_XDECREF(((PyObject *)__pyx_r));
 
10000
        __pyx_t_6 = ((PyObject *)__pyx_f_4h5py_3h5t__c_ref(__pyx_v_refclass)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10001
        __Pyx_GOTREF(__pyx_t_6);
 
10002
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_6);
 
10003
        __pyx_t_6 = 0;
 
10004
        goto __pyx_L0;
9273
10005
        goto __pyx_L9;
9274
10006
      }
9275
 
      /*else*/ {
9276
 
 
9277
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1402
9278
 
 *                 return _c_array(dt, logical)
9279
 
 *             else:
9280
 
 *                 return _c_opaque(dt)             # <<<<<<<<<<<<<<
9281
 
 * 
9282
 
 *         # String
9283
 
 */
9284
 
        __Pyx_XDECREF(((PyObject *)__pyx_r));
9285
 
        __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_opaque(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L4;}
9286
 
        __Pyx_GOTREF(__pyx_t_2);
9287
 
        __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9288
 
        __pyx_t_2 = 0;
9289
 
        goto __pyx_L3;
9290
 
      }
9291
10007
      __pyx_L9:;
9292
 
      goto __pyx_L6;
9293
 
    }
9294
 
 
9295
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1405
9296
 
 * 
9297
 
 *         # String
9298
 
 *         elif kind == c'S':             # <<<<<<<<<<<<<<
9299
 
 *             return _c_string(dt)
9300
 
 * 
9301
 
 */
9302
 
    __pyx_t_4 = (__pyx_v_kind == 'S');
9303
 
    if (__pyx_t_4) {
9304
 
 
9305
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1406
9306
 
 *         # String
9307
 
 *         elif kind == c'S':
9308
 
 *             return _c_string(dt)             # <<<<<<<<<<<<<<
9309
 
 * 
9310
 
 *         # Boolean
9311
 
 */
9312
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9313
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_string(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L4;}
9314
 
      __Pyx_GOTREF(__pyx_t_2);
9315
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9316
 
      __pyx_t_2 = 0;
9317
 
      goto __pyx_L3;
9318
 
      goto __pyx_L6;
9319
 
    }
9320
 
 
9321
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1409
9322
 
 * 
9323
 
 *         # Boolean
9324
 
 *         elif kind == c'b':             # <<<<<<<<<<<<<<
9325
 
 *             return _c_bool(dt)
9326
 
 * 
9327
 
 */
9328
 
    __pyx_t_4 = (__pyx_v_kind == 'b');
9329
 
    if (__pyx_t_4) {
9330
 
 
9331
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1410
9332
 
 *         # Boolean
9333
 
 *         elif kind == c'b':
9334
 
 *             return _c_bool(dt)             # <<<<<<<<<<<<<<
9335
 
 * 
9336
 
 *         # Object types (including those with vlen hints)
9337
 
 */
9338
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9339
 
      __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_bool(__pyx_v_dt)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1410; __pyx_clineno = __LINE__; goto __pyx_L4;}
9340
 
      __Pyx_GOTREF(__pyx_t_2);
9341
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9342
 
      __pyx_t_2 = 0;
9343
 
      goto __pyx_L3;
9344
 
      goto __pyx_L6;
9345
 
    }
9346
 
 
9347
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1413
9348
 
 * 
9349
 
 *         # Object types (including those with vlen hints)
9350
 
 *         elif kind == c'O':             # <<<<<<<<<<<<<<
9351
 
 * 
9352
 
 *             if logical:
9353
 
 */
9354
 
    __pyx_t_4 = (__pyx_v_kind == 'O');
9355
 
    if (__pyx_t_4) {
9356
 
 
9357
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1415
9358
 
 *         elif kind == c'O':
9359
 
 * 
9360
 
 *             if logical:             # <<<<<<<<<<<<<<
9361
 
 *                 # Check for vlen hints
9362
 
 *                 vlen = py_get_vlen(dt)
9363
 
 */
9364
 
      __pyx_t_4 = __pyx_v_logical;
9365
 
      if (__pyx_t_4) {
9366
 
 
9367
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1417
9368
 
 *             if logical:
9369
 
 *                 # Check for vlen hints
9370
 
 *                 vlen = py_get_vlen(dt)             # <<<<<<<<<<<<<<
9371
 
 *                 if vlen is not None:
9372
 
 *                     return _c_vlen_str(vlen)
9373
 
 */
9374
 
        __pyx_t_2 = __pyx_f_4h5py_3h5t_py_get_vlen(((PyObject *)__pyx_v_dt), 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1417; __pyx_clineno = __LINE__; goto __pyx_L4;}
9375
 
        __Pyx_GOTREF(__pyx_t_2);
9376
 
        __Pyx_DECREF(__pyx_v_vlen);
9377
 
        __pyx_v_vlen = __pyx_t_2;
9378
 
        __pyx_t_2 = 0;
9379
 
 
9380
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1418
9381
 
 *                 # Check for vlen hints
9382
 
 *                 vlen = py_get_vlen(dt)
9383
 
 *                 if vlen is not None:             # <<<<<<<<<<<<<<
9384
 
 *                     return _c_vlen_str(vlen)
9385
 
 *                 raise TypeError("Object dtype has no native HDF5 equivalent")
9386
 
 */
9387
 
        __pyx_t_4 = (__pyx_v_vlen != Py_None);
9388
 
        if (__pyx_t_4) {
9389
 
 
9390
 
          /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1419
9391
 
 *                 vlen = py_get_vlen(dt)
9392
 
 *                 if vlen is not None:
9393
 
 *                     return _c_vlen_str(vlen)             # <<<<<<<<<<<<<<
9394
 
 *                 raise TypeError("Object dtype has no native HDF5 equivalent")
9395
 
 * 
9396
 
 */
9397
 
          __Pyx_XDECREF(((PyObject *)__pyx_r));
9398
 
          __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_3h5t__c_vlen_str(__pyx_v_vlen)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1419; __pyx_clineno = __LINE__; goto __pyx_L4;}
9399
 
          __Pyx_GOTREF(__pyx_t_2);
9400
 
          __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_2);
9401
 
          __pyx_t_2 = 0;
9402
 
          goto __pyx_L3;
9403
 
          goto __pyx_L11;
9404
 
        }
9405
 
        __pyx_L11:;
9406
 
 
9407
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1420
9408
 
 *                 if vlen is not None:
9409
 
 *                     return _c_vlen_str(vlen)
9410
 
 *                 raise TypeError("Object dtype has no native HDF5 equivalent")             # <<<<<<<<<<<<<<
9411
 
 * 
9412
 
 *             return _c_object(dt)
9413
 
 */
9414
 
        __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1420; __pyx_clineno = __LINE__; goto __pyx_L4;}
9415
 
        __Pyx_GOTREF(((PyObject *)__pyx_t_2));
9416
 
        __Pyx_INCREF(__pyx_kp_187);
9417
 
        PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_187);
9418
 
        __Pyx_GIVEREF(__pyx_kp_187);
9419
 
        __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1420; __pyx_clineno = __LINE__; goto __pyx_L4;}
9420
 
        __Pyx_GOTREF(__pyx_t_1);
9421
 
        __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
9422
 
        __Pyx_Raise(__pyx_t_1, 0, 0);
9423
 
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9424
 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1420; __pyx_clineno = __LINE__; goto __pyx_L4;}
9425
 
        goto __pyx_L10;
9426
 
      }
9427
 
      __pyx_L10:;
9428
 
 
9429
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1422
9430
 
 *                 raise TypeError("Object dtype has no native HDF5 equivalent")
9431
 
 * 
9432
 
 *             return _c_object(dt)             # <<<<<<<<<<<<<<
9433
 
 * 
9434
 
 *         # Unrecognized
9435
 
 */
9436
 
      __Pyx_XDECREF(((PyObject *)__pyx_r));
9437
 
      __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t__c_object(__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
10008
 
 
10009
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1412
 
10010
 *                     return _c_ref(refclass)
 
10011
 * 
 
10012
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))             # <<<<<<<<<<<<<<
 
10013
 * 
 
10014
 *         return PYTHON_OBJECT
 
10015
 */
 
10016
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10017
      __Pyx_GOTREF(__pyx_t_6);
 
10018
      __Pyx_INCREF(((PyObject *)__pyx_v_dt));
 
10019
      PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_dt));
 
10020
      __Pyx_GIVEREF(((PyObject *)__pyx_v_dt));
 
10021
      __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_16), __pyx_t_6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9438
10022
      __Pyx_GOTREF(__pyx_t_1);
9439
 
      __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_1);
 
10023
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10024
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10025
      __Pyx_GOTREF(__pyx_t_6);
 
10026
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1);
 
10027
      __Pyx_GIVEREF(__pyx_t_1);
9440
10028
      __pyx_t_1 = 0;
9441
 
      goto __pyx_L3;
9442
 
      goto __pyx_L6;
9443
 
    }
9444
 
    /*else*/ {
9445
 
 
9446
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1426
9447
 
 *         # Unrecognized
9448
 
 *         else:
9449
 
 *             raise TypeError("No conversion path for dtype: %s" % repr(dt))             # <<<<<<<<<<<<<<
9450
 
 * 
9451
 
 *     finally:
9452
 
 */
9453
 
      __pyx_t_1 = PyObject_Repr(((PyObject *)__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1426; __pyx_clineno = __LINE__; goto __pyx_L4;}
 
10029
      __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9454
10030
      __Pyx_GOTREF(__pyx_t_1);
9455
 
      __pyx_t_2 = PyNumber_Remainder(__pyx_kp_188, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1426; __pyx_clineno = __LINE__; goto __pyx_L4;}
9456
 
      __Pyx_GOTREF(__pyx_t_2);
 
10031
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10032
      __Pyx_Raise(__pyx_t_1, 0, 0);
9457
10033
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9458
 
      __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1426; __pyx_clineno = __LINE__; goto __pyx_L4;}
9459
 
      __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9460
 
      PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
9461
 
      __Pyx_GIVEREF(__pyx_t_2);
9462
 
      __pyx_t_2 = 0;
9463
 
      __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 = 1426; __pyx_clineno = __LINE__; goto __pyx_L4;}
9464
 
      __Pyx_GOTREF(__pyx_t_2);
9465
 
      __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9466
 
      __Pyx_Raise(__pyx_t_2, 0, 0);
9467
 
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9468
 
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1426; __pyx_clineno = __LINE__; goto __pyx_L4;}
9469
 
    }
9470
 
    __pyx_L6:;
9471
 
  }
9472
 
  /*finally:*/ {
9473
 
    int __pyx_why;
9474
 
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
9475
 
    int __pyx_exc_lineno;
9476
 
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
9477
 
    __pyx_why = 0; goto __pyx_L5;
9478
 
    __pyx_L3: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
9479
 
    __pyx_why = 3; goto __pyx_L5;
9480
 
    __pyx_L4: {
9481
 
      __pyx_why = 4;
9482
 
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
9483
 
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
9484
 
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
9485
 
      __pyx_exc_lineno = __pyx_lineno;
9486
 
      goto __pyx_L5;
9487
 
    }
9488
 
    __pyx_L5:;
9489
 
 
9490
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1429
9491
 
 * 
9492
 
 *     finally:
9493
 
 *         phil.release()             # <<<<<<<<<<<<<<
9494
 
 * 
9495
 
 * cpdef dtype py_new_enum(dtype dt_in, dict enum_vals):
9496
 
 */
9497
 
    __pyx_t_4 = ((struct __pyx_vtabstruct_4h5py_2h5_PHIL *)__pyx_v_4h5py_3h5t_phil->__pyx_vtab)->release(__pyx_v_4h5py_3h5t_phil, 0); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L12_error;}
9498
 
    goto __pyx_L13;
9499
 
    __pyx_L12_error:;
9500
 
    if (__pyx_why == 4) {
9501
 
      Py_XDECREF(__pyx_exc_type);
9502
 
      Py_XDECREF(__pyx_exc_value);
9503
 
      Py_XDECREF(__pyx_exc_tb);
9504
 
    }
9505
 
    goto __pyx_L1_error;
9506
 
    __pyx_L13:;
9507
 
    switch (__pyx_why) {
9508
 
      case 3: goto __pyx_L0;
9509
 
      case 4: {
9510
 
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
9511
 
        __pyx_lineno = __pyx_exc_lineno;
9512
 
        __pyx_exc_type = 0;
9513
 
        __pyx_exc_value = 0;
9514
 
        __pyx_exc_tb = 0;
9515
 
        goto __pyx_L1_error;
9516
 
      }
9517
 
    }
9518
 
  }
 
10034
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10035
      goto __pyx_L7;
 
10036
    }
 
10037
    __pyx_L7:;
 
10038
 
 
10039
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1414
 
10040
 *             raise TypeError("Object dtype %r has no native HDF5 equivalent" % (dt,))
 
10041
 * 
 
10042
 *         return PYTHON_OBJECT             # <<<<<<<<<<<<<<
 
10043
 * 
 
10044
 *     # Unrecognized
 
10045
 */
 
10046
    __Pyx_XDECREF(((PyObject *)__pyx_r));
 
10047
    __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__PYTHON_OBJECT); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10048
    __Pyx_GOTREF(__pyx_t_1);
 
10049
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_4h5py_3h5t_TypeID))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10050
    __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)__pyx_t_1);
 
10051
    __pyx_t_1 = 0;
 
10052
    goto __pyx_L0;
 
10053
    goto __pyx_L3;
 
10054
  }
 
10055
  /*else*/ {
 
10056
 
 
10057
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1418
 
10058
 *     # Unrecognized
 
10059
 *     else:
 
10060
 *         raise TypeError("No conversion path for dtype: %s" % repr(dt))             # <<<<<<<<<<<<<<
 
10061
 * 
 
10062
 * def special_dtype(**kwds):
 
10063
 */
 
10064
    __pyx_t_1 = PyObject_Repr(((PyObject *)__pyx_v_dt)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10065
    __Pyx_GOTREF(__pyx_t_1);
 
10066
    __pyx_t_6 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_17), __pyx_t_1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10067
    __Pyx_GOTREF(__pyx_t_6);
 
10068
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
10069
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10070
    __Pyx_GOTREF(__pyx_t_1);
 
10071
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_6);
 
10072
    __Pyx_GIVEREF(__pyx_t_6);
 
10073
    __pyx_t_6 = 0;
 
10074
    __pyx_t_6 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_1, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10075
    __Pyx_GOTREF(__pyx_t_6);
 
10076
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
10077
    __Pyx_Raise(__pyx_t_6, 0, 0);
 
10078
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10079
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10080
  }
 
10081
  __pyx_L3:;
9519
10082
 
9520
10083
  __pyx_r = ((struct __pyx_obj_4h5py_3h5t_TypeID *)Py_None); __Pyx_INCREF(Py_None);
9521
10084
  goto __pyx_L0;
9522
10085
  __pyx_L1_error:;
9523
10086
  __Pyx_XDECREF(__pyx_t_1);
9524
10087
  __Pyx_XDECREF(__pyx_t_2);
 
10088
  __Pyx_XDECREF(__pyx_t_6);
9525
10089
  __Pyx_AddTraceback("h5py.h5t.py_create");
9526
10090
  __pyx_r = 0;
9527
10091
  __pyx_L0:;
9528
10092
  __Pyx_XDECREF((PyObject *)__pyx_v_dt);
9529
10093
  __Pyx_DECREF(__pyx_v_enum_vals);
9530
10094
  __Pyx_DECREF(__pyx_v_vlen);
 
10095
  __Pyx_DECREF(__pyx_v_refclass);
 
10096
  __Pyx_DECREF(__pyx_v_dtype_in);
9531
10097
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
9532
 
  __Pyx_FinishRefcountContext();
 
10098
  __Pyx_RefNannyFinishContext();
9533
10099
  return __pyx_r;
9534
10100
}
9535
10101
 
9536
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1352
9537
 
 *     return TypeStringID(tid)
 
10102
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1341
 
10103
 *     raise TypeError("Unrecognized reference code")
9538
10104
 * 
9539
10105
 * cpdef TypeID py_create(object dtype_in, bint logical=0):             # <<<<<<<<<<<<<<
9540
 
 *     """(OBJECT dtype_in, DICT enum_vals=None) => TypeID
 
10106
 *     """(OBJECT dtype_in, BOOL logical=False) => TypeID
9541
10107
 * 
9542
10108
 */
9543
10109
 
9544
10110
static PyObject *__pyx_pf_4h5py_3h5t_py_create(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
9545
 
static char __pyx_doc_4h5py_3h5t_py_create[] = "(OBJECT dtype_in, DICT enum_vals=None) => TypeID\n\n    Given a Numpy dtype object, generate a byte-for-byte memory-compatible\n    HDF5 datatype object.  The result is guaranteed to be transient and\n    unlocked.\n\n    Argument dtype_in may be a dtype object, or anything which can be\n    converted to a dtype, including strings like '<i4'.\n\n    logical\n        If this flag is set, instead of returning a byte-for-byte identical\n        representation of the type, the function returns the closest logically\n        appropriate HDF5 type.  For example, in the case of a \"hinted\" dtype\n        of kind \"O\" representing a string, it would return an HDF5 variable-\n        length string type.\n    ";
 
10111
static char __pyx_doc_4h5py_3h5t_py_create[] = "(OBJECT dtype_in, BOOL logical=False) => TypeID\n\n    Given a Numpy dtype object, generate a byte-for-byte memory-compatible\n    HDF5 datatype object.  The result is guaranteed to be transient and\n    unlocked.\n\n    Argument dtype_in may be a dtype object, or anything which can be\n    converted to a dtype, including strings like '<i4'.\n\n    logical\n        If this flag is set, instead of returning a byte-for-byte identical\n        representation of the type, the function returns the closest logically\n        appropriate HDF5 type.  For example, in the case of a \"hinted\" dtype\n        of kind \"O\" representing a string, it would return an HDF5 variable-\n        length string type.\n    ";
9546
10112
static PyObject *__pyx_pf_4h5py_3h5t_py_create(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
9547
10113
  PyObject *__pyx_v_dtype_in = 0;
9548
10114
  int __pyx_v_logical;
9549
10115
  PyObject *__pyx_r = NULL;
9550
 
  struct __pyx_opt_args_4h5py_3h5t_py_create __pyx_1;
9551
10116
  PyObject *__pyx_t_1 = NULL;
9552
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_dtype_in,&__pyx_kp_logical,0};
9553
 
  __Pyx_SetupRefcountContext("py_create");
 
10117
  struct __pyx_opt_args_4h5py_3h5t_py_create __pyx_t_2;
 
10118
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__dtype_in,&__pyx_n_s__logical,0};
 
10119
  __Pyx_RefNannySetupContext("py_create");
9554
10120
  __pyx_self = __pyx_self;
9555
10121
  if (unlikely(__pyx_kwds)) {
9556
10122
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
9563
10129
    }
9564
10130
    switch (PyTuple_GET_SIZE(__pyx_args)) {
9565
10131
      case  0:
9566
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_dtype_in);
 
10132
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dtype_in);
9567
10133
      if (likely(values[0])) kw_args--;
9568
10134
      else goto __pyx_L5_argtuple_error;
9569
10135
      case  1:
9570
10136
      if (kw_args > 0) {
9571
 
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_kp_logical);
 
10137
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__logical);
9572
10138
        if (unlikely(value)) { values[1] = value; kw_args--; }
9573
10139
      }
9574
10140
    }
9575
10141
    if (unlikely(kw_args > 0)) {
9576
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1352; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10142
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_create") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9577
10143
    }
9578
10144
    __pyx_v_dtype_in = values[0];
9579
10145
    if (values[1]) {
9580
 
      __pyx_v_logical = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1352; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10146
      __pyx_v_logical = __Pyx_PyObject_IsTrue(values[1]); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9581
10147
    } else {
9582
 
      __pyx_v_logical = 0;
 
10148
      __pyx_v_logical = ((int)0);
9583
10149
    }
9584
10150
  } else {
9585
 
    __pyx_v_logical = 0;
 
10151
    __pyx_v_logical = ((int)0);
9586
10152
    switch (PyTuple_GET_SIZE(__pyx_args)) {
9587
 
      case  2: __pyx_v_logical = __Pyx_PyObject_IsTrue(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1352; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10153
      case  2: __pyx_v_logical = __Pyx_PyObject_IsTrue(PyTuple_GET_ITEM(__pyx_args, 1)); if (unlikely((__pyx_v_logical == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9588
10154
      case  1: __pyx_v_dtype_in = PyTuple_GET_ITEM(__pyx_args, 0);
9589
10155
      break;
9590
10156
      default: goto __pyx_L5_argtuple_error;
9592
10158
  }
9593
10159
  goto __pyx_L4_argument_unpacking_done;
9594
10160
  __pyx_L5_argtuple_error:;
9595
 
  __Pyx_RaiseArgtupleInvalid("py_create", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1352; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
10161
  __Pyx_RaiseArgtupleInvalid("py_create", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9596
10162
  __pyx_L3_error:;
9597
10163
  __Pyx_AddTraceback("h5py.h5t.py_create");
9598
10164
  return NULL;
9599
10165
  __pyx_L4_argument_unpacking_done:;
9600
10166
  __Pyx_XDECREF(__pyx_r);
9601
 
  __pyx_1.__pyx_n = 1;
9602
 
  __pyx_1.logical = __pyx_v_logical;
9603
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_v_dtype_in, 0, &__pyx_1)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10167
  __pyx_t_2.__pyx_n = 1;
 
10168
  __pyx_t_2.logical = __pyx_v_logical;
 
10169
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_create(__pyx_v_dtype_in, 0, &__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9604
10170
  __Pyx_GOTREF(__pyx_t_1);
9605
10171
  __pyx_r = __pyx_t_1;
9606
10172
  __pyx_t_1 = 0;
9614
10180
  __pyx_r = NULL;
9615
10181
  __pyx_L0:;
9616
10182
  __Pyx_XGIVEREF(__pyx_r);
9617
 
  __Pyx_FinishRefcountContext();
 
10183
  __Pyx_RefNannyFinishContext();
9618
10184
  return __pyx_r;
9619
10185
}
9620
10186
 
9621
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1431
9622
 
 *         phil.release()
 
10187
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1420
 
10188
 *         raise TypeError("No conversion path for dtype: %s" % repr(dt))
9623
10189
 * 
9624
 
 * cpdef dtype py_new_enum(dtype dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
9625
 
 *     """ (DTYPE dt_in, DICT enum_vals) => DTYPE
 
10190
 * def special_dtype(**kwds):             # <<<<<<<<<<<<<<
 
10191
 *     """ Create a new h5py "special" type.  Only one keyword may be given.
9626
10192
 * 
9627
10193
 */
9628
10194
 
9629
 
static PyObject *__pyx_pf_4h5py_3h5t_py_new_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
9630
 
static  PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_enum(PyArray_Descr *__pyx_v_dt_in, PyObject *__pyx_v_enum_vals, int __pyx_skip_dispatch) {
9631
 
  PyArray_Descr *__pyx_v_dt = 0;
9632
 
  PyArray_Descr *__pyx_r = NULL;
9633
 
  PyObject *__pyx_1 = 0;
9634
 
  PyObject *__pyx_t_1 = NULL;
9635
 
  PyObject *__pyx_t_2 = NULL;
9636
 
  int __pyx_t_3;
9637
 
  __Pyx_SetupRefcountContext("py_new_enum");
 
10195
static PyObject *__pyx_pf_4h5py_3h5t_special_dtype(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
10196
static char __pyx_doc_4h5py_3h5t_special_dtype[] = " Create a new h5py \"special\" type.  Only one keyword may be given.\n\n    Legal keywords are:\n\n    vlen = basetype\n        Base type for HDF5 variable-length datatype.  Currently only the\n        builtin string class (str) is allowed.\n        Example: special_dtype( vlen=str )\n\n    enum = (basetype, values_dict)\n        Create a NumPy representation of an HDF5 enumerated type.  Provide\n        a 2-tuple containing an (integer) base dtype and a dict mapping\n        string names to integer values.\n\n    ref = Reference | RegionReference\n        Create a NumPy representation of an HDF5 object or region reference\n        type.\n    ";
 
10197
static PyObject *__pyx_pf_4h5py_3h5t_special_dtype(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
10198
  PyObject *__pyx_v_kwds = 0;
 
10199
  PyObject *__pyx_v_name;
 
10200
  PyObject *__pyx_v_val;
 
10201
  PyObject *__pyx_v_dt;
 
10202
  PyObject *__pyx_v_enum_vals;
 
10203
  PyObject *__pyx_r = NULL;
 
10204
  Py_ssize_t __pyx_t_1;
 
10205
  int __pyx_t_2;
 
10206
  PyObject *__pyx_t_3 = NULL;
 
10207
  PyObject *__pyx_t_4 = NULL;
 
10208
  PyObject *__pyx_t_5 = NULL;
 
10209
  PyObject *__pyx_t_6 = NULL;
 
10210
  int __pyx_t_7;
 
10211
  PyObject *__pyx_t_8 = NULL;
 
10212
  int __pyx_t_9;
 
10213
  int __pyx_t_10;
 
10214
  __Pyx_RefNannySetupContext("special_dtype");
 
10215
  __pyx_self = __pyx_self;
 
10216
  if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
 
10217
    __Pyx_RaiseArgtupleInvalid("special_dtype", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return NULL;}
 
10218
  if (__pyx_kwds && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "special_dtype", 1))) return NULL;
 
10219
  __pyx_v_kwds = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
 
10220
  if (unlikely(!__pyx_v_kwds)) return NULL;
 
10221
  __Pyx_GOTREF(__pyx_v_kwds);
 
10222
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
 
10223
  __pyx_v_val = Py_None; __Pyx_INCREF(Py_None);
 
10224
  __pyx_v_dt = Py_None; __Pyx_INCREF(Py_None);
 
10225
  __pyx_v_enum_vals = Py_None; __Pyx_INCREF(Py_None);
9638
10226
 
9639
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1439
 
10227
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1440
9640
10228
 *     """
9641
10229
 * 
9642
 
 *     cdef dtype dt = dtype(dt_in)             # <<<<<<<<<<<<<<
9643
 
 *     if dt.kind != 'i' and dt.kind != 'u':
9644
 
 *         raise TypeError("Only integer types can be used as enums")
9645
 
 */
9646
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9647
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9648
 
  __Pyx_INCREF(((PyObject *)__pyx_v_dt_in));
9649
 
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_dt_in));
9650
 
  __Pyx_GIVEREF(((PyObject *)__pyx_v_dt_in));
9651
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9652
 
  __Pyx_GOTREF(__pyx_t_2);
9653
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9654
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9655
 
  __pyx_v_dt = ((PyArray_Descr *)__pyx_t_2);
9656
 
  __pyx_t_2 = 0;
9657
 
 
9658
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1440
9659
 
 * 
9660
 
 *     cdef dtype dt = dtype(dt_in)
9661
 
 *     if dt.kind != 'i' and dt.kind != 'u':             # <<<<<<<<<<<<<<
9662
 
 *         raise TypeError("Only integer types can be used as enums")
9663
 
 * 
9664
 
 */
9665
 
  if ((__pyx_v_dt->kind != 'i')) {
9666
 
    __pyx_t_3 = (__pyx_v_dt->kind != 'u');
9667
 
  } else {
9668
 
    __pyx_t_3 = (__pyx_v_dt->kind != 'i');
9669
 
  }
9670
 
  if (__pyx_t_3) {
9671
 
 
9672
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1441
9673
 
 *     cdef dtype dt = dtype(dt_in)
9674
 
 *     if dt.kind != 'i' and dt.kind != 'u':
9675
 
 *         raise TypeError("Only integer types can be used as enums")             # <<<<<<<<<<<<<<
9676
 
 * 
9677
 
 *     return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
9678
 
 */
9679
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9680
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
9681
 
    __Pyx_INCREF(__pyx_kp_191);
9682
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_191);
9683
 
    __Pyx_GIVEREF(__pyx_kp_191);
9684
 
    __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9685
 
    __Pyx_GOTREF(__pyx_t_1);
9686
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
9687
 
    __Pyx_Raise(__pyx_t_1, 0, 0);
9688
 
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
10230
 *     if len(kwds) != 1:             # <<<<<<<<<<<<<<
 
10231
 *         raise TypeError("Exactly one keyword may be provided")
 
10232
 * 
 
10233
 */
 
10234
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10235
  __pyx_t_2 = (__pyx_t_1 != 1);
 
10236
  if (__pyx_t_2) {
 
10237
 
 
10238
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1441
 
10239
 * 
 
10240
 *     if len(kwds) != 1:
 
10241
 *         raise TypeError("Exactly one keyword may be provided")             # <<<<<<<<<<<<<<
 
10242
 * 
 
10243
 *     name, val = kwds.popitem()
 
10244
 */
 
10245
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10246
    __Pyx_GOTREF(__pyx_t_3);
 
10247
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_18));
 
10248
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_18));
 
10249
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_18));
 
10250
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10251
    __Pyx_GOTREF(__pyx_t_4);
 
10252
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10253
    __Pyx_Raise(__pyx_t_4, 0, 0);
 
10254
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
9689
10255
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9690
 
    goto __pyx_L3;
9691
 
  }
9692
 
  __pyx_L3:;
9693
 
 
9694
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1443
9695
 
 *         raise TypeError("Only integer types can be used as enums")
9696
 
 * 
9697
 
 *     return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))             # <<<<<<<<<<<<<<
 
10256
    goto __pyx_L5;
 
10257
  }
 
10258
  __pyx_L5:;
 
10259
 
 
10260
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1443
 
10261
 *         raise TypeError("Exactly one keyword may be provided")
 
10262
 * 
 
10263
 *     name, val = kwds.popitem()             # <<<<<<<<<<<<<<
 
10264
 * 
 
10265
 *     if name == 'vlen':
 
10266
 */
 
10267
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10268
  __Pyx_GOTREF(__pyx_t_4);
 
10269
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10270
  __Pyx_GOTREF(__pyx_t_3);
 
10271
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10272
  if (PyTuple_CheckExact(__pyx_t_3) && likely(PyTuple_GET_SIZE(__pyx_t_3) == 2)) {
 
10273
    PyObject* tuple = __pyx_t_3;
 
10274
    __pyx_t_4 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_4);
 
10275
    __pyx_t_5 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_5);
 
10276
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10277
    __Pyx_DECREF(__pyx_v_name);
 
10278
    __pyx_v_name = __pyx_t_4;
 
10279
    __pyx_t_4 = 0;
 
10280
    __Pyx_DECREF(__pyx_v_val);
 
10281
    __pyx_v_val = __pyx_t_5;
 
10282
    __pyx_t_5 = 0;
 
10283
  } else {
 
10284
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10285
    __Pyx_GOTREF(__pyx_t_6);
 
10286
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10287
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10288
    __Pyx_GOTREF(__pyx_t_4);
 
10289
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10290
    __Pyx_GOTREF(__pyx_t_5);
 
10291
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10292
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10293
    __Pyx_DECREF(__pyx_v_name);
 
10294
    __pyx_v_name = __pyx_t_4;
 
10295
    __pyx_t_4 = 0;
 
10296
    __Pyx_DECREF(__pyx_v_val);
 
10297
    __pyx_v_val = __pyx_t_5;
 
10298
    __pyx_t_5 = 0;
 
10299
  }
 
10300
 
 
10301
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1445
 
10302
 *     name, val = kwds.popitem()
 
10303
 * 
 
10304
 *     if name == 'vlen':             # <<<<<<<<<<<<<<
 
10305
 *         if val is not str:
 
10306
 *             raise NotImplementedError("Only string vlens are currently supported")
 
10307
 */
 
10308
  __pyx_t_3 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__vlen), Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10309
  __Pyx_GOTREF(__pyx_t_3);
 
10310
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10311
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10312
  if (__pyx_t_2) {
 
10313
 
 
10314
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1446
 
10315
 * 
 
10316
 *     if name == 'vlen':
 
10317
 *         if val is not str:             # <<<<<<<<<<<<<<
 
10318
 *             raise NotImplementedError("Only string vlens are currently supported")
 
10319
 * 
 
10320
 */
 
10321
    __pyx_t_2 = (__pyx_v_val != ((PyObject *)((PyObject*)&PyString_Type)));
 
10322
    if (__pyx_t_2) {
 
10323
 
 
10324
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1447
 
10325
 *     if name == 'vlen':
 
10326
 *         if val is not str:
 
10327
 *             raise NotImplementedError("Only string vlens are currently supported")             # <<<<<<<<<<<<<<
 
10328
 * 
 
10329
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))
 
10330
 */
 
10331
      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10332
      __Pyx_GOTREF(__pyx_t_3);
 
10333
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_19));
 
10334
      PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_19));
 
10335
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_19));
 
10336
      __pyx_t_5 = PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10337
      __Pyx_GOTREF(__pyx_t_5);
 
10338
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10339
      __Pyx_Raise(__pyx_t_5, 0, 0);
 
10340
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10341
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10342
      goto __pyx_L7;
 
10343
    }
 
10344
    __pyx_L7:;
 
10345
 
 
10346
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1449
 
10347
 *             raise NotImplementedError("Only string vlens are currently supported")
 
10348
 * 
 
10349
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))             # <<<<<<<<<<<<<<
 
10350
 * 
 
10351
 *     if name == 'enum':
 
10352
 */
 
10353
    __Pyx_XDECREF(__pyx_r);
 
10354
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10355
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
10356
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10357
    __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10358
    __Pyx_GOTREF(__pyx_t_3);
 
10359
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_5));
 
10360
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
 
10361
    __Pyx_INCREF(((PyObject *)__pyx_n_s__vlen));
 
10362
    PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_n_s__vlen));
 
10363
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__vlen));
 
10364
    __pyx_t_5 = 0;
 
10365
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10366
    __Pyx_GOTREF(__pyx_t_5);
 
10367
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
 
10368
    __Pyx_GIVEREF(__pyx_t_3);
 
10369
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
 
10370
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__O));
 
10371
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
 
10372
    __pyx_t_3 = 0;
 
10373
    __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10374
    __Pyx_GOTREF(((PyObject *)__pyx_t_3));
 
10375
    PyList_SET_ITEM(__pyx_t_3, 0, __pyx_t_5);
 
10376
    __Pyx_GIVEREF(__pyx_t_5);
 
10377
    __pyx_t_5 = 0;
 
10378
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10379
    __Pyx_GOTREF(__pyx_t_5);
 
10380
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
 
10381
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__O));
 
10382
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
 
10383
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_t_3));
 
10384
    __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
 
10385
    __pyx_t_3 = 0;
 
10386
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10387
    __Pyx_GOTREF(__pyx_t_3);
 
10388
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_5);
 
10389
    __Pyx_GIVEREF(__pyx_t_5);
 
10390
    __pyx_t_5 = 0;
 
10391
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_3, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10392
    __Pyx_GOTREF(__pyx_t_5);
 
10393
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10394
    __pyx_r = __pyx_t_5;
 
10395
    __pyx_t_5 = 0;
 
10396
    goto __pyx_L0;
 
10397
    goto __pyx_L6;
 
10398
  }
 
10399
  __pyx_L6:;
 
10400
 
 
10401
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1451
 
10402
 *         return dtype(('O', [( ({'type': val},'vlen'), 'O' )] ))
 
10403
 * 
 
10404
 *     if name == 'enum':             # <<<<<<<<<<<<<<
 
10405
 * 
 
10406
 *         try:
 
10407
 */
 
10408
  __pyx_t_5 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__enum), Py_EQ); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10409
  __Pyx_GOTREF(__pyx_t_5);
 
10410
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10411
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10412
  if (__pyx_t_2) {
 
10413
 
 
10414
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1453
 
10415
 *     if name == 'enum':
 
10416
 * 
 
10417
 *         try:             # <<<<<<<<<<<<<<
 
10418
 *             dt, enum_vals = val
 
10419
 *         except TypeError:
 
10420
 */
 
10421
    {
 
10422
      PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
10423
      __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
10424
      __Pyx_XGOTREF(__pyx_save_exc_type);
 
10425
      __Pyx_XGOTREF(__pyx_save_exc_value);
 
10426
      __Pyx_XGOTREF(__pyx_save_exc_tb);
 
10427
      /*try:*/ {
 
10428
 
 
10429
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1454
 
10430
 * 
 
10431
 *         try:
 
10432
 *             dt, enum_vals = val             # <<<<<<<<<<<<<<
 
10433
 *         except TypeError:
 
10434
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")
 
10435
 */
 
10436
        if (PyTuple_CheckExact(__pyx_v_val) && likely(PyTuple_GET_SIZE(__pyx_v_val) == 2)) {
 
10437
          PyObject* tuple = __pyx_v_val;
 
10438
          __pyx_t_5 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_5);
 
10439
          __pyx_t_3 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_3);
 
10440
          __Pyx_DECREF(__pyx_v_dt);
 
10441
          __pyx_v_dt = __pyx_t_5;
 
10442
          __pyx_t_5 = 0;
 
10443
          __Pyx_DECREF(__pyx_v_enum_vals);
 
10444
          __pyx_v_enum_vals = __pyx_t_3;
 
10445
          __pyx_t_3 = 0;
 
10446
        } else {
 
10447
          __pyx_t_4 = PyObject_GetIter(__pyx_v_val); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
10448
          __Pyx_GOTREF(__pyx_t_4);
 
10449
          __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_4, 0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
10450
          __Pyx_GOTREF(__pyx_t_5);
 
10451
          __pyx_t_3 = __Pyx_UnpackItem(__pyx_t_4, 1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
10452
          __Pyx_GOTREF(__pyx_t_3);
 
10453
          if (__Pyx_EndUnpack(__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1454; __pyx_clineno = __LINE__; goto __pyx_L9_error;}
 
10454
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10455
          __Pyx_DECREF(__pyx_v_dt);
 
10456
          __pyx_v_dt = __pyx_t_5;
 
10457
          __pyx_t_5 = 0;
 
10458
          __Pyx_DECREF(__pyx_v_enum_vals);
 
10459
          __pyx_v_enum_vals = __pyx_t_3;
 
10460
          __pyx_t_3 = 0;
 
10461
        }
 
10462
      }
 
10463
      __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
10464
      __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
10465
      __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
10466
      goto __pyx_L16_try_end;
 
10467
      __pyx_L9_error:;
 
10468
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10469
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10470
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10471
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10472
 
 
10473
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1455
 
10474
 *         try:
 
10475
 *             dt, enum_vals = val
 
10476
 *         except TypeError:             # <<<<<<<<<<<<<<
 
10477
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")
 
10478
 * 
 
10479
 */
 
10480
      __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_TypeError);
 
10481
      if (__pyx_t_7) {
 
10482
        __Pyx_AddTraceback("h5py.h5t.special_dtype");
 
10483
        if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
10484
        __Pyx_GOTREF(__pyx_t_3);
 
10485
        __Pyx_GOTREF(__pyx_t_5);
 
10486
        __Pyx_GOTREF(__pyx_t_4);
 
10487
 
 
10488
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1456
 
10489
 *             dt, enum_vals = val
 
10490
 *         except TypeError:
 
10491
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")             # <<<<<<<<<<<<<<
 
10492
 * 
 
10493
 *         dt = dtype(dt)
 
10494
 */
 
10495
        __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
10496
        __Pyx_GOTREF(__pyx_t_6);
 
10497
        __Pyx_INCREF(((PyObject *)__pyx_kp_s_20));
 
10498
        PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_kp_s_20));
 
10499
        __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_20));
 
10500
        __pyx_t_8 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
10501
        __Pyx_GOTREF(__pyx_t_8);
 
10502
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10503
        __Pyx_Raise(__pyx_t_8, 0, 0);
 
10504
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
 
10505
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L11_except_error;}
 
10506
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10507
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10508
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10509
        goto __pyx_L10_exception_handled;
 
10510
      }
 
10511
      __pyx_L11_except_error:;
 
10512
      __Pyx_XGIVEREF(__pyx_save_exc_type);
 
10513
      __Pyx_XGIVEREF(__pyx_save_exc_value);
 
10514
      __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
10515
      __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
10516
      goto __pyx_L1_error;
 
10517
      __pyx_L10_exception_handled:;
 
10518
      __Pyx_XGIVEREF(__pyx_save_exc_type);
 
10519
      __Pyx_XGIVEREF(__pyx_save_exc_value);
 
10520
      __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
10521
      __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
10522
      __pyx_L16_try_end:;
 
10523
    }
 
10524
 
 
10525
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1458
 
10526
 *             raise TypeError("Enums must be created from a 2-tuple (basetype, values_dict)")
 
10527
 * 
 
10528
 *         dt = dtype(dt)             # <<<<<<<<<<<<<<
 
10529
 *         if dt.kind not in "iu":
 
10530
 *             raise TypeError("Only integer types can be used as enums")
 
10531
 */
 
10532
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10533
    __Pyx_GOTREF(__pyx_t_4);
 
10534
    __Pyx_INCREF(__pyx_v_dt);
 
10535
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_dt);
 
10536
    __Pyx_GIVEREF(__pyx_v_dt);
 
10537
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10538
    __Pyx_GOTREF(__pyx_t_5);
 
10539
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10540
    __Pyx_DECREF(__pyx_v_dt);
 
10541
    __pyx_v_dt = __pyx_t_5;
 
10542
    __pyx_t_5 = 0;
 
10543
 
 
10544
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1459
 
10545
 * 
 
10546
 *         dt = dtype(dt)
 
10547
 *         if dt.kind not in "iu":             # <<<<<<<<<<<<<<
 
10548
 *             raise TypeError("Only integer types can be used as enums")
 
10549
 * 
 
10550
 */
 
10551
    __pyx_t_5 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__kind); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10552
    __Pyx_GOTREF(__pyx_t_5);
 
10553
    __pyx_t_2 = (__Pyx_NegateNonNeg(PySequence_Contains(((PyObject *)__pyx_n_s__iu), __pyx_t_5))); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10554
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10555
    if (__pyx_t_2) {
 
10556
 
 
10557
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1460
 
10558
 *         dt = dtype(dt)
 
10559
 *         if dt.kind not in "iu":
 
10560
 *             raise TypeError("Only integer types can be used as enums")             # <<<<<<<<<<<<<<
 
10561
 * 
 
10562
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
 
10563
 */
 
10564
      __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10565
      __Pyx_GOTREF(__pyx_t_5);
 
10566
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_21));
 
10567
      PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_kp_s_21));
 
10568
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_21));
 
10569
      __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10570
      __Pyx_GOTREF(__pyx_t_4);
 
10571
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10572
      __Pyx_Raise(__pyx_t_4, 0, 0);
 
10573
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10574
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10575
      goto __pyx_L19;
 
10576
    }
 
10577
    __pyx_L19:;
 
10578
 
 
10579
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1462
 
10580
 *             raise TypeError("Only integer types can be used as enums")
 
10581
 * 
 
10582
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))             # <<<<<<<<<<<<<<
 
10583
 * 
 
10584
 *     if name == 'ref':
 
10585
 */
 
10586
    __Pyx_XDECREF(__pyx_r);
 
10587
    __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10588
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
10589
    if (PyDict_SetItem(__pyx_t_4, ((PyObject *)__pyx_n_s__vals), __pyx_v_enum_vals) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10590
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10591
    __Pyx_GOTREF(__pyx_t_5);
 
10592
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_t_4));
 
10593
    __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
10594
    __Pyx_INCREF(((PyObject *)__pyx_n_s__enum));
 
10595
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__enum));
 
10596
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__enum));
 
10597
    __pyx_t_4 = 0;
 
10598
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10599
    __Pyx_GOTREF(__pyx_t_4);
 
10600
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
 
10601
    __Pyx_GIVEREF(__pyx_t_5);
 
10602
    __Pyx_INCREF(__pyx_v_dt);
 
10603
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_dt);
 
10604
    __Pyx_GIVEREF(__pyx_v_dt);
 
10605
    __pyx_t_5 = 0;
 
10606
    __pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10607
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
10608
    PyList_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
 
10609
    __Pyx_GIVEREF(__pyx_t_4);
 
10610
    __pyx_t_4 = 0;
 
10611
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10612
    __Pyx_GOTREF(__pyx_t_4);
 
10613
    __Pyx_INCREF(__pyx_v_dt);
 
10614
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_dt);
 
10615
    __Pyx_GIVEREF(__pyx_v_dt);
 
10616
    PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_t_5));
 
10617
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
 
10618
    __pyx_t_5 = 0;
 
10619
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10620
    __Pyx_GOTREF(__pyx_t_5);
 
10621
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
 
10622
    __Pyx_GIVEREF(__pyx_t_4);
 
10623
    __pyx_t_4 = 0;
 
10624
    __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10625
    __Pyx_GOTREF(__pyx_t_4);
 
10626
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10627
    __pyx_r = __pyx_t_4;
 
10628
    __pyx_t_4 = 0;
 
10629
    goto __pyx_L0;
 
10630
    goto __pyx_L8;
 
10631
  }
 
10632
  __pyx_L8:;
 
10633
 
 
10634
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1464
 
10635
 *         return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
 
10636
 * 
 
10637
 *     if name == 'ref':             # <<<<<<<<<<<<<<
 
10638
 * 
 
10639
 *         if val not in (Reference, RegionReference):
 
10640
 */
 
10641
  __pyx_t_4 = PyObject_RichCompare(__pyx_v_name, ((PyObject *)__pyx_n_s__ref), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10642
  __Pyx_GOTREF(__pyx_t_4);
 
10643
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10644
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10645
  if (__pyx_t_2) {
 
10646
 
 
10647
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1466
 
10648
 *     if name == 'ref':
 
10649
 * 
 
10650
 *         if val not in (Reference, RegionReference):             # <<<<<<<<<<<<<<
 
10651
 *             raise ValueError("Ref class must be Reference or RegionReference")
 
10652
 * 
 
10653
 */
 
10654
    __Pyx_INCREF(__pyx_v_val);
 
10655
    __pyx_t_4 = __pyx_v_val;
 
10656
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_Reference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10657
    __Pyx_GOTREF(__pyx_t_5);
 
10658
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10659
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10660
    __pyx_t_9 = ((int)__pyx_t_2);
 
10661
    if (__pyx_t_9) {
 
10662
      __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)((PyObject*)__pyx_ptype_4h5py_3h5r_RegionReference)), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10663
      __Pyx_GOTREF(__pyx_t_5);
 
10664
      __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10665
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10666
      __pyx_t_10 = ((int)__pyx_t_2);
 
10667
      __pyx_t_2 = __pyx_t_10;
 
10668
    } else {
 
10669
      __pyx_t_2 = __pyx_t_9;
 
10670
    }
 
10671
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10672
    __pyx_t_9 = __pyx_t_2;
 
10673
    if (__pyx_t_9) {
 
10674
 
 
10675
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1467
 
10676
 * 
 
10677
 *         if val not in (Reference, RegionReference):
 
10678
 *             raise ValueError("Ref class must be Reference or RegionReference")             # <<<<<<<<<<<<<<
 
10679
 * 
 
10680
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))
 
10681
 */
 
10682
      __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10683
      __Pyx_GOTREF(__pyx_t_4);
 
10684
      __Pyx_INCREF(((PyObject *)__pyx_kp_s_22));
 
10685
      PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_kp_s_22));
 
10686
      __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_22));
 
10687
      __pyx_t_5 = PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10688
      __Pyx_GOTREF(__pyx_t_5);
 
10689
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10690
      __Pyx_Raise(__pyx_t_5, 0, 0);
 
10691
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10692
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10693
      goto __pyx_L21;
 
10694
    }
 
10695
    __pyx_L21:;
 
10696
 
 
10697
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1469
 
10698
 *             raise ValueError("Ref class must be Reference or RegionReference")
 
10699
 * 
 
10700
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))             # <<<<<<<<<<<<<<
 
10701
 * 
 
10702
 *     raise TypeError('Unknown special type "%s"' % name)
 
10703
 */
 
10704
    __Pyx_XDECREF(__pyx_r);
 
10705
    __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10706
    __Pyx_GOTREF(((PyObject *)__pyx_t_5));
 
10707
    if (PyDict_SetItem(__pyx_t_5, ((PyObject *)__pyx_n_s__type), __pyx_v_val) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10708
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10709
    __Pyx_GOTREF(__pyx_t_4);
 
10710
    PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_t_5));
 
10711
    __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
 
10712
    __Pyx_INCREF(((PyObject *)__pyx_n_s__ref));
 
10713
    PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_n_s__ref));
 
10714
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ref));
 
10715
    __pyx_t_5 = 0;
 
10716
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10717
    __Pyx_GOTREF(__pyx_t_5);
 
10718
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
 
10719
    __Pyx_GIVEREF(__pyx_t_4);
 
10720
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
 
10721
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_n_s__O));
 
10722
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
 
10723
    __pyx_t_4 = 0;
 
10724
    __pyx_t_4 = PyList_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10725
    __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
10726
    PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
 
10727
    __Pyx_GIVEREF(__pyx_t_5);
 
10728
    __pyx_t_5 = 0;
 
10729
    __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10730
    __Pyx_GOTREF(__pyx_t_5);
 
10731
    __Pyx_INCREF(((PyObject *)__pyx_n_s__O));
 
10732
    PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__O));
 
10733
    __Pyx_GIVEREF(((PyObject *)__pyx_n_s__O));
 
10734
    PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_t_4));
 
10735
    __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
10736
    __pyx_t_4 = 0;
 
10737
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10738
    __Pyx_GOTREF(__pyx_t_4);
 
10739
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
 
10740
    __Pyx_GIVEREF(__pyx_t_5);
 
10741
    __pyx_t_5 = 0;
 
10742
    __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1469; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10743
    __Pyx_GOTREF(__pyx_t_5);
 
10744
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10745
    __pyx_r = __pyx_t_5;
 
10746
    __pyx_t_5 = 0;
 
10747
    goto __pyx_L0;
 
10748
    goto __pyx_L20;
 
10749
  }
 
10750
  __pyx_L20:;
 
10751
 
 
10752
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1471
 
10753
 *         return dtype(('O', [( ({'type': val},'ref'), 'O' )] ))
 
10754
 * 
 
10755
 *     raise TypeError('Unknown special type "%s"' % name)             # <<<<<<<<<<<<<<
 
10756
 * 
 
10757
 * def check_dtype(**kwds):
 
10758
 */
 
10759
  __pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10760
  __Pyx_GOTREF(__pyx_t_5);
 
10761
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10762
  __Pyx_GOTREF(__pyx_t_4);
 
10763
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
 
10764
  __Pyx_GIVEREF(__pyx_t_5);
 
10765
  __pyx_t_5 = 0;
 
10766
  __pyx_t_5 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10767
  __Pyx_GOTREF(__pyx_t_5);
 
10768
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10769
  __Pyx_Raise(__pyx_t_5, 0, 0);
 
10770
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10771
  {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10772
 
 
10773
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
10774
  goto __pyx_L0;
 
10775
  __pyx_L1_error:;
 
10776
  __Pyx_XDECREF(__pyx_t_3);
 
10777
  __Pyx_XDECREF(__pyx_t_4);
 
10778
  __Pyx_XDECREF(__pyx_t_5);
 
10779
  __Pyx_XDECREF(__pyx_t_6);
 
10780
  __Pyx_XDECREF(__pyx_t_8);
 
10781
  __Pyx_AddTraceback("h5py.h5t.special_dtype");
 
10782
  __pyx_r = NULL;
 
10783
  __pyx_L0:;
 
10784
  __Pyx_DECREF(__pyx_v_kwds);
 
10785
  __Pyx_DECREF(__pyx_v_name);
 
10786
  __Pyx_DECREF(__pyx_v_val);
 
10787
  __Pyx_DECREF(__pyx_v_dt);
 
10788
  __Pyx_DECREF(__pyx_v_enum_vals);
 
10789
  __Pyx_XGIVEREF(__pyx_r);
 
10790
  __Pyx_RefNannyFinishContext();
 
10791
  return __pyx_r;
 
10792
}
 
10793
 
 
10794
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1473
 
10795
 *     raise TypeError('Unknown special type "%s"' % name)
 
10796
 * 
 
10797
 * def check_dtype(**kwds):             # <<<<<<<<<<<<<<
 
10798
 *     """ Check a dtype for h5py special type "hint" information.  Only one
 
10799
 *     keyword may be given.
 
10800
 */
 
10801
 
 
10802
static PyObject *__pyx_pf_4h5py_3h5t_check_dtype(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
10803
static char __pyx_doc_4h5py_3h5t_check_dtype[] = " Check a dtype for h5py special type \"hint\" information.  Only one\n    keyword may be given.\n\n    vlen = dtype\n        If the dtype represents an HDF5 vlen, returns the Python base class.\n        Currently only builting string vlens (str) are supported.  Returns\n        None if the dtype does not represent an HDF5 vlen.\n\n    enum = dtype\n        If the dtype represents an HDF5 enumerated type, returns the dictionary\n        mapping string names to integer values.  Returns None if the dtype does\n        not represent an HDF5 enumerated type.\n\n    ref = dtype\n        If the dtype represents an HDF5 reference type, returns the reference\n        class (either Reference or RegionReference).  Returns None if the dtype\n        does not represent an HDF5 reference type.\n    ";
 
10804
static PyObject *__pyx_pf_4h5py_3h5t_check_dtype(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
10805
  PyObject *__pyx_v_kwds = 0;
 
10806
  PyObject *__pyx_v_name;
 
10807
  PyObject *__pyx_v_dt;
 
10808
  PyObject *__pyx_v_hintkey;
 
10809
  PyObject *__pyx_v_tpl;
 
10810
  PyObject *__pyx_v_hint_dict;
 
10811
  PyObject *__pyx_r = NULL;
 
10812
  Py_ssize_t __pyx_t_1;
 
10813
  int __pyx_t_2;
 
10814
  PyObject *__pyx_t_3 = NULL;
 
10815
  PyObject *__pyx_t_4 = NULL;
 
10816
  PyObject *__pyx_t_5 = NULL;
 
10817
  PyObject *__pyx_t_6 = NULL;
 
10818
  int __pyx_t_7;
 
10819
  int __pyx_t_8;
 
10820
  __Pyx_RefNannySetupContext("check_dtype");
 
10821
  __pyx_self = __pyx_self;
 
10822
  if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
 
10823
    __Pyx_RaiseArgtupleInvalid("check_dtype", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args)); return NULL;}
 
10824
  if (__pyx_kwds && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "check_dtype", 1))) return NULL;
 
10825
  __pyx_v_kwds = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
 
10826
  if (unlikely(!__pyx_v_kwds)) return NULL;
 
10827
  __Pyx_GOTREF(__pyx_v_kwds);
 
10828
  __pyx_v_name = Py_None; __Pyx_INCREF(Py_None);
 
10829
  __pyx_v_dt = Py_None; __Pyx_INCREF(Py_None);
 
10830
  __pyx_v_hintkey = Py_None; __Pyx_INCREF(Py_None);
 
10831
  __pyx_v_tpl = Py_None; __Pyx_INCREF(Py_None);
 
10832
  __pyx_v_hint_dict = Py_None; __Pyx_INCREF(Py_None);
 
10833
 
 
10834
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1493
 
10835
 *     """
 
10836
 * 
 
10837
 *     if len(kwds) != 1:             # <<<<<<<<<<<<<<
 
10838
 *         raise TypeError("Exactly one keyword may be provided")
 
10839
 * 
 
10840
 */
 
10841
  __pyx_t_1 = PyObject_Length(__pyx_v_kwds); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10842
  __pyx_t_2 = (__pyx_t_1 != 1);
 
10843
  if (__pyx_t_2) {
 
10844
 
 
10845
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1494
 
10846
 * 
 
10847
 *     if len(kwds) != 1:
 
10848
 *         raise TypeError("Exactly one keyword may be provided")             # <<<<<<<<<<<<<<
 
10849
 * 
 
10850
 *     name, dt = kwds.popitem()
 
10851
 */
 
10852
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10853
    __Pyx_GOTREF(__pyx_t_3);
 
10854
    __Pyx_INCREF(((PyObject *)__pyx_kp_s_18));
 
10855
    PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_18));
 
10856
    __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_18));
 
10857
    __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10858
    __Pyx_GOTREF(__pyx_t_4);
 
10859
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10860
    __Pyx_Raise(__pyx_t_4, 0, 0);
 
10861
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10862
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10863
    goto __pyx_L5;
 
10864
  }
 
10865
  __pyx_L5:;
 
10866
 
 
10867
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1496
 
10868
 *         raise TypeError("Exactly one keyword may be provided")
 
10869
 * 
 
10870
 *     name, dt = kwds.popitem()             # <<<<<<<<<<<<<<
 
10871
 * 
 
10872
 *     if name not in ('vlen', 'enum', 'ref'):
 
10873
 */
 
10874
  __pyx_t_4 = PyObject_GetAttr(__pyx_v_kwds, __pyx_n_s__popitem); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10875
  __Pyx_GOTREF(__pyx_t_4);
 
10876
  __pyx_t_3 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10877
  __Pyx_GOTREF(__pyx_t_3);
 
10878
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
10879
  if (PyTuple_CheckExact(__pyx_t_3) && likely(PyTuple_GET_SIZE(__pyx_t_3) == 2)) {
 
10880
    PyObject* tuple = __pyx_t_3;
 
10881
    __pyx_t_4 = PyTuple_GET_ITEM(tuple, 0); __Pyx_INCREF(__pyx_t_4);
 
10882
    __pyx_t_5 = PyTuple_GET_ITEM(tuple, 1); __Pyx_INCREF(__pyx_t_5);
 
10883
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10884
    __Pyx_DECREF(__pyx_v_name);
 
10885
    __pyx_v_name = __pyx_t_4;
 
10886
    __pyx_t_4 = 0;
 
10887
    __Pyx_DECREF(__pyx_v_dt);
 
10888
    __pyx_v_dt = __pyx_t_5;
 
10889
    __pyx_t_5 = 0;
 
10890
  } else {
 
10891
    __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10892
    __Pyx_GOTREF(__pyx_t_6);
 
10893
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10894
    __pyx_t_4 = __Pyx_UnpackItem(__pyx_t_6, 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10895
    __Pyx_GOTREF(__pyx_t_4);
 
10896
    __pyx_t_5 = __Pyx_UnpackItem(__pyx_t_6, 1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10897
    __Pyx_GOTREF(__pyx_t_5);
 
10898
    if (__Pyx_EndUnpack(__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10899
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
10900
    __Pyx_DECREF(__pyx_v_name);
 
10901
    __pyx_v_name = __pyx_t_4;
 
10902
    __pyx_t_4 = 0;
 
10903
    __Pyx_DECREF(__pyx_v_dt);
 
10904
    __pyx_v_dt = __pyx_t_5;
 
10905
    __pyx_t_5 = 0;
 
10906
  }
 
10907
 
 
10908
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1498
 
10909
 *     name, dt = kwds.popitem()
 
10910
 * 
 
10911
 *     if name not in ('vlen', 'enum', 'ref'):             # <<<<<<<<<<<<<<
 
10912
 *         raise TypeError('Unknown special type "%s"' % name)
 
10913
 * 
 
10914
 */
 
10915
  __Pyx_INCREF(__pyx_v_name);
 
10916
  __pyx_t_3 = __pyx_v_name;
 
10917
  __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__vlen), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10918
  __Pyx_GOTREF(__pyx_t_5);
 
10919
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10920
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10921
  __pyx_t_7 = ((int)__pyx_t_2);
 
10922
  if (__pyx_t_7) {
 
10923
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__enum), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10924
    __Pyx_GOTREF(__pyx_t_5);
 
10925
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_2 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10926
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10927
    __pyx_t_8 = ((int)__pyx_t_2);
 
10928
    __pyx_t_2 = __pyx_t_8;
 
10929
  } else {
 
10930
    __pyx_t_2 = __pyx_t_7;
 
10931
  }
 
10932
  if (__pyx_t_2) {
 
10933
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_n_s__ref), Py_NE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10934
    __Pyx_GOTREF(__pyx_t_5);
 
10935
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 == (int)-1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10936
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10937
    __pyx_t_8 = ((int)__pyx_t_7);
 
10938
    __pyx_t_7 = __pyx_t_8;
 
10939
  } else {
 
10940
    __pyx_t_7 = __pyx_t_2;
 
10941
  }
 
10942
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10943
  __pyx_t_2 = __pyx_t_7;
 
10944
  if (__pyx_t_2) {
 
10945
 
 
10946
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1499
 
10947
 * 
 
10948
 *     if name not in ('vlen', 'enum', 'ref'):
 
10949
 *         raise TypeError('Unknown special type "%s"' % name)             # <<<<<<<<<<<<<<
 
10950
 * 
 
10951
 *     hintkey = 'type' if name is not 'enum' else 'vals'
 
10952
 */
 
10953
    __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_23), __pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10954
    __Pyx_GOTREF(__pyx_t_3);
 
10955
    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10956
    __Pyx_GOTREF(__pyx_t_5);
 
10957
    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
 
10958
    __Pyx_GIVEREF(__pyx_t_3);
 
10959
    __pyx_t_3 = 0;
 
10960
    __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10961
    __Pyx_GOTREF(__pyx_t_3);
 
10962
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
10963
    __Pyx_Raise(__pyx_t_3, 0, 0);
 
10964
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
10965
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10966
    goto __pyx_L6;
 
10967
  }
 
10968
  __pyx_L6:;
 
10969
 
 
10970
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1501
 
10971
 *         raise TypeError('Unknown special type "%s"' % name)
 
10972
 * 
 
10973
 *     hintkey = 'type' if name is not 'enum' else 'vals'             # <<<<<<<<<<<<<<
 
10974
 * 
 
10975
 *     if dt.fields is not None and name in dt.fields:
 
10976
 */
 
10977
  __pyx_t_2 = (__pyx_v_name != ((PyObject *)__pyx_n_s__enum));
 
10978
  if (__pyx_t_2) {
 
10979
    __Pyx_INCREF(((PyObject *)__pyx_n_s__type));
 
10980
    __pyx_t_3 = __pyx_n_s__type;
 
10981
  } else {
 
10982
    __Pyx_INCREF(((PyObject *)__pyx_n_s__vals));
 
10983
    __pyx_t_3 = __pyx_n_s__vals;
 
10984
  }
 
10985
  __Pyx_DECREF(__pyx_v_hintkey);
 
10986
  __pyx_v_hintkey = ((PyObject *)__pyx_t_3);
 
10987
  __pyx_t_3 = 0;
 
10988
 
 
10989
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1503
 
10990
 *     hintkey = 'type' if name is not 'enum' else 'vals'
 
10991
 * 
 
10992
 *     if dt.fields is not None and name in dt.fields:             # <<<<<<<<<<<<<<
 
10993
 *         tpl = dt.fields[name]
 
10994
 *         if len(tpl) == 3:
 
10995
 */
 
10996
  __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
10997
  __Pyx_GOTREF(__pyx_t_3);
 
10998
  __pyx_t_2 = (__pyx_t_3 != Py_None);
 
10999
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11000
  if (__pyx_t_2) {
 
11001
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11002
    __Pyx_GOTREF(__pyx_t_3);
 
11003
    __pyx_t_7 = ((PySequence_Contains(__pyx_t_3, __pyx_v_name))); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11004
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11005
    __pyx_t_8 = __pyx_t_7;
 
11006
  } else {
 
11007
    __pyx_t_8 = __pyx_t_2;
 
11008
  }
 
11009
  if (__pyx_t_8) {
 
11010
 
 
11011
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1504
 
11012
 * 
 
11013
 *     if dt.fields is not None and name in dt.fields:
 
11014
 *         tpl = dt.fields[name]             # <<<<<<<<<<<<<<
 
11015
 *         if len(tpl) == 3:
 
11016
 *             hint_dict = tpl[2]
 
11017
 */
 
11018
    __pyx_t_3 = PyObject_GetAttr(__pyx_v_dt, __pyx_n_s__fields); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11019
    __Pyx_GOTREF(__pyx_t_3);
 
11020
    __pyx_t_5 = PyObject_GetItem(__pyx_t_3, __pyx_v_name); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11021
    __Pyx_GOTREF(__pyx_t_5);
 
11022
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11023
    __Pyx_DECREF(__pyx_v_tpl);
 
11024
    __pyx_v_tpl = __pyx_t_5;
 
11025
    __pyx_t_5 = 0;
 
11026
 
 
11027
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1505
 
11028
 *     if dt.fields is not None and name in dt.fields:
 
11029
 *         tpl = dt.fields[name]
 
11030
 *         if len(tpl) == 3:             # <<<<<<<<<<<<<<
 
11031
 *             hint_dict = tpl[2]
 
11032
 *             if hintkey in hint_dict:
 
11033
 */
 
11034
    __pyx_t_1 = PyObject_Length(__pyx_v_tpl); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11035
    __pyx_t_8 = (__pyx_t_1 == 3);
 
11036
    if (__pyx_t_8) {
 
11037
 
 
11038
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1506
 
11039
 *         tpl = dt.fields[name]
 
11040
 *         if len(tpl) == 3:
 
11041
 *             hint_dict = tpl[2]             # <<<<<<<<<<<<<<
 
11042
 *             if hintkey in hint_dict:
 
11043
 *                 return hint_dict[hintkey]
 
11044
 */
 
11045
      __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_tpl, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1506; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11046
      __Pyx_GOTREF(__pyx_t_5);
 
11047
      __Pyx_DECREF(__pyx_v_hint_dict);
 
11048
      __pyx_v_hint_dict = __pyx_t_5;
 
11049
      __pyx_t_5 = 0;
 
11050
 
 
11051
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1507
 
11052
 *         if len(tpl) == 3:
 
11053
 *             hint_dict = tpl[2]
 
11054
 *             if hintkey in hint_dict:             # <<<<<<<<<<<<<<
 
11055
 *                 return hint_dict[hintkey]
 
11056
 * 
 
11057
 */
 
11058
      __pyx_t_8 = ((PySequence_Contains(__pyx_v_hint_dict, __pyx_v_hintkey))); if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11059
      if (__pyx_t_8) {
 
11060
 
 
11061
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1508
 
11062
 *             hint_dict = tpl[2]
 
11063
 *             if hintkey in hint_dict:
 
11064
 *                 return hint_dict[hintkey]             # <<<<<<<<<<<<<<
 
11065
 * 
 
11066
 *     return None
 
11067
 */
 
11068
        __Pyx_XDECREF(__pyx_r);
 
11069
        __pyx_t_5 = PyObject_GetItem(__pyx_v_hint_dict, __pyx_v_hintkey); if (!__pyx_t_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11070
        __Pyx_GOTREF(__pyx_t_5);
 
11071
        __pyx_r = __pyx_t_5;
 
11072
        __pyx_t_5 = 0;
 
11073
        goto __pyx_L0;
 
11074
        goto __pyx_L9;
 
11075
      }
 
11076
      __pyx_L9:;
 
11077
      goto __pyx_L8;
 
11078
    }
 
11079
    __pyx_L8:;
 
11080
    goto __pyx_L7;
 
11081
  }
 
11082
  __pyx_L7:;
 
11083
 
 
11084
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1510
 
11085
 *                 return hint_dict[hintkey]
 
11086
 * 
 
11087
 *     return None             # <<<<<<<<<<<<<<
 
11088
 * 
 
11089
 * def convert(TypeID src not None, TypeID dst not None, size_t n,
 
11090
 */
 
11091
  __Pyx_XDECREF(__pyx_r);
 
11092
  __Pyx_INCREF(Py_None);
 
11093
  __pyx_r = Py_None;
 
11094
  goto __pyx_L0;
 
11095
 
 
11096
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
11097
  goto __pyx_L0;
 
11098
  __pyx_L1_error:;
 
11099
  __Pyx_XDECREF(__pyx_t_3);
 
11100
  __Pyx_XDECREF(__pyx_t_4);
 
11101
  __Pyx_XDECREF(__pyx_t_5);
 
11102
  __Pyx_XDECREF(__pyx_t_6);
 
11103
  __Pyx_AddTraceback("h5py.h5t.check_dtype");
 
11104
  __pyx_r = NULL;
 
11105
  __pyx_L0:;
 
11106
  __Pyx_DECREF(__pyx_v_kwds);
 
11107
  __Pyx_DECREF(__pyx_v_name);
 
11108
  __Pyx_DECREF(__pyx_v_dt);
 
11109
  __Pyx_DECREF(__pyx_v_hintkey);
 
11110
  __Pyx_DECREF(__pyx_v_tpl);
 
11111
  __Pyx_DECREF(__pyx_v_hint_dict);
 
11112
  __Pyx_XGIVEREF(__pyx_r);
 
11113
  __Pyx_RefNannyFinishContext();
 
11114
  return __pyx_r;
 
11115
}
 
11116
 
 
11117
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1512
 
11118
 *     return None
 
11119
 * 
 
11120
 * def convert(TypeID src not None, TypeID dst not None, size_t n,             # <<<<<<<<<<<<<<
 
11121
 *             ndarray buf not None, ndarray bkg=None, PropID dxpl=None):
 
11122
 *     """ (TypeID src, TypeID dst, UINT n, NDARRAY buf, NDARRAY bkg=None,
 
11123
 */
 
11124
 
 
11125
static PyObject *__pyx_pf_4h5py_3h5t_convert(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
11126
static char __pyx_doc_4h5py_3h5t_convert[] = " (TypeID src, TypeID dst, UINT n, NDARRAY buf, NDARRAY bkg=None,\n    PropID dxpl=None)\n\n    Convert n contiguous elements of a buffer in-place.  The array dtype\n    is ignored.  The backing buffer is optional; for conversion of compound\n    types, a temporary copy of conversion buffer will used for backing if\n    one is not supplied.\n    ";
 
11127
static PyObject *__pyx_pf_4h5py_3h5t_convert(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
11128
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_src = 0;
 
11129
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_dst = 0;
 
11130
  size_t __pyx_v_n;
 
11131
  PyArrayObject *__pyx_v_buf = 0;
 
11132
  PyArrayObject *__pyx_v_bkg = 0;
 
11133
  struct __pyx_obj_4h5py_3h5p_PropID *__pyx_v_dxpl = 0;
 
11134
  void *__pyx_v_bkg_;
 
11135
  void *__pyx_v_buf_;
 
11136
  PyObject *__pyx_r = NULL;
 
11137
  int __pyx_t_1;
 
11138
  PyObject *__pyx_t_2 = NULL;
 
11139
  PyObject *__pyx_t_3 = NULL;
 
11140
  PyObject *__pyx_t_4 = NULL;
 
11141
  int __pyx_t_5;
 
11142
  int __pyx_t_6;
 
11143
  int __pyx_t_7;
 
11144
  herr_t __pyx_t_8;
 
11145
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__src,&__pyx_n_s__dst,&__pyx_n_s__n,&__pyx_n_s__buf,&__pyx_n_s__bkg,&__pyx_n_s__dxpl,0};
 
11146
  __Pyx_RefNannySetupContext("convert");
 
11147
  __pyx_self = __pyx_self;
 
11148
  if (unlikely(__pyx_kwds)) {
 
11149
 
 
11150
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1513
 
11151
 * 
 
11152
 * def convert(TypeID src not None, TypeID dst not None, size_t n,
 
11153
 *             ndarray buf not None, ndarray bkg=None, PropID dxpl=None):             # <<<<<<<<<<<<<<
 
11154
 *     """ (TypeID src, TypeID dst, UINT n, NDARRAY buf, NDARRAY bkg=None,
 
11155
 *     PropID dxpl=None)
 
11156
 */
 
11157
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
11158
    PyObject* values[6] = {0,0,0,0,0,0};
 
11159
    values[4] = (PyObject*)((PyArrayObject *)Py_None);
 
11160
    values[5] = (PyObject*)((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
 
11161
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
11162
      case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
 
11163
      case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
 
11164
      case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
 
11165
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
 
11166
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
11167
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
11168
      case  0: break;
 
11169
      default: goto __pyx_L5_argtuple_error;
 
11170
    }
 
11171
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
11172
      case  0:
 
11173
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__src);
 
11174
      if (likely(values[0])) kw_args--;
 
11175
      else goto __pyx_L5_argtuple_error;
 
11176
      case  1:
 
11177
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dst);
 
11178
      if (likely(values[1])) kw_args--;
 
11179
      else {
 
11180
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11181
      }
 
11182
      case  2:
 
11183
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__n);
 
11184
      if (likely(values[2])) kw_args--;
 
11185
      else {
 
11186
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11187
      }
 
11188
      case  3:
 
11189
      values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__buf);
 
11190
      if (likely(values[3])) kw_args--;
 
11191
      else {
 
11192
        __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, 3); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11193
      }
 
11194
      case  4:
 
11195
      if (kw_args > 0) {
 
11196
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__bkg);
 
11197
        if (unlikely(value)) { values[4] = value; kw_args--; }
 
11198
      }
 
11199
      case  5:
 
11200
      if (kw_args > 0) {
 
11201
        PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dxpl);
 
11202
        if (unlikely(value)) { values[5] = value; kw_args--; }
 
11203
      }
 
11204
    }
 
11205
    if (unlikely(kw_args > 0)) {
 
11206
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "convert") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11207
    }
 
11208
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
 
11209
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[1]);
 
11210
    __pyx_v_n = __Pyx_PyInt_AsSize_t(values[2]); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11211
    __pyx_v_buf = ((PyArrayObject *)values[3]);
 
11212
    __pyx_v_bkg = ((PyArrayObject *)values[4]);
 
11213
    __pyx_v_dxpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)values[5]);
 
11214
  } else {
 
11215
    __pyx_v_bkg = ((PyArrayObject *)Py_None);
 
11216
    __pyx_v_dxpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)Py_None);
 
11217
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
11218
      case  6:
 
11219
      __pyx_v_dxpl = ((struct __pyx_obj_4h5py_3h5p_PropID *)PyTuple_GET_ITEM(__pyx_args, 5));
 
11220
      case  5:
 
11221
      __pyx_v_bkg = ((PyArrayObject *)PyTuple_GET_ITEM(__pyx_args, 4));
 
11222
      case  4:
 
11223
      __pyx_v_buf = ((PyArrayObject *)PyTuple_GET_ITEM(__pyx_args, 3));
 
11224
      __pyx_v_n = __Pyx_PyInt_AsSize_t(PyTuple_GET_ITEM(__pyx_args, 2)); if (unlikely((__pyx_v_n == (size_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11225
      __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 1));
 
11226
      __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 0));
 
11227
      break;
 
11228
      default: goto __pyx_L5_argtuple_error;
 
11229
    }
 
11230
  }
 
11231
  goto __pyx_L4_argument_unpacking_done;
 
11232
  __pyx_L5_argtuple_error:;
 
11233
  __Pyx_RaiseArgtupleInvalid("convert", 0, 4, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11234
  __pyx_L3_error:;
 
11235
  __Pyx_AddTraceback("h5py.h5t.convert");
 
11236
  return NULL;
 
11237
  __pyx_L4_argument_unpacking_done:;
 
11238
  __Pyx_INCREF((PyObject *)__pyx_v_src);
 
11239
  __Pyx_INCREF((PyObject *)__pyx_v_dst);
 
11240
  __Pyx_INCREF((PyObject *)__pyx_v_buf);
 
11241
  __Pyx_INCREF((PyObject *)__pyx_v_bkg);
 
11242
  __Pyx_INCREF((PyObject *)__pyx_v_dxpl);
 
11243
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11244
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11245
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_buf), __pyx_ptype_4h5py_5numpy_ndarray, 0, "buf", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11246
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_bkg), __pyx_ptype_4h5py_5numpy_ndarray, 1, "bkg", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11247
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dxpl), __pyx_ptype_4h5py_3h5p_PropID, 1, "dxpl", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1513; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11248
 
 
11249
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1522
 
11250
 *     one is not supplied.
 
11251
 *     """
 
11252
 *     cdef void* bkg_ = NULL             # <<<<<<<<<<<<<<
 
11253
 *     cdef void* buf_ = buf.data
 
11254
 * 
 
11255
 */
 
11256
  __pyx_v_bkg_ = NULL;
 
11257
 
 
11258
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1523
 
11259
 *     """
 
11260
 *     cdef void* bkg_ = NULL
 
11261
 *     cdef void* buf_ = buf.data             # <<<<<<<<<<<<<<
 
11262
 * 
 
11263
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or
 
11264
 */
 
11265
  __pyx_v_buf_ = __pyx_v_buf->data;
 
11266
 
 
11267
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1525
 
11268
 *     cdef void* buf_ = buf.data
 
11269
 * 
 
11270
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or             # <<<<<<<<<<<<<<
 
11271
 *                         dst.detect_class(H5T_COMPOUND)):
 
11272
 *         bkg = buf.copy()
 
11273
 */
 
11274
  __pyx_t_1 = (((PyObject *)__pyx_v_bkg) == Py_None);
 
11275
  if (__pyx_t_1) {
 
11276
    __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_src), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11277
    __Pyx_GOTREF(__pyx_t_2);
 
11278
    __pyx_t_3 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11279
    __Pyx_GOTREF(__pyx_t_3);
 
11280
    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11281
    __Pyx_GOTREF(__pyx_t_4);
 
11282
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
 
11283
    __Pyx_GIVEREF(__pyx_t_3);
 
11284
    __pyx_t_3 = 0;
 
11285
    __pyx_t_3 = PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11286
    __Pyx_GOTREF(__pyx_t_3);
 
11287
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
11288
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11289
    __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11290
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11291
    if (!__pyx_t_5) {
 
11292
 
 
11293
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1526
 
11294
 * 
 
11295
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or
 
11296
 *                         dst.detect_class(H5T_COMPOUND)):             # <<<<<<<<<<<<<<
 
11297
 *         bkg = buf.copy()
 
11298
 *     if bkg is not None:
 
11299
 */
 
11300
      __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_dst), __pyx_n_s__detect_class); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11301
      __Pyx_GOTREF(__pyx_t_3);
 
11302
      __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11303
      __Pyx_GOTREF(__pyx_t_4);
 
11304
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11305
      __Pyx_GOTREF(__pyx_t_2);
 
11306
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4);
 
11307
      __Pyx_GIVEREF(__pyx_t_4);
 
11308
      __pyx_t_4 = 0;
 
11309
      __pyx_t_4 = PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11310
      __Pyx_GOTREF(__pyx_t_4);
 
11311
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11312
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
11313
      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11314
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11315
      __pyx_t_7 = __pyx_t_6;
 
11316
    } else {
 
11317
      __pyx_t_7 = __pyx_t_5;
 
11318
    }
 
11319
    __pyx_t_5 = __pyx_t_7;
 
11320
  } else {
 
11321
    __pyx_t_5 = __pyx_t_1;
 
11322
  }
 
11323
  if (__pyx_t_5) {
 
11324
 
 
11325
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1527
 
11326
 *     if bkg is None and (src.detect_class(H5T_COMPOUND) or
 
11327
 *                         dst.detect_class(H5T_COMPOUND)):
 
11328
 *         bkg = buf.copy()             # <<<<<<<<<<<<<<
 
11329
 *     if bkg is not None:
 
11330
 *         bkg_ = bkg.data
 
11331
 */
 
11332
    __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_buf), __pyx_n_s__copy); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11333
    __Pyx_GOTREF(__pyx_t_4);
 
11334
    __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11335
    __Pyx_GOTREF(__pyx_t_2);
 
11336
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11337
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_ndarray))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11338
    __Pyx_DECREF(((PyObject *)__pyx_v_bkg));
 
11339
    __pyx_v_bkg = ((PyArrayObject *)__pyx_t_2);
 
11340
    __pyx_t_2 = 0;
 
11341
    goto __pyx_L6;
 
11342
  }
 
11343
  __pyx_L6:;
 
11344
 
 
11345
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1528
 
11346
 *                         dst.detect_class(H5T_COMPOUND)):
 
11347
 *         bkg = buf.copy()
 
11348
 *     if bkg is not None:             # <<<<<<<<<<<<<<
 
11349
 *         bkg_ = bkg.data
 
11350
 * 
 
11351
 */
 
11352
  __pyx_t_5 = (((PyObject *)__pyx_v_bkg) != Py_None);
 
11353
  if (__pyx_t_5) {
 
11354
 
 
11355
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1529
 
11356
 *         bkg = buf.copy()
 
11357
 *     if bkg is not None:
 
11358
 *         bkg_ = bkg.data             # <<<<<<<<<<<<<<
 
11359
 * 
 
11360
 *     H5Tconvert(src.id, dst.id, n, buf_, bkg_, pdefault(dxpl))
 
11361
 */
 
11362
    __pyx_v_bkg_ = __pyx_v_bkg->data;
 
11363
    goto __pyx_L7;
 
11364
  }
 
11365
  __pyx_L7:;
 
11366
 
 
11367
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1531
 
11368
 *         bkg_ = bkg.data
 
11369
 * 
 
11370
 *     H5Tconvert(src.id, dst.id, n, buf_, bkg_, pdefault(dxpl))             # <<<<<<<<<<<<<<
 
11371
 * 
 
11372
 * def find(TypeID src not None, TypeID dst not None):
 
11373
 */
 
11374
  __pyx_t_8 = H5Tconvert(__pyx_v_src->__pyx_base.id, __pyx_v_dst->__pyx_base.id, __pyx_v_n, __pyx_v_buf_, __pyx_v_bkg_, __pyx_f_4h5py_3h5p_pdefault(__pyx_v_dxpl)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11375
 
 
11376
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
11377
  goto __pyx_L0;
 
11378
  __pyx_L1_error:;
 
11379
  __Pyx_XDECREF(__pyx_t_2);
 
11380
  __Pyx_XDECREF(__pyx_t_3);
 
11381
  __Pyx_XDECREF(__pyx_t_4);
 
11382
  __Pyx_AddTraceback("h5py.h5t.convert");
 
11383
  __pyx_r = NULL;
 
11384
  __pyx_L0:;
 
11385
  __Pyx_DECREF((PyObject *)__pyx_v_src);
 
11386
  __Pyx_DECREF((PyObject *)__pyx_v_dst);
 
11387
  __Pyx_DECREF((PyObject *)__pyx_v_buf);
 
11388
  __Pyx_DECREF((PyObject *)__pyx_v_bkg);
 
11389
  __Pyx_DECREF((PyObject *)__pyx_v_dxpl);
 
11390
  __Pyx_XGIVEREF(__pyx_r);
 
11391
  __Pyx_RefNannyFinishContext();
 
11392
  return __pyx_r;
 
11393
}
 
11394
 
 
11395
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1533
 
11396
 *     H5Tconvert(src.id, dst.id, n, buf_, bkg_, pdefault(dxpl))
 
11397
 * 
 
11398
 * def find(TypeID src not None, TypeID dst not None):             # <<<<<<<<<<<<<<
 
11399
 *     """ (TypeID src, TypeID dst) => TUPLE or None
 
11400
 * 
 
11401
 */
 
11402
 
 
11403
static PyObject *__pyx_pf_4h5py_3h5t_find(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
11404
static char __pyx_doc_4h5py_3h5t_find[] = " (TypeID src, TypeID dst) => TUPLE or None\n\n    Determine if a conversion path exists from src to dst.  Result is None\n    or a tuple describing the conversion path.  Currently tuple entries are:\n\n    1. INT need_bkg:    Whether this routine requires a backing buffer.\n                        Values are BKG_NO, BKG_TEMP and BKG_YES.\n    ";
 
11405
static PyObject *__pyx_pf_4h5py_3h5t_find(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
 
11406
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_src = 0;
 
11407
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_dst = 0;
 
11408
  H5T_cdata_t *__pyx_v_data;
 
11409
  H5T_conv_t __pyx_v_result;
 
11410
  PyObject *__pyx_r = NULL;
 
11411
  H5T_conv_t __pyx_t_1;
 
11412
  int __pyx_t_2;
 
11413
  PyObject *__pyx_t_3 = NULL;
 
11414
  PyObject *__pyx_t_4 = NULL;
 
11415
  PyObject *__pyx_t_5 = NULL;
 
11416
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__src,&__pyx_n_s__dst,0};
 
11417
  __Pyx_RefNannySetupContext("find");
 
11418
  __pyx_self = __pyx_self;
 
11419
  if (unlikely(__pyx_kwds)) {
 
11420
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
 
11421
    PyObject* values[2] = {0,0};
 
11422
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
11423
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
 
11424
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
 
11425
      case  0: break;
 
11426
      default: goto __pyx_L5_argtuple_error;
 
11427
    }
 
11428
    switch (PyTuple_GET_SIZE(__pyx_args)) {
 
11429
      case  0:
 
11430
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__src);
 
11431
      if (likely(values[0])) kw_args--;
 
11432
      else goto __pyx_L5_argtuple_error;
 
11433
      case  1:
 
11434
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dst);
 
11435
      if (likely(values[1])) kw_args--;
 
11436
      else {
 
11437
        __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11438
      }
 
11439
    }
 
11440
    if (unlikely(kw_args > 0)) {
 
11441
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "find") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11442
    }
 
11443
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
 
11444
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[1]);
 
11445
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
 
11446
    goto __pyx_L5_argtuple_error;
 
11447
  } else {
 
11448
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 0));
 
11449
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 1));
 
11450
  }
 
11451
  goto __pyx_L4_argument_unpacking_done;
 
11452
  __pyx_L5_argtuple_error:;
 
11453
  __Pyx_RaiseArgtupleInvalid("find", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11454
  __pyx_L3_error:;
 
11455
  __Pyx_AddTraceback("h5py.h5t.find");
 
11456
  return NULL;
 
11457
  __pyx_L4_argument_unpacking_done:;
 
11458
  __Pyx_INCREF((PyObject *)__pyx_v_src);
 
11459
  __Pyx_INCREF((PyObject *)__pyx_v_dst);
 
11460
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11461
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11462
 
 
11463
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1543
 
11464
 *     """
 
11465
 *     cdef H5T_cdata_t *data
 
11466
 *     cdef H5T_conv_t result = NULL             # <<<<<<<<<<<<<<
 
11467
 * 
 
11468
 *     try:
 
11469
 */
 
11470
  __pyx_v_result = NULL;
 
11471
 
 
11472
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1545
 
11473
 *     cdef H5T_conv_t result = NULL
 
11474
 * 
 
11475
 *     try:             # <<<<<<<<<<<<<<
 
11476
 *         result = H5Tfind(src.id, dst.id, &data)
 
11477
 *         if result == NULL:
 
11478
 */
 
11479
  {
 
11480
    PyObject *__pyx_save_exc_type, *__pyx_save_exc_value, *__pyx_save_exc_tb;
 
11481
    __Pyx_ExceptionSave(&__pyx_save_exc_type, &__pyx_save_exc_value, &__pyx_save_exc_tb);
 
11482
    __Pyx_XGOTREF(__pyx_save_exc_type);
 
11483
    __Pyx_XGOTREF(__pyx_save_exc_value);
 
11484
    __Pyx_XGOTREF(__pyx_save_exc_tb);
 
11485
    /*try:*/ {
 
11486
 
 
11487
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1546
 
11488
 * 
 
11489
 *     try:
 
11490
 *         result = H5Tfind(src.id, dst.id, &data)             # <<<<<<<<<<<<<<
 
11491
 *         if result == NULL:
 
11492
 *             return None
 
11493
 */
 
11494
      __pyx_t_1 = H5Tfind(__pyx_v_src->__pyx_base.id, __pyx_v_dst->__pyx_base.id, (&__pyx_v_data)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1546; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
11495
      __pyx_v_result = __pyx_t_1;
 
11496
 
 
11497
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1547
 
11498
 *     try:
 
11499
 *         result = H5Tfind(src.id, dst.id, &data)
 
11500
 *         if result == NULL:             # <<<<<<<<<<<<<<
 
11501
 *             return None
 
11502
 *         return (data[0].need_bkg,)
 
11503
 */
 
11504
      __pyx_t_2 = (__pyx_v_result == NULL);
 
11505
      if (__pyx_t_2) {
 
11506
 
 
11507
        /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1548
 
11508
 *         result = H5Tfind(src.id, dst.id, &data)
 
11509
 *         if result == NULL:
 
11510
 *             return None             # <<<<<<<<<<<<<<
 
11511
 *         return (data[0].need_bkg,)
 
11512
 *     except:
 
11513
 */
 
11514
        __Pyx_XDECREF(__pyx_r);
 
11515
        __Pyx_INCREF(Py_None);
 
11516
        __pyx_r = Py_None;
 
11517
        goto __pyx_L10_try_return;
 
11518
        goto __pyx_L14;
 
11519
      }
 
11520
      __pyx_L14:;
 
11521
 
 
11522
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1549
 
11523
 *         if result == NULL:
 
11524
 *             return None
 
11525
 *         return (data[0].need_bkg,)             # <<<<<<<<<<<<<<
 
11526
 *     except:
 
11527
 *         return None
 
11528
 */
 
11529
      __Pyx_XDECREF(__pyx_r);
 
11530
      __pyx_t_3 = PyInt_FromLong((__pyx_v_data[0]).need_bkg); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1549; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
11531
      __Pyx_GOTREF(__pyx_t_3);
 
11532
      __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1549; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
 
11533
      __Pyx_GOTREF(__pyx_t_4);
 
11534
      PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
 
11535
      __Pyx_GIVEREF(__pyx_t_3);
 
11536
      __pyx_t_3 = 0;
 
11537
      __pyx_r = __pyx_t_4;
 
11538
      __pyx_t_4 = 0;
 
11539
      goto __pyx_L10_try_return;
 
11540
    }
 
11541
    __Pyx_XDECREF(__pyx_save_exc_type); __pyx_save_exc_type = 0;
 
11542
    __Pyx_XDECREF(__pyx_save_exc_value); __pyx_save_exc_value = 0;
 
11543
    __Pyx_XDECREF(__pyx_save_exc_tb); __pyx_save_exc_tb = 0;
 
11544
    goto __pyx_L13_try_end;
 
11545
    __pyx_L10_try_return:;
 
11546
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
11547
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
11548
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
11549
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
11550
    goto __pyx_L0;
 
11551
    __pyx_L6_error:;
 
11552
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11553
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11554
 
 
11555
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1550
 
11556
 *             return None
 
11557
 *         return (data[0].need_bkg,)
 
11558
 *     except:             # <<<<<<<<<<<<<<
 
11559
 *         return None
 
11560
 * 
 
11561
 */
 
11562
    /*except:*/ {
 
11563
      __Pyx_AddTraceback("h5py.h5t.find");
 
11564
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1550; __pyx_clineno = __LINE__; goto __pyx_L8_except_error;}
 
11565
      __Pyx_GOTREF(__pyx_t_4);
 
11566
      __Pyx_GOTREF(__pyx_t_3);
 
11567
      __Pyx_GOTREF(__pyx_t_5);
 
11568
 
 
11569
      /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1551
 
11570
 *         return (data[0].need_bkg,)
 
11571
 *     except:
 
11572
 *         return None             # <<<<<<<<<<<<<<
 
11573
 * 
 
11574
 * # ============================================================================
 
11575
 */
 
11576
      __Pyx_XDECREF(__pyx_r);
 
11577
      __Pyx_INCREF(Py_None);
 
11578
      __pyx_r = Py_None;
 
11579
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11580
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11581
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
11582
      goto __pyx_L9_except_return;
 
11583
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
11584
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11585
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
11586
      goto __pyx_L7_exception_handled;
 
11587
    }
 
11588
    __pyx_L8_except_error:;
 
11589
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
11590
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
11591
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
11592
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
11593
    goto __pyx_L1_error;
 
11594
    __pyx_L9_except_return:;
 
11595
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
11596
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
11597
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
11598
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
11599
    goto __pyx_L0;
 
11600
    __pyx_L7_exception_handled:;
 
11601
    __Pyx_XGIVEREF(__pyx_save_exc_type);
 
11602
    __Pyx_XGIVEREF(__pyx_save_exc_value);
 
11603
    __Pyx_XGIVEREF(__pyx_save_exc_tb);
 
11604
    __Pyx_ExceptionReset(__pyx_save_exc_type, __pyx_save_exc_value, __pyx_save_exc_tb);
 
11605
    __pyx_L13_try_end:;
 
11606
  }
 
11607
 
 
11608
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
 
11609
  goto __pyx_L0;
 
11610
  __pyx_L1_error:;
 
11611
  __Pyx_XDECREF(__pyx_t_3);
 
11612
  __Pyx_XDECREF(__pyx_t_4);
 
11613
  __Pyx_XDECREF(__pyx_t_5);
 
11614
  __Pyx_AddTraceback("h5py.h5t.find");
 
11615
  __pyx_r = NULL;
 
11616
  __pyx_L0:;
 
11617
  __Pyx_DECREF((PyObject *)__pyx_v_src);
 
11618
  __Pyx_DECREF((PyObject *)__pyx_v_dst);
 
11619
  __Pyx_XGIVEREF(__pyx_r);
 
11620
  __Pyx_RefNannyFinishContext();
 
11621
  return __pyx_r;
 
11622
}
 
11623
 
 
11624
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1558
 
11625
 * import warnings
 
11626
 * 
 
11627
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
 
11628
 *     """ (DTYPE dt_in, DICT enum_vals) => DTYPE
 
11629
 * 
 
11630
 */
 
11631
 
 
11632
static PyObject *__pyx_pf_4h5py_3h5t_py_new_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
 
11633
static  PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_enum(PyObject *__pyx_v_dt_in, PyObject *__pyx_v_enum_vals, int __pyx_skip_dispatch) {
 
11634
  PyArray_Descr *__pyx_r = NULL;
 
11635
  PyObject *__pyx_t_1 = NULL;
 
11636
  PyObject *__pyx_t_2 = NULL;
 
11637
  PyObject *__pyx_t_3 = NULL;
 
11638
  __Pyx_RefNannySetupContext("py_new_enum");
 
11639
 
 
11640
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1564
 
11641
 *     """
 
11642
 *     #warnings.warn("Deprecated; use special_dtype(enum=(dtype, values)) instead", DeprecationWarning)
 
11643
 *     return special_dtype(enum = (dt_in, enum_vals))             # <<<<<<<<<<<<<<
9698
11644
 * 
9699
11645
 * cpdef dict py_get_enum(object dt):
9700
11646
 */
9701
11647
  __Pyx_XDECREF(((PyObject *)__pyx_r));
9702
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9703
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
9704
 
  if (PyDict_SetItem(__pyx_1, __pyx_kp_192, ((PyObject *)__pyx_v_enum_vals)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9705
 
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9706
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9707
 
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_1));
9708
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
9709
 
  __Pyx_INCREF(__pyx_kp_193);
9710
 
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_193);
9711
 
  __Pyx_GIVEREF(__pyx_kp_193);
9712
 
  __pyx_1 = 0;
9713
 
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9714
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
9715
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_t_1));
9716
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
9717
 
  __Pyx_INCREF(((PyObject *)__pyx_v_dt));
9718
 
  PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_dt));
9719
 
  __Pyx_GIVEREF(((PyObject *)__pyx_v_dt));
9720
 
  __pyx_t_1 = 0;
9721
 
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9722
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9723
 
  PyList_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_t_2));
9724
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
9725
 
  __pyx_t_2 = 0;
9726
 
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9727
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
9728
 
  __Pyx_INCREF(((PyObject *)__pyx_v_dt));
9729
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_dt));
9730
 
  __Pyx_GIVEREF(((PyObject *)__pyx_v_dt));
9731
 
  PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_1));
9732
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
9733
 
  __pyx_t_1 = 0;
9734
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9735
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
9736
 
  PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_t_2));
9737
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
9738
 
  __pyx_t_2 = 0;
9739
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9740
 
  __Pyx_GOTREF(__pyx_t_2);
9741
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
9742
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9743
 
  __pyx_r = ((PyArray_Descr *)__pyx_t_2);
9744
 
  __pyx_t_2 = 0;
 
11648
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11649
  __Pyx_GOTREF(__pyx_t_1);
 
11650
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11651
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
11652
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11653
  __Pyx_GOTREF(__pyx_t_3);
 
11654
  __Pyx_INCREF(__pyx_v_dt_in);
 
11655
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_dt_in);
 
11656
  __Pyx_GIVEREF(__pyx_v_dt_in);
 
11657
  __Pyx_INCREF(((PyObject *)__pyx_v_enum_vals));
 
11658
  PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_enum_vals));
 
11659
  __Pyx_GIVEREF(((PyObject *)__pyx_v_enum_vals));
 
11660
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11661
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
11662
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11663
  __Pyx_GOTREF(__pyx_t_3);
 
11664
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
11665
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
11666
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11667
  __pyx_r = ((PyArray_Descr *)__pyx_t_3);
 
11668
  __pyx_t_3 = 0;
9745
11669
  goto __pyx_L0;
9746
11670
 
9747
11671
  __pyx_r = ((PyArray_Descr *)Py_None); __Pyx_INCREF(Py_None);
9748
11672
  goto __pyx_L0;
9749
11673
  __pyx_L1_error:;
9750
 
  __Pyx_XDECREF(__pyx_1);
9751
11674
  __Pyx_XDECREF(__pyx_t_1);
9752
11675
  __Pyx_XDECREF(__pyx_t_2);
 
11676
  __Pyx_XDECREF(__pyx_t_3);
9753
11677
  __Pyx_AddTraceback("h5py.h5t.py_new_enum");
9754
11678
  __pyx_r = 0;
9755
11679
  __pyx_L0:;
9756
 
  __Pyx_XDECREF((PyObject *)__pyx_v_dt);
9757
11680
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
9758
 
  __Pyx_FinishRefcountContext();
 
11681
  __Pyx_RefNannyFinishContext();
9759
11682
  return __pyx_r;
9760
11683
}
9761
11684
 
9762
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1431
9763
 
 *         phil.release()
 
11685
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1558
 
11686
 * import warnings
9764
11687
 * 
9765
 
 * cpdef dtype py_new_enum(dtype dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
 
11688
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):             # <<<<<<<<<<<<<<
9766
11689
 *     """ (DTYPE dt_in, DICT enum_vals) => DTYPE
9767
11690
 * 
9768
11691
 */
9769
11692
 
9770
11693
static PyObject *__pyx_pf_4h5py_3h5t_py_new_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
9771
 
static char __pyx_doc_4h5py_3h5t_py_new_enum[] = " (DTYPE dt_in, DICT enum_vals) => DTYPE\n\n    Create a new NumPy integer dtype, which contains \"hint\" metadata for\n    an enum. Only dtypes of kind 'i' or 'u' are allowed.  The enum_vals\n    dict must consist only of string keys and integer values.\n    ";
 
11694
static char __pyx_doc_4h5py_3h5t_py_new_enum[] = " (DTYPE dt_in, DICT enum_vals) => DTYPE\n\n    Deprecated; use special_dtype() instead.\n    ";
9772
11695
static PyObject *__pyx_pf_4h5py_3h5t_py_new_enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
9773
 
  PyArray_Descr *__pyx_v_dt_in = 0;
 
11696
  PyObject *__pyx_v_dt_in = 0;
9774
11697
  PyObject *__pyx_v_enum_vals = 0;
9775
11698
  PyObject *__pyx_r = NULL;
9776
11699
  PyObject *__pyx_t_1 = NULL;
9777
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_dt_in,&__pyx_kp_enum_vals,0};
9778
 
  __Pyx_SetupRefcountContext("py_new_enum");
 
11700
  static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__dt_in,&__pyx_n_s__enum_vals,0};
 
11701
  __Pyx_RefNannySetupContext("py_new_enum");
9779
11702
  __pyx_self = __pyx_self;
9780
11703
  if (unlikely(__pyx_kwds)) {
9781
11704
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
9788
11711
    }
9789
11712
    switch (PyTuple_GET_SIZE(__pyx_args)) {
9790
11713
      case  0:
9791
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_dt_in);
 
11714
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dt_in);
9792
11715
      if (likely(values[0])) kw_args--;
9793
11716
      else goto __pyx_L5_argtuple_error;
9794
11717
      case  1:
9795
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_enum_vals);
 
11718
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__enum_vals);
9796
11719
      if (likely(values[1])) kw_args--;
9797
11720
      else {
9798
 
        __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11721
        __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9799
11722
      }
9800
11723
    }
9801
11724
    if (unlikely(kw_args > 0)) {
9802
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_new_enum") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11725
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "py_new_enum") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9803
11726
    }
9804
 
    __pyx_v_dt_in = ((PyArray_Descr *)values[0]);
 
11727
    __pyx_v_dt_in = values[0];
9805
11728
    __pyx_v_enum_vals = ((PyObject *)values[1]);
9806
11729
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
9807
11730
    goto __pyx_L5_argtuple_error;
9808
11731
  } else {
9809
 
    __pyx_v_dt_in = ((PyArray_Descr *)PyTuple_GET_ITEM(__pyx_args, 0));
 
11732
    __pyx_v_dt_in = PyTuple_GET_ITEM(__pyx_args, 0);
9810
11733
    __pyx_v_enum_vals = ((PyObject *)PyTuple_GET_ITEM(__pyx_args, 1));
9811
11734
  }
9812
11735
  goto __pyx_L4_argument_unpacking_done;
9813
11736
  __pyx_L5_argtuple_error:;
9814
 
  __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
 
11737
  __Pyx_RaiseArgtupleInvalid("py_new_enum", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
9815
11738
  __pyx_L3_error:;
9816
11739
  __Pyx_AddTraceback("h5py.h5t.py_new_enum");
9817
11740
  return NULL;
9818
11741
  __pyx_L4_argument_unpacking_done:;
9819
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dt_in), __pyx_ptype_4h5py_5numpy_dtype, 1, "dt_in", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9820
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_enum_vals), &PyDict_Type, 1, "enum_vals", 1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11742
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_enum_vals), &PyDict_Type, 1, "enum_vals", 1))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9821
11743
  __Pyx_XDECREF(__pyx_r);
9822
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_enum(__pyx_v_dt_in, __pyx_v_enum_vals, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11744
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_enum(__pyx_v_dt_in, __pyx_v_enum_vals, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9823
11745
  __Pyx_GOTREF(__pyx_t_1);
9824
11746
  __pyx_r = __pyx_t_1;
9825
11747
  __pyx_t_1 = 0;
9833
11755
  __pyx_r = NULL;
9834
11756
  __pyx_L0:;
9835
11757
  __Pyx_XGIVEREF(__pyx_r);
9836
 
  __Pyx_FinishRefcountContext();
 
11758
  __Pyx_RefNannyFinishContext();
9837
11759
  return __pyx_r;
9838
11760
}
9839
11761
 
9840
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1445
9841
 
 *     return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
 
11762
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1566
 
11763
 *     return special_dtype(enum = (dt_in, enum_vals))
9842
11764
 * 
9843
11765
 * cpdef dict py_get_enum(object dt):             # <<<<<<<<<<<<<<
9844
11766
 *     """ (DTYPE dt_in) => DICT
9847
11769
 
9848
11770
static PyObject *__pyx_pf_4h5py_3h5t_py_get_enum(PyObject *__pyx_self, PyObject *__pyx_v_dt); /*proto*/
9849
11771
static  PyObject *__pyx_f_4h5py_3h5t_py_get_enum(PyObject *__pyx_v_dt, int __pyx_skip_dispatch) {
9850
 
  PyObject *__pyx_v_tpl;
9851
 
  PyObject *__pyx_v_info_dict;
9852
11772
  PyObject *__pyx_r = NULL;
9853
 
  PyObject *__pyx_1 = 0;
9854
11773
  PyObject *__pyx_t_1 = NULL;
9855
11774
  PyObject *__pyx_t_2 = NULL;
9856
 
  int __pyx_t_3;
9857
 
  int __pyx_t_4;
9858
 
  int __pyx_t_5;
9859
 
  Py_ssize_t __pyx_t_6;
9860
 
  __Pyx_SetupRefcountContext("py_get_enum");
9861
 
  __pyx_v_tpl = Py_None; __Pyx_INCREF(Py_None);
9862
 
  __pyx_v_info_dict = Py_None; __Pyx_INCREF(Py_None);
 
11775
  PyObject *__pyx_t_3 = NULL;
 
11776
  __Pyx_RefNannySetupContext("py_get_enum");
9863
11777
 
9864
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1452
 
11778
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1572
9865
11779
 *     """
9866
 
 * 
9867
 
 *     if dt.kind != 'i' and dt.kind != 'u':             # <<<<<<<<<<<<<<
9868
 
 *         return None
9869
 
 * 
9870
 
 */
9871
 
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_dt, __pyx_kp_kind); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9872
 
  __Pyx_GOTREF(__pyx_t_1);
9873
 
  __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_kp_194, Py_NE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9874
 
  __Pyx_GOTREF(__pyx_t_2);
9875
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9876
 
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9877
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9878
 
  if (__pyx_t_3) {
9879
 
    __pyx_t_2 = PyObject_GetAttr(__pyx_v_dt, __pyx_kp_kind); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9880
 
    __Pyx_GOTREF(__pyx_t_2);
9881
 
    __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_kp_195, Py_NE); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9882
 
    __Pyx_GOTREF(__pyx_t_1);
9883
 
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9884
 
    __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9885
 
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9886
 
    __pyx_t_5 = __pyx_t_4;
9887
 
  } else {
9888
 
    __pyx_t_5 = __pyx_t_3;
9889
 
  }
9890
 
  if (__pyx_t_5) {
9891
 
 
9892
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1453
9893
 
 * 
9894
 
 *     if dt.kind != 'i' and dt.kind != 'u':
9895
 
 *         return None             # <<<<<<<<<<<<<<
9896
 
 * 
9897
 
 *     if dt.fields is not None and 'enum' in dt.fields:
9898
 
 */
9899
 
    __Pyx_XDECREF(((PyObject *)__pyx_r));
9900
 
    __Pyx_INCREF(Py_None);
9901
 
    __pyx_r = ((PyObject *)Py_None);
9902
 
    goto __pyx_L0;
9903
 
    goto __pyx_L3;
9904
 
  }
9905
 
  __pyx_L3:;
9906
 
 
9907
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1455
9908
 
 *         return None
9909
 
 * 
9910
 
 *     if dt.fields is not None and 'enum' in dt.fields:             # <<<<<<<<<<<<<<
9911
 
 *         tpl = dt.fields['enum']
9912
 
 *         if len(tpl) == 3:
9913
 
 */
9914
 
  __pyx_t_1 = PyObject_GetAttr(__pyx_v_dt, __pyx_kp_fields); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9915
 
  __Pyx_GOTREF(__pyx_t_1);
9916
 
  __pyx_t_5 = (__pyx_t_1 != Py_None);
9917
 
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9918
 
  if (__pyx_t_5) {
9919
 
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_dt, __pyx_kp_fields); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9920
 
    __Pyx_GOTREF(__pyx_t_1);
9921
 
    __pyx_t_3 = (PySequence_Contains(__pyx_t_1, __pyx_kp_196)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9922
 
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9923
 
    __pyx_t_4 = __pyx_t_3;
9924
 
  } else {
9925
 
    __pyx_t_4 = __pyx_t_5;
9926
 
  }
9927
 
  if (__pyx_t_4) {
9928
 
 
9929
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1456
9930
 
 * 
9931
 
 *     if dt.fields is not None and 'enum' in dt.fields:
9932
 
 *         tpl = dt.fields['enum']             # <<<<<<<<<<<<<<
9933
 
 *         if len(tpl) == 3:
9934
 
 *             info_dict = tpl[2]
9935
 
 */
9936
 
    __pyx_t_1 = PyObject_GetAttr(__pyx_v_dt, __pyx_kp_fields); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9937
 
    __Pyx_GOTREF(__pyx_t_1);
9938
 
    __pyx_1 = PyObject_GetItem(__pyx_t_1, __pyx_kp_197); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9939
 
    __Pyx_GOTREF(__pyx_1);
9940
 
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9941
 
    __Pyx_DECREF(__pyx_v_tpl);
9942
 
    __pyx_v_tpl = __pyx_1;
9943
 
    __pyx_1 = 0;
9944
 
 
9945
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1457
9946
 
 *     if dt.fields is not None and 'enum' in dt.fields:
9947
 
 *         tpl = dt.fields['enum']
9948
 
 *         if len(tpl) == 3:             # <<<<<<<<<<<<<<
9949
 
 *             info_dict = tpl[2]
9950
 
 *             if 'vals' in info_dict:
9951
 
 */
9952
 
    __pyx_t_6 = PyObject_Length(__pyx_v_tpl); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9953
 
    __pyx_t_4 = (__pyx_t_6 == 3);
9954
 
    if (__pyx_t_4) {
9955
 
 
9956
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1458
9957
 
 *         tpl = dt.fields['enum']
9958
 
 *         if len(tpl) == 3:
9959
 
 *             info_dict = tpl[2]             # <<<<<<<<<<<<<<
9960
 
 *             if 'vals' in info_dict:
9961
 
 *                 return info_dict['vals']
9962
 
 */
9963
 
      __pyx_1 = __Pyx_GetItemInt(__pyx_v_tpl, 2, sizeof(long), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9964
 
      __Pyx_GOTREF(__pyx_1);
9965
 
      __Pyx_DECREF(__pyx_v_info_dict);
9966
 
      __pyx_v_info_dict = __pyx_1;
9967
 
      __pyx_1 = 0;
9968
 
 
9969
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1459
9970
 
 *         if len(tpl) == 3:
9971
 
 *             info_dict = tpl[2]
9972
 
 *             if 'vals' in info_dict:             # <<<<<<<<<<<<<<
9973
 
 *                 return info_dict['vals']
9974
 
 * 
9975
 
 */
9976
 
      __pyx_t_4 = (PySequence_Contains(__pyx_v_info_dict, __pyx_kp_198)); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9977
 
      if (__pyx_t_4) {
9978
 
 
9979
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1460
9980
 
 *             info_dict = tpl[2]
9981
 
 *             if 'vals' in info_dict:
9982
 
 *                 return info_dict['vals']             # <<<<<<<<<<<<<<
9983
 
 * 
9984
 
 *     return None
9985
 
 */
9986
 
        __Pyx_XDECREF(((PyObject *)__pyx_r));
9987
 
        __pyx_1 = PyObject_GetItem(__pyx_v_info_dict, __pyx_kp_199); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9988
 
        __Pyx_GOTREF(__pyx_1);
9989
 
        if (!(likely(PyDict_CheckExact(__pyx_1)) || (__pyx_1) == Py_None || (PyErr_Format(PyExc_TypeError, "Expected dict, got %s", Py_TYPE(__pyx_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
9990
 
        __pyx_r = ((PyObject *)__pyx_1);
9991
 
        __pyx_1 = 0;
9992
 
        goto __pyx_L0;
9993
 
        goto __pyx_L6;
9994
 
      }
9995
 
      __pyx_L6:;
9996
 
      goto __pyx_L5;
9997
 
    }
9998
 
    __pyx_L5:;
9999
 
    goto __pyx_L4;
10000
 
  }
10001
 
  __pyx_L4:;
10002
 
 
10003
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1462
10004
 
 *                 return info_dict['vals']
10005
 
 * 
10006
 
 *     return None             # <<<<<<<<<<<<<<
 
11780
 *     #warnings.warn("Deprecated; use check_dtype(enum=dtype) instead", DeprecationWarning)
 
11781
 *     return check_dtype(enum=dt)             # <<<<<<<<<<<<<<
10007
11782
 * 
10008
11783
 * cpdef dtype py_new_vlen(object kind):
10009
11784
 */
10010
11785
  __Pyx_XDECREF(((PyObject *)__pyx_r));
10011
 
  __Pyx_INCREF(Py_None);
10012
 
  __pyx_r = ((PyObject *)Py_None);
 
11786
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11787
  __Pyx_GOTREF(__pyx_t_1);
 
11788
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11789
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
11790
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__enum), __pyx_v_dt) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11791
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11792
  __Pyx_GOTREF(__pyx_t_3);
 
11793
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
11794
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
11795
  if (!(likely(PyDict_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected dict, got %.200s", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11796
  __pyx_r = ((PyObject *)__pyx_t_3);
 
11797
  __pyx_t_3 = 0;
10013
11798
  goto __pyx_L0;
10014
11799
 
10015
11800
  __pyx_r = ((PyObject *)Py_None); __Pyx_INCREF(Py_None);
10016
11801
  goto __pyx_L0;
10017
11802
  __pyx_L1_error:;
10018
 
  __Pyx_XDECREF(__pyx_1);
10019
11803
  __Pyx_XDECREF(__pyx_t_1);
10020
11804
  __Pyx_XDECREF(__pyx_t_2);
 
11805
  __Pyx_XDECREF(__pyx_t_3);
10021
11806
  __Pyx_AddTraceback("h5py.h5t.py_get_enum");
10022
11807
  __pyx_r = 0;
10023
11808
  __pyx_L0:;
10024
 
  __Pyx_DECREF(__pyx_v_tpl);
10025
 
  __Pyx_DECREF(__pyx_v_info_dict);
10026
11809
  __Pyx_XGIVEREF(__pyx_r);
10027
 
  __Pyx_FinishRefcountContext();
 
11810
  __Pyx_RefNannyFinishContext();
10028
11811
  return __pyx_r;
10029
11812
}
10030
11813
 
10031
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1445
10032
 
 *     return dtype((dt, [( ({'vals': enum_vals},'enum'), dt )] ))
 
11814
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1566
 
11815
 *     return special_dtype(enum = (dt_in, enum_vals))
10033
11816
 * 
10034
11817
 * cpdef dict py_get_enum(object dt):             # <<<<<<<<<<<<<<
10035
11818
 *     """ (DTYPE dt_in) => DICT
10037
11820
 */
10038
11821
 
10039
11822
static PyObject *__pyx_pf_4h5py_3h5t_py_get_enum(PyObject *__pyx_self, PyObject *__pyx_v_dt); /*proto*/
10040
 
static char __pyx_doc_4h5py_3h5t_py_get_enum[] = " (DTYPE dt_in) => DICT\n\n    Determine the enum values associated with a \"hinted\" NumPy integer type.\n    Returns None if the type does not contain hints, or is of the wrong kind.\n    ";
 
11823
static char __pyx_doc_4h5py_3h5t_py_get_enum[] = " (DTYPE dt_in) => DICT\n\n    Deprecated; use check_dtype() instead.\n    ";
10041
11824
static PyObject *__pyx_pf_4h5py_3h5t_py_get_enum(PyObject *__pyx_self, PyObject *__pyx_v_dt) {
10042
11825
  PyObject *__pyx_r = NULL;
10043
11826
  PyObject *__pyx_t_1 = NULL;
10044
 
  __Pyx_SetupRefcountContext("py_get_enum");
 
11827
  __Pyx_RefNannySetupContext("py_get_enum");
10045
11828
  __pyx_self = __pyx_self;
10046
11829
  __Pyx_XDECREF(__pyx_r);
10047
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_get_enum(__pyx_v_dt, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11830
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_get_enum(__pyx_v_dt, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10048
11831
  __Pyx_GOTREF(__pyx_t_1);
10049
11832
  __pyx_r = __pyx_t_1;
10050
11833
  __pyx_t_1 = 0;
10058
11841
  __pyx_r = NULL;
10059
11842
  __pyx_L0:;
10060
11843
  __Pyx_XGIVEREF(__pyx_r);
10061
 
  __Pyx_FinishRefcountContext();
 
11844
  __Pyx_RefNannyFinishContext();
10062
11845
  return __pyx_r;
10063
11846
}
10064
11847
 
10065
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1464
10066
 
 *     return None
 
11848
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1574
 
11849
 *     return check_dtype(enum=dt)
10067
11850
 * 
10068
11851
 * cpdef dtype py_new_vlen(object kind):             # <<<<<<<<<<<<<<
10069
11852
 *     """ (OBJECT kind) => DTYPE
10073
11856
static PyObject *__pyx_pf_4h5py_3h5t_py_new_vlen(PyObject *__pyx_self, PyObject *__pyx_v_kind); /*proto*/
10074
11857
static  PyArray_Descr *__pyx_f_4h5py_3h5t_py_new_vlen(PyObject *__pyx_v_kind, int __pyx_skip_dispatch) {
10075
11858
  PyArray_Descr *__pyx_r = NULL;
10076
 
  PyObject *__pyx_1 = 0;
10077
 
  int __pyx_t_1;
 
11859
  PyObject *__pyx_t_1 = NULL;
10078
11860
  PyObject *__pyx_t_2 = NULL;
10079
11861
  PyObject *__pyx_t_3 = NULL;
10080
 
  __Pyx_SetupRefcountContext("py_new_vlen");
10081
 
 
10082
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1471
10083
 
 *     Python string object (str) is supported.
10084
 
 *     """
10085
 
 *     if kind is not str:             # <<<<<<<<<<<<<<
10086
 
 *         raise NotImplementedError("Only string vlens are currently supported")
10087
 
 * 
10088
 
 */
10089
 
  __pyx_t_1 = (__pyx_v_kind != ((PyObject *)((PyObject*)&PyString_Type)));
10090
 
  if (__pyx_t_1) {
10091
 
 
10092
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1472
10093
 
 *     """
10094
 
 *     if kind is not str:
10095
 
 *         raise NotImplementedError("Only string vlens are currently supported")             # <<<<<<<<<<<<<<
10096
 
 * 
10097
 
 *     return dtype(('O', [( ({'type': kind},'vlen'), 'O' )] ))
10098
 
 */
10099
 
    __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10100
 
    __Pyx_GOTREF(((PyObject *)__pyx_t_2));
10101
 
    __Pyx_INCREF(__pyx_kp_200);
10102
 
    PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_200);
10103
 
    __Pyx_GIVEREF(__pyx_kp_200);
10104
 
    __pyx_t_3 = PyObject_Call(__pyx_builtin_NotImplementedError, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10105
 
    __Pyx_GOTREF(__pyx_t_3);
10106
 
    __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
10107
 
    __Pyx_Raise(__pyx_t_3, 0, 0);
10108
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10109
 
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10110
 
    goto __pyx_L3;
10111
 
  }
10112
 
  __pyx_L3:;
10113
 
 
10114
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1474
10115
 
 *         raise NotImplementedError("Only string vlens are currently supported")
10116
 
 * 
10117
 
 *     return dtype(('O', [( ({'type': kind},'vlen'), 'O' )] ))             # <<<<<<<<<<<<<<
 
11862
  __Pyx_RefNannySetupContext("py_new_vlen");
 
11863
 
 
11864
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1580
 
11865
 *     """
 
11866
 *     #warnings.warn("Deprecated; use special_dtype(vlen=basetype) instead", DeprecationWarning)
 
11867
 *     return special_dtype(vlen=kind)             # <<<<<<<<<<<<<<
10118
11868
 * 
10119
11869
 * cpdef object py_get_vlen(object dt_in):
10120
11870
 */
10121
11871
  __Pyx_XDECREF(((PyObject *)__pyx_r));
10122
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10123
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
10124
 
  if (PyDict_SetItem(__pyx_1, __pyx_kp_202, __pyx_v_kind) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10125
 
  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10126
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
10127
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_1));
10128
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
10129
 
  __Pyx_INCREF(__pyx_kp_203);
10130
 
  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_kp_203);
10131
 
  __Pyx_GIVEREF(__pyx_kp_203);
10132
 
  __pyx_1 = 0;
10133
 
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10134
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
10135
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_t_3));
10136
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
10137
 
  __Pyx_INCREF(__pyx_kp_204);
10138
 
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_kp_204);
10139
 
  __Pyx_GIVEREF(__pyx_kp_204);
10140
 
  __pyx_t_3 = 0;
10141
 
  __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10142
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
10143
 
  PyList_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_2));
10144
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
10145
 
  __pyx_t_2 = 0;
10146
 
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10147
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
10148
 
  __Pyx_INCREF(__pyx_kp_201);
10149
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_201);
10150
 
  __Pyx_GIVEREF(__pyx_kp_201);
10151
 
  PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_t_3));
10152
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
10153
 
  __pyx_t_3 = 0;
10154
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10155
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
10156
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_2));
10157
 
  __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
10158
 
  __pyx_t_2 = 0;
10159
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10160
 
  __Pyx_GOTREF(__pyx_t_2);
10161
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
10162
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10163
 
  __pyx_r = ((PyArray_Descr *)__pyx_t_2);
10164
 
  __pyx_t_2 = 0;
 
11872
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__special_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11873
  __Pyx_GOTREF(__pyx_t_1);
 
11874
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11875
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
11876
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_kind) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11877
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11878
  __Pyx_GOTREF(__pyx_t_3);
 
11879
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
11880
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
11881
  if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_4h5py_5numpy_dtype))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11882
  __pyx_r = ((PyArray_Descr *)__pyx_t_3);
 
11883
  __pyx_t_3 = 0;
10165
11884
  goto __pyx_L0;
10166
11885
 
10167
11886
  __pyx_r = ((PyArray_Descr *)Py_None); __Pyx_INCREF(Py_None);
10168
11887
  goto __pyx_L0;
10169
11888
  __pyx_L1_error:;
10170
 
  __Pyx_XDECREF(__pyx_1);
 
11889
  __Pyx_XDECREF(__pyx_t_1);
10171
11890
  __Pyx_XDECREF(__pyx_t_2);
10172
11891
  __Pyx_XDECREF(__pyx_t_3);
10173
11892
  __Pyx_AddTraceback("h5py.h5t.py_new_vlen");
10174
11893
  __pyx_r = 0;
10175
11894
  __pyx_L0:;
10176
11895
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
10177
 
  __Pyx_FinishRefcountContext();
 
11896
  __Pyx_RefNannyFinishContext();
10178
11897
  return __pyx_r;
10179
11898
}
10180
11899
 
10181
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1464
10182
 
 *     return None
 
11900
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1574
 
11901
 *     return check_dtype(enum=dt)
10183
11902
 * 
10184
11903
 * cpdef dtype py_new_vlen(object kind):             # <<<<<<<<<<<<<<
10185
11904
 *     """ (OBJECT kind) => DTYPE
10187
11906
 */
10188
11907
 
10189
11908
static PyObject *__pyx_pf_4h5py_3h5t_py_new_vlen(PyObject *__pyx_self, PyObject *__pyx_v_kind); /*proto*/
10190
 
static char __pyx_doc_4h5py_3h5t_py_new_vlen[] = " (OBJECT kind) => DTYPE\n\n    Create a new NumPy object dtype, which contains \"hint\" metadata\n    identifying the proper HDF5 vlen base type.  For now, only the native\n    Python string object (str) is supported.\n    ";
 
11909
static char __pyx_doc_4h5py_3h5t_py_new_vlen[] = " (OBJECT kind) => DTYPE\n\n    Deprecated; use special_dtype() instead.\n    ";
10191
11910
static PyObject *__pyx_pf_4h5py_3h5t_py_new_vlen(PyObject *__pyx_self, PyObject *__pyx_v_kind) {
10192
11911
  PyObject *__pyx_r = NULL;
10193
11912
  PyObject *__pyx_t_1 = NULL;
10194
 
  __Pyx_SetupRefcountContext("py_new_vlen");
 
11913
  __Pyx_RefNannySetupContext("py_new_vlen");
10195
11914
  __pyx_self = __pyx_self;
10196
11915
  __Pyx_XDECREF(__pyx_r);
10197
 
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_vlen(__pyx_v_kind, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11916
  __pyx_t_1 = ((PyObject *)__pyx_f_4h5py_3h5t_py_new_vlen(__pyx_v_kind, 0)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10198
11917
  __Pyx_GOTREF(__pyx_t_1);
10199
11918
  __pyx_r = __pyx_t_1;
10200
11919
  __pyx_t_1 = 0;
10208
11927
  __pyx_r = NULL;
10209
11928
  __pyx_L0:;
10210
11929
  __Pyx_XGIVEREF(__pyx_r);
10211
 
  __Pyx_FinishRefcountContext();
 
11930
  __Pyx_RefNannyFinishContext();
10212
11931
  return __pyx_r;
10213
11932
}
10214
11933
 
10215
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1476
10216
 
 *     return dtype(('O', [( ({'type': kind},'vlen'), 'O' )] ))
 
11934
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1582
 
11935
 *     return special_dtype(vlen=kind)
10217
11936
 * 
10218
11937
 * cpdef object py_get_vlen(object dt_in):             # <<<<<<<<<<<<<<
10219
11938
 *     """ (OBJECT dt_in) => TYPE
10222
11941
 
10223
11942
static PyObject *__pyx_pf_4h5py_3h5t_py_get_vlen(PyObject *__pyx_self, PyObject *__pyx_v_dt_in); /*proto*/
10224
11943
static  PyObject *__pyx_f_4h5py_3h5t_py_get_vlen(PyObject *__pyx_v_dt_in, int __pyx_skip_dispatch) {
10225
 
  PyArray_Descr *__pyx_v_dt = 0;
10226
 
  PyObject *__pyx_v_tpl;
10227
 
  PyObject *__pyx_v_hint_dict;
10228
11944
  PyObject *__pyx_r = NULL;
10229
 
  PyObject *__pyx_1 = 0;
10230
11945
  PyObject *__pyx_t_1 = NULL;
10231
11946
  PyObject *__pyx_t_2 = NULL;
10232
 
  int __pyx_t_3;
10233
 
  int __pyx_t_4;
10234
 
  int __pyx_t_5;
10235
 
  Py_ssize_t __pyx_t_6;
10236
 
  __Pyx_SetupRefcountContext("py_get_vlen");
10237
 
  __pyx_v_tpl = Py_None; __Pyx_INCREF(Py_None);
10238
 
  __pyx_v_hint_dict = Py_None; __Pyx_INCREF(Py_None);
 
11947
  PyObject *__pyx_t_3 = NULL;
 
11948
  __Pyx_RefNannySetupContext("py_get_vlen");
10239
11949
 
10240
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1482
10241
 
 *     or None if the dtype does not contain a hint or is not of kind "O".
 
11950
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1588
10242
11951
 *     """
10243
 
 *     cdef dtype dt = dtype(dt_in)             # <<<<<<<<<<<<<<
10244
 
 * 
10245
 
 *     if dt.kind != 'O':
10246
 
 */
10247
 
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10248
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
10249
 
  __Pyx_INCREF(__pyx_v_dt_in);
10250
 
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_dt_in);
10251
 
  __Pyx_GIVEREF(__pyx_v_dt_in);
10252
 
  __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4h5py_5numpy_dtype)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10253
 
  __Pyx_GOTREF(__pyx_t_2);
10254
 
  __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
10255
 
  if (!(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_4h5py_5numpy_dtype))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10256
 
  __pyx_v_dt = ((PyArray_Descr *)__pyx_t_2);
10257
 
  __pyx_t_2 = 0;
10258
 
 
10259
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1484
10260
 
 *     cdef dtype dt = dtype(dt_in)
10261
 
 * 
10262
 
 *     if dt.kind != 'O':             # <<<<<<<<<<<<<<
10263
 
 *         return None
10264
 
 * 
10265
 
 */
10266
 
  __pyx_t_3 = (__pyx_v_dt->kind != 'O');
10267
 
  if (__pyx_t_3) {
10268
 
 
10269
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1485
10270
 
 * 
10271
 
 *     if dt.kind != 'O':
10272
 
 *         return None             # <<<<<<<<<<<<<<
10273
 
 * 
10274
 
 *     if dt.fields is not None and 'vlen' in dt.fields:
10275
 
 */
10276
 
    __Pyx_XDECREF(__pyx_r);
10277
 
    __Pyx_INCREF(Py_None);
10278
 
    __pyx_r = Py_None;
10279
 
    goto __pyx_L0;
10280
 
    goto __pyx_L3;
10281
 
  }
10282
 
  __pyx_L3:;
10283
 
 
10284
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1487
10285
 
 *         return None
10286
 
 * 
10287
 
 *     if dt.fields is not None and 'vlen' in dt.fields:             # <<<<<<<<<<<<<<
10288
 
 *         tpl = dt.fields['vlen']
10289
 
 *         if len(tpl) == 3:
10290
 
 */
10291
 
  __pyx_t_3 = (__pyx_v_dt->fields != Py_None);
10292
 
  if (__pyx_t_3) {
10293
 
    __pyx_t_4 = (PySequence_Contains(__pyx_v_dt->fields, __pyx_kp_206)); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10294
 
    __pyx_t_5 = __pyx_t_4;
10295
 
  } else {
10296
 
    __pyx_t_5 = __pyx_t_3;
10297
 
  }
10298
 
  if (__pyx_t_5) {
10299
 
 
10300
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1488
10301
 
 * 
10302
 
 *     if dt.fields is not None and 'vlen' in dt.fields:
10303
 
 *         tpl = dt.fields['vlen']             # <<<<<<<<<<<<<<
10304
 
 *         if len(tpl) == 3:
10305
 
 *             hint_dict = tpl[2]
10306
 
 */
10307
 
    __pyx_1 = PyObject_GetItem(__pyx_v_dt->fields, __pyx_kp_207); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10308
 
    __Pyx_GOTREF(__pyx_1);
10309
 
    __Pyx_DECREF(__pyx_v_tpl);
10310
 
    __pyx_v_tpl = __pyx_1;
10311
 
    __pyx_1 = 0;
10312
 
 
10313
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1489
10314
 
 *     if dt.fields is not None and 'vlen' in dt.fields:
10315
 
 *         tpl = dt.fields['vlen']
10316
 
 *         if len(tpl) == 3:             # <<<<<<<<<<<<<<
10317
 
 *             hint_dict = tpl[2]
10318
 
 *             if 'type' in hint_dict:
10319
 
 */
10320
 
    __pyx_t_6 = PyObject_Length(__pyx_v_tpl); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10321
 
    __pyx_t_5 = (__pyx_t_6 == 3);
10322
 
    if (__pyx_t_5) {
10323
 
 
10324
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1490
10325
 
 *         tpl = dt.fields['vlen']
10326
 
 *         if len(tpl) == 3:
10327
 
 *             hint_dict = tpl[2]             # <<<<<<<<<<<<<<
10328
 
 *             if 'type' in hint_dict:
10329
 
 *                 return hint_dict['type']
10330
 
 */
10331
 
      __pyx_1 = __Pyx_GetItemInt(__pyx_v_tpl, 2, sizeof(long), PyInt_FromLong); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1490; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10332
 
      __Pyx_GOTREF(__pyx_1);
10333
 
      __Pyx_DECREF(__pyx_v_hint_dict);
10334
 
      __pyx_v_hint_dict = __pyx_1;
10335
 
      __pyx_1 = 0;
10336
 
 
10337
 
      /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1491
10338
 
 *         if len(tpl) == 3:
10339
 
 *             hint_dict = tpl[2]
10340
 
 *             if 'type' in hint_dict:             # <<<<<<<<<<<<<<
10341
 
 *                 return hint_dict['type']
10342
 
 * 
10343
 
 */
10344
 
      __pyx_t_5 = (PySequence_Contains(__pyx_v_hint_dict, __pyx_kp_208)); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10345
 
      if (__pyx_t_5) {
10346
 
 
10347
 
        /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1492
10348
 
 *             hint_dict = tpl[2]
10349
 
 *             if 'type' in hint_dict:
10350
 
 *                 return hint_dict['type']             # <<<<<<<<<<<<<<
10351
 
 * 
10352
 
 *     return None
10353
 
 */
10354
 
        __Pyx_XDECREF(__pyx_r);
10355
 
        __pyx_1 = PyObject_GetItem(__pyx_v_hint_dict, __pyx_kp_209); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10356
 
        __Pyx_GOTREF(__pyx_1);
10357
 
        __pyx_r = __pyx_1;
10358
 
        __pyx_1 = 0;
10359
 
        goto __pyx_L0;
10360
 
        goto __pyx_L6;
10361
 
      }
10362
 
      __pyx_L6:;
10363
 
      goto __pyx_L5;
10364
 
    }
10365
 
    __pyx_L5:;
10366
 
    goto __pyx_L4;
10367
 
  }
10368
 
  __pyx_L4:;
10369
 
 
10370
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1494
10371
 
 *                 return hint_dict['type']
10372
 
 * 
10373
 
 *     return None             # <<<<<<<<<<<<<<
 
11952
 *     #warnings.warn("Deprecated; use check_dtype(vlen=dtype) instead", DeprecationWarning)
 
11953
 *     return check_dtype(vlen=dt_in)             # <<<<<<<<<<<<<<
10374
11954
 * 
10375
11955
 * 
10376
11956
 */
10377
11957
  __Pyx_XDECREF(__pyx_r);
10378
 
  __Pyx_INCREF(Py_None);
10379
 
  __pyx_r = Py_None;
 
11958
  __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__check_dtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11959
  __Pyx_GOTREF(__pyx_t_1);
 
11960
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11961
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
 
11962
  if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__vlen), __pyx_v_dt_in) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11963
  __pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
11964
  __Pyx_GOTREF(__pyx_t_3);
 
11965
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
11966
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
 
11967
  __pyx_r = __pyx_t_3;
 
11968
  __pyx_t_3 = 0;
10380
11969
  goto __pyx_L0;
10381
11970
 
10382
11971
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10383
11972
  goto __pyx_L0;
10384
11973
  __pyx_L1_error:;
10385
 
  __Pyx_XDECREF(__pyx_1);
10386
11974
  __Pyx_XDECREF(__pyx_t_1);
10387
11975
  __Pyx_XDECREF(__pyx_t_2);
 
11976
  __Pyx_XDECREF(__pyx_t_3);
10388
11977
  __Pyx_AddTraceback("h5py.h5t.py_get_vlen");
10389
11978
  __pyx_r = 0;
10390
11979
  __pyx_L0:;
10391
 
  __Pyx_XDECREF((PyObject *)__pyx_v_dt);
10392
 
  __Pyx_DECREF(__pyx_v_tpl);
10393
 
  __Pyx_DECREF(__pyx_v_hint_dict);
10394
11980
  __Pyx_XGIVEREF(__pyx_r);
10395
 
  __Pyx_FinishRefcountContext();
 
11981
  __Pyx_RefNannyFinishContext();
10396
11982
  return __pyx_r;
10397
11983
}
10398
11984
 
10399
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1476
10400
 
 *     return dtype(('O', [( ({'type': kind},'vlen'), 'O' )] ))
 
11985
/* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1582
 
11986
 *     return special_dtype(vlen=kind)
10401
11987
 * 
10402
11988
 * cpdef object py_get_vlen(object dt_in):             # <<<<<<<<<<<<<<
10403
11989
 *     """ (OBJECT dt_in) => TYPE
10405
11991
 */
10406
11992
 
10407
11993
static PyObject *__pyx_pf_4h5py_3h5t_py_get_vlen(PyObject *__pyx_self, PyObject *__pyx_v_dt_in); /*proto*/
10408
 
static char __pyx_doc_4h5py_3h5t_py_get_vlen[] = " (OBJECT dt_in) => TYPE\n\n    Determine the vlen \"hint\" type associated with a NumPy object type,\n    or None if the dtype does not contain a hint or is not of kind \"O\".\n    ";
 
11994
static char __pyx_doc_4h5py_3h5t_py_get_vlen[] = " (OBJECT dt_in) => TYPE\n\n    Deprecated; use check_dtype() instead.\n    ";
10409
11995
static PyObject *__pyx_pf_4h5py_3h5t_py_get_vlen(PyObject *__pyx_self, PyObject *__pyx_v_dt_in) {
10410
11996
  PyObject *__pyx_r = NULL;
10411
11997
  PyObject *__pyx_t_1 = NULL;
10412
 
  __Pyx_SetupRefcountContext("py_get_vlen");
 
11998
  __Pyx_RefNannySetupContext("py_get_vlen");
10413
11999
  __pyx_self = __pyx_self;
10414
12000
  __Pyx_XDECREF(__pyx_r);
10415
 
  __pyx_t_1 = __pyx_f_4h5py_3h5t_py_get_vlen(__pyx_v_dt_in, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
12001
  __pyx_t_1 = __pyx_f_4h5py_3h5t_py_get_vlen(__pyx_v_dt_in, 0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10416
12002
  __Pyx_GOTREF(__pyx_t_1);
10417
12003
  __pyx_r = __pyx_t_1;
10418
12004
  __pyx_t_1 = 0;
10426
12012
  __pyx_r = NULL;
10427
12013
  __pyx_L0:;
10428
12014
  __Pyx_XGIVEREF(__pyx_r);
10429
 
  __Pyx_FinishRefcountContext();
10430
 
  return __pyx_r;
10431
 
}
10432
 
 
10433
 
/* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1497
10434
 
 * 
10435
 
 * 
10436
 
 * def path_exists(TypeID src not None, TypeID dst not None):             # <<<<<<<<<<<<<<
10437
 
 * 
10438
 
 *     cdef H5T_cdata_t *data
10439
 
 */
10440
 
 
10441
 
static PyObject *__pyx_pf_4h5py_3h5t_path_exists(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
10442
 
static PyObject *__pyx_pf_4h5py_3h5t_path_exists(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
10443
 
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_src = 0;
10444
 
  struct __pyx_obj_4h5py_3h5t_TypeID *__pyx_v_dst = 0;
10445
 
  H5T_cdata_t *__pyx_v_data;
10446
 
  H5T_conv_t __pyx_v_result;
10447
 
  PyObject *__pyx_r = NULL;
10448
 
  PyObject *__pyx_t_1 = NULL;
10449
 
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_src,&__pyx_kp_dst,0};
10450
 
  __Pyx_SetupRefcountContext("path_exists");
10451
 
  __pyx_self = __pyx_self;
10452
 
  if (unlikely(__pyx_kwds)) {
10453
 
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
10454
 
    PyObject* values[2] = {0,0};
10455
 
    switch (PyTuple_GET_SIZE(__pyx_args)) {
10456
 
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
10457
 
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
10458
 
      case  0: break;
10459
 
      default: goto __pyx_L5_argtuple_error;
10460
 
    }
10461
 
    switch (PyTuple_GET_SIZE(__pyx_args)) {
10462
 
      case  0:
10463
 
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_src);
10464
 
      if (likely(values[0])) kw_args--;
10465
 
      else goto __pyx_L5_argtuple_error;
10466
 
      case  1:
10467
 
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_dst);
10468
 
      if (likely(values[1])) kw_args--;
10469
 
      else {
10470
 
        __Pyx_RaiseArgtupleInvalid("path_exists", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10471
 
      }
10472
 
    }
10473
 
    if (unlikely(kw_args > 0)) {
10474
 
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "path_exists") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10475
 
    }
10476
 
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[0]);
10477
 
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)values[1]);
10478
 
  } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
10479
 
    goto __pyx_L5_argtuple_error;
10480
 
  } else {
10481
 
    __pyx_v_src = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 0));
10482
 
    __pyx_v_dst = ((struct __pyx_obj_4h5py_3h5t_TypeID *)PyTuple_GET_ITEM(__pyx_args, 1));
10483
 
  }
10484
 
  goto __pyx_L4_argument_unpacking_done;
10485
 
  __pyx_L5_argtuple_error:;
10486
 
  __Pyx_RaiseArgtupleInvalid("path_exists", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
10487
 
  __pyx_L3_error:;
10488
 
  __Pyx_AddTraceback("h5py.h5t.path_exists");
10489
 
  return NULL;
10490
 
  __pyx_L4_argument_unpacking_done:;
10491
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_src), __pyx_ptype_4h5py_3h5t_TypeID, 0, "src", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10492
 
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dst), __pyx_ptype_4h5py_3h5t_TypeID, 0, "dst", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10493
 
 
10494
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1500
10495
 
 * 
10496
 
 *     cdef H5T_cdata_t *data
10497
 
 *     cdef H5T_conv_t result = NULL             # <<<<<<<<<<<<<<
10498
 
 * 
10499
 
 *     result = H5Tfind(src.id, dst.id, &data)
10500
 
 */
10501
 
  __pyx_v_result = NULL;
10502
 
 
10503
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1502
10504
 
 *     cdef H5T_conv_t result = NULL
10505
 
 * 
10506
 
 *     result = H5Tfind(src.id, dst.id, &data)             # <<<<<<<<<<<<<<
10507
 
 *     return result != NULL
10508
 
 * 
10509
 
 */
10510
 
  __pyx_v_result = H5Tfind(__pyx_v_src->__pyx_base.id, __pyx_v_dst->__pyx_base.id, (&__pyx_v_data));
10511
 
 
10512
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1503
10513
 
 * 
10514
 
 *     result = H5Tfind(src.id, dst.id, &data)
10515
 
 *     return result != NULL             # <<<<<<<<<<<<<<
10516
 
 * 
10517
 
 * 
10518
 
 */
10519
 
  __Pyx_XDECREF(__pyx_r);
10520
 
  __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_result != NULL)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10521
 
  __Pyx_GOTREF(__pyx_t_1);
10522
 
  __pyx_r = __pyx_t_1;
10523
 
  __pyx_t_1 = 0;
10524
 
  goto __pyx_L0;
10525
 
 
10526
 
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10527
 
  goto __pyx_L0;
10528
 
  __pyx_L1_error:;
10529
 
  __Pyx_XDECREF(__pyx_t_1);
10530
 
  __Pyx_AddTraceback("h5py.h5t.path_exists");
10531
 
  __pyx_r = NULL;
10532
 
  __pyx_L0:;
10533
 
  __Pyx_XGIVEREF(__pyx_r);
10534
 
  __Pyx_FinishRefcountContext();
10535
 
  return __pyx_r;
10536
 
}
10537
 
 
10538
 
/* "/home/tachyon/pydev/h5py/h5py/h5.pxd":42
10539
 
 * 
10540
 
 *     cdef object __weakref__
10541
 
 *     cdef readonly hid_t id             # <<<<<<<<<<<<<<
10542
 
 *     cdef readonly int _locked
10543
 
 *     cdef object _hash
10544
 
 */
10545
 
 
10546
 
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_2id___get__(PyObject *__pyx_v_self); /*proto*/
10547
 
static PyObject *__pyx_pf_4h5py_2h5_8ObjectID_2id___get__(PyObject *__pyx_v_self) {
10548
 
  PyObject *__pyx_r = NULL;
10549
 
  PyObject *__pyx_t_1 = NULL;
10550
 
  __Pyx_SetupRefcountContext("__get__");
10551
 
  __Pyx_XDECREF(__pyx_r);
10552
 
  __pyx_t_1 = PyInt_FromLong(((struct __pyx_obj_4h5py_2h5_ObjectID *)__pyx_v_self)->id); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
10553
 
  __Pyx_GOTREF(__pyx_t_1);
10554
 
  __pyx_r = __pyx_t_1;
10555
 
  __pyx_t_1 = 0;
10556
 
  goto __pyx_L0;
10557
 
 
10558
 
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10559
 
  goto __pyx_L0;
10560
 
  __pyx_L1_error:;
10561
 
  __Pyx_XDECREF(__pyx_t_1);
10562
 
  __Pyx_AddTraceback("h5py.h5.ObjectID.id.__get__");
10563
 
  __pyx_r = NULL;
10564
 
  __pyx_L0:;
10565
 
  __Pyx_XGIVEREF(__pyx_r);
10566
 
  __Pyx_FinishRefcountContext();
 
12015
  __Pyx_RefNannyFinishContext();
10567
12016
  return __pyx_r;
10568
12017
}
10569
12018
static struct __pyx_vtabstruct_4h5py_3h5t_TypeID __pyx_vtable_4h5py_3h5t_TypeID;
10617
12066
};
10618
12067
 
10619
12068
static struct PyGetSetDef __pyx_getsets_4h5py_3h5t_TypeID[] = {
10620
 
  {(char *)"dtype", __pyx_getprop_4h5py_3h5t_6TypeID_dtype, 0, __pyx_k_125, 0},
 
12069
  {(char *)"dtype", __pyx_getprop_4h5py_3h5t_6TypeID_dtype, 0, __Pyx_DOCSTR(__pyx_k_24), 0},
10621
12070
  {0, 0, 0, 0, 0}
10622
12071
};
10623
12072
 
10765
12214
  0, /*tp_cache*/
10766
12215
  0, /*tp_subclasses*/
10767
12216
  0, /*tp_weaklist*/
 
12217
  0, /*tp_del*/
 
12218
  #if PY_VERSION_HEX >= 0x02060000
 
12219
  0, /*tp_version_tag*/
 
12220
  #endif
10768
12221
};
10769
12222
static struct __pyx_vtabstruct_4h5py_3h5t_TypeArrayID __pyx_vtable_4h5py_3h5t_TypeArrayID;
10770
12223
 
10927
12380
  0, /*tp_cache*/
10928
12381
  0, /*tp_subclasses*/
10929
12382
  0, /*tp_weaklist*/
 
12383
  0, /*tp_del*/
 
12384
  #if PY_VERSION_HEX >= 0x02060000
 
12385
  0, /*tp_version_tag*/
 
12386
  #endif
10930
12387
};
10931
12388
static struct __pyx_vtabstruct_4h5py_3h5t_TypeOpaqueID __pyx_vtable_4h5py_3h5t_TypeOpaqueID;
10932
12389
 
11089
12546
  0, /*tp_cache*/
11090
12547
  0, /*tp_subclasses*/
11091
12548
  0, /*tp_weaklist*/
 
12549
  0, /*tp_del*/
 
12550
  #if PY_VERSION_HEX >= 0x02060000
 
12551
  0, /*tp_version_tag*/
 
12552
  #endif
11092
12553
};
11093
12554
static struct __pyx_vtabstruct_4h5py_3h5t_TypeStringID __pyx_vtable_4h5py_3h5t_TypeStringID;
11094
12555
 
11254
12715
  0, /*tp_cache*/
11255
12716
  0, /*tp_subclasses*/
11256
12717
  0, /*tp_weaklist*/
 
12718
  0, /*tp_del*/
 
12719
  #if PY_VERSION_HEX >= 0x02060000
 
12720
  0, /*tp_version_tag*/
 
12721
  #endif
11257
12722
};
11258
12723
static struct __pyx_vtabstruct_4h5py_3h5t_TypeVlenID __pyx_vtable_4h5py_3h5t_TypeVlenID;
11259
12724
 
11414
12879
  0, /*tp_cache*/
11415
12880
  0, /*tp_subclasses*/
11416
12881
  0, /*tp_weaklist*/
 
12882
  0, /*tp_del*/
 
12883
  #if PY_VERSION_HEX >= 0x02060000
 
12884
  0, /*tp_version_tag*/
 
12885
  #endif
11417
12886
};
11418
12887
static struct __pyx_vtabstruct_4h5py_3h5t_TypeTimeID __pyx_vtable_4h5py_3h5t_TypeTimeID;
11419
12888
 
11574
13043
  0, /*tp_cache*/
11575
13044
  0, /*tp_subclasses*/
11576
13045
  0, /*tp_weaklist*/
 
13046
  0, /*tp_del*/
 
13047
  #if PY_VERSION_HEX >= 0x02060000
 
13048
  0, /*tp_version_tag*/
 
13049
  #endif
11577
13050
};
11578
13051
static struct __pyx_vtabstruct_4h5py_3h5t_TypeBitfieldID __pyx_vtable_4h5py_3h5t_TypeBitfieldID;
11579
13052
 
11734
13207
  0, /*tp_cache*/
11735
13208
  0, /*tp_subclasses*/
11736
13209
  0, /*tp_weaklist*/
 
13210
  0, /*tp_del*/
 
13211
  #if PY_VERSION_HEX >= 0x02060000
 
13212
  0, /*tp_version_tag*/
 
13213
  #endif
11737
13214
};
11738
13215
static struct __pyx_vtabstruct_4h5py_3h5t_TypeReferenceID __pyx_vtable_4h5py_3h5t_TypeReferenceID;
11739
13216
 
11894
13371
  0, /*tp_cache*/
11895
13372
  0, /*tp_subclasses*/
11896
13373
  0, /*tp_weaklist*/
 
13374
  0, /*tp_del*/
 
13375
  #if PY_VERSION_HEX >= 0x02060000
 
13376
  0, /*tp_version_tag*/
 
13377
  #endif
11897
13378
};
11898
13379
static struct __pyx_vtabstruct_4h5py_3h5t_TypeAtomicID __pyx_vtable_4h5py_3h5t_TypeAtomicID;
11899
13380
 
12062
13543
  0, /*tp_cache*/
12063
13544
  0, /*tp_subclasses*/
12064
13545
  0, /*tp_weaklist*/
 
13546
  0, /*tp_del*/
 
13547
  #if PY_VERSION_HEX >= 0x02060000
 
13548
  0, /*tp_version_tag*/
 
13549
  #endif
12065
13550
};
12066
13551
static struct __pyx_vtabstruct_4h5py_3h5t_TypeIntegerID __pyx_vtable_4h5py_3h5t_TypeIntegerID;
12067
13552
 
12224
13709
  0, /*tp_cache*/
12225
13710
  0, /*tp_subclasses*/
12226
13711
  0, /*tp_weaklist*/
 
13712
  0, /*tp_del*/
 
13713
  #if PY_VERSION_HEX >= 0x02060000
 
13714
  0, /*tp_version_tag*/
 
13715
  #endif
12227
13716
};
12228
13717
static struct __pyx_vtabstruct_4h5py_3h5t_TypeFloatID __pyx_vtable_4h5py_3h5t_TypeFloatID;
12229
13718
 
12392
13881
  0, /*tp_cache*/
12393
13882
  0, /*tp_subclasses*/
12394
13883
  0, /*tp_weaklist*/
 
13884
  0, /*tp_del*/
 
13885
  #if PY_VERSION_HEX >= 0x02060000
 
13886
  0, /*tp_version_tag*/
 
13887
  #endif
12395
13888
};
12396
13889
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompositeID __pyx_vtable_4h5py_3h5t_TypeCompositeID;
12397
13890
 
12555
14048
  0, /*tp_cache*/
12556
14049
  0, /*tp_subclasses*/
12557
14050
  0, /*tp_weaklist*/
 
14051
  0, /*tp_del*/
 
14052
  #if PY_VERSION_HEX >= 0x02060000
 
14053
  0, /*tp_version_tag*/
 
14054
  #endif
12558
14055
};
12559
14056
static struct __pyx_vtabstruct_4h5py_3h5t_TypeEnumID __pyx_vtable_4h5py_3h5t_TypeEnumID;
12560
14057
 
12719
14216
  0, /*tp_cache*/
12720
14217
  0, /*tp_subclasses*/
12721
14218
  0, /*tp_weaklist*/
 
14219
  0, /*tp_del*/
 
14220
  #if PY_VERSION_HEX >= 0x02060000
 
14221
  0, /*tp_version_tag*/
 
14222
  #endif
12722
14223
};
12723
14224
static struct __pyx_vtabstruct_4h5py_3h5t_TypeCompoundID __pyx_vtable_4h5py_3h5t_TypeCompoundID;
12724
14225
 
12884
14385
  0, /*tp_cache*/
12885
14386
  0, /*tp_subclasses*/
12886
14387
  0, /*tp_weaklist*/
 
14388
  0, /*tp_del*/
 
14389
  #if PY_VERSION_HEX >= 0x02060000
 
14390
  0, /*tp_version_tag*/
 
14391
  #endif
12887
14392
};
12888
14393
 
12889
14394
static struct PyMethodDef __pyx_methods[] = {
12893
14398
  {__Pyx_NAMESTR("enum_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_enum_create, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_enum_create)},
12894
14399
  {__Pyx_NAMESTR("vlen_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_vlen_create, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_vlen_create)},
12895
14400
  {__Pyx_NAMESTR("py_create"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_create, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_create)},
 
14401
  {__Pyx_NAMESTR("special_dtype"), (PyCFunction)__pyx_pf_4h5py_3h5t_special_dtype, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_special_dtype)},
 
14402
  {__Pyx_NAMESTR("check_dtype"), (PyCFunction)__pyx_pf_4h5py_3h5t_check_dtype, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_check_dtype)},
 
14403
  {__Pyx_NAMESTR("convert"), (PyCFunction)__pyx_pf_4h5py_3h5t_convert, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_convert)},
 
14404
  {__Pyx_NAMESTR("find"), (PyCFunction)__pyx_pf_4h5py_3h5t_find, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_find)},
12896
14405
  {__Pyx_NAMESTR("py_new_enum"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_new_enum, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_new_enum)},
12897
14406
  {__Pyx_NAMESTR("py_get_enum"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_get_enum, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_get_enum)},
12898
14407
  {__Pyx_NAMESTR("py_new_vlen"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_new_vlen, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_new_vlen)},
12899
14408
  {__Pyx_NAMESTR("py_get_vlen"), (PyCFunction)__pyx_pf_4h5py_3h5t_py_get_vlen, METH_O, __Pyx_DOCSTR(__pyx_doc_4h5py_3h5t_py_get_vlen)},
12900
 
  {__Pyx_NAMESTR("path_exists"), (PyCFunction)__pyx_pf_4h5py_3h5t_path_exists, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
12901
14409
  {0, 0, 0, 0}
12902
14410
};
12903
14411
 
12907
14415
static struct PyModuleDef __pyx_moduledef = {
12908
14416
    PyModuleDef_HEAD_INIT,
12909
14417
    __Pyx_NAMESTR("h5t"),
12910
 
    0, /* m_doc */
 
14418
    __Pyx_DOCSTR(__pyx_k_25), /* m_doc */
12911
14419
    -1, /* m_size */
12912
14420
    __pyx_methods /* m_methods */,
12913
14421
    NULL, /* m_reload */
12918
14426
#endif
12919
14427
 
12920
14428
static __Pyx_StringTabEntry __pyx_string_tab[] = {
12921
 
  {&__pyx_kp___main__, __pyx_k___main__, sizeof(__pyx_k___main__), 1, 1, 1},
12922
 
  {&__pyx_kp___hash__, __pyx_k___hash__, sizeof(__pyx_k___hash__), 1, 1, 1},
12923
 
  {&__pyx_kp___richcmp__, __pyx_k___richcmp__, sizeof(__pyx_k___richcmp__), 1, 1, 1},
12924
 
  {&__pyx_kp___copy__, __pyx_k___copy__, sizeof(__pyx_k___copy__), 1, 1, 1},
12925
 
  {&__pyx_kp_commit, __pyx_k_commit, sizeof(__pyx_k_commit), 1, 1, 1},
12926
 
  {&__pyx_kp_committed, __pyx_k_committed, sizeof(__pyx_k_committed), 1, 1, 1},
12927
 
  {&__pyx_kp_copy, __pyx_k_copy, sizeof(__pyx_k_copy), 1, 1, 1},
12928
 
  {&__pyx_kp_equal, __pyx_k_equal, sizeof(__pyx_k_equal), 1, 1, 1},
12929
 
  {&__pyx_kp_lock, __pyx_k_lock, sizeof(__pyx_k_lock), 1, 1, 1},
12930
 
  {&__pyx_kp_get_class, __pyx_k_get_class, sizeof(__pyx_k_get_class), 1, 1, 1},
12931
 
  {&__pyx_kp_set_size, __pyx_k_set_size, sizeof(__pyx_k_set_size), 1, 1, 1},
12932
 
  {&__pyx_kp_get_size, __pyx_k_get_size, sizeof(__pyx_k_get_size), 1, 1, 1},
12933
 
  {&__pyx_kp_get_super, __pyx_k_get_super, sizeof(__pyx_k_get_super), 1, 1, 1},
12934
 
  {&__pyx_kp_detect_class, __pyx_k_detect_class, sizeof(__pyx_k_detect_class), 1, 1, 1},
12935
 
  {&__pyx_kp__close, __pyx_k__close, sizeof(__pyx_k__close), 1, 1, 1},
12936
 
  {&__pyx_kp_get_array_ndims, __pyx_k_get_array_ndims, sizeof(__pyx_k_get_array_ndims), 1, 1, 1},
12937
 
  {&__pyx_kp_get_array_dims, __pyx_k_get_array_dims, sizeof(__pyx_k_get_array_dims), 1, 1, 1},
12938
 
  {&__pyx_kp_set_tag, __pyx_k_set_tag, sizeof(__pyx_k_set_tag), 1, 1, 1},
12939
 
  {&__pyx_kp_get_tag, __pyx_k_get_tag, sizeof(__pyx_k_get_tag), 1, 1, 1},
12940
 
  {&__pyx_kp_is_variable_str, __pyx_k_is_variable_str, sizeof(__pyx_k_is_variable_str), 1, 1, 1},
12941
 
  {&__pyx_kp_get_cset, __pyx_k_get_cset, sizeof(__pyx_k_get_cset), 1, 1, 1},
12942
 
  {&__pyx_kp_set_cset, __pyx_k_set_cset, sizeof(__pyx_k_set_cset), 1, 1, 1},
12943
 
  {&__pyx_kp_get_strpad, __pyx_k_get_strpad, sizeof(__pyx_k_get_strpad), 1, 1, 1},
12944
 
  {&__pyx_kp_set_strpad, __pyx_k_set_strpad, sizeof(__pyx_k_set_strpad), 1, 1, 1},
12945
 
  {&__pyx_kp_get_order, __pyx_k_get_order, sizeof(__pyx_k_get_order), 1, 1, 1},
12946
 
  {&__pyx_kp_set_order, __pyx_k_set_order, sizeof(__pyx_k_set_order), 1, 1, 1},
12947
 
  {&__pyx_kp_get_precision, __pyx_k_get_precision, sizeof(__pyx_k_get_precision), 1, 1, 1},
12948
 
  {&__pyx_kp_set_precision, __pyx_k_set_precision, sizeof(__pyx_k_set_precision), 1, 1, 1},
12949
 
  {&__pyx_kp_get_offset, __pyx_k_get_offset, sizeof(__pyx_k_get_offset), 1, 1, 1},
12950
 
  {&__pyx_kp_set_offset, __pyx_k_set_offset, sizeof(__pyx_k_set_offset), 1, 1, 1},
12951
 
  {&__pyx_kp_get_pad, __pyx_k_get_pad, sizeof(__pyx_k_get_pad), 1, 1, 1},
12952
 
  {&__pyx_kp_set_pad, __pyx_k_set_pad, sizeof(__pyx_k_set_pad), 1, 1, 1},
12953
 
  {&__pyx_kp_get_sign, __pyx_k_get_sign, sizeof(__pyx_k_get_sign), 1, 1, 1},
12954
 
  {&__pyx_kp_set_sign, __pyx_k_set_sign, sizeof(__pyx_k_set_sign), 1, 1, 1},
12955
 
  {&__pyx_kp_get_fields, __pyx_k_get_fields, sizeof(__pyx_k_get_fields), 1, 1, 1},
12956
 
  {&__pyx_kp_set_fields, __pyx_k_set_fields, sizeof(__pyx_k_set_fields), 1, 1, 1},
12957
 
  {&__pyx_kp_get_ebias, __pyx_k_get_ebias, sizeof(__pyx_k_get_ebias), 1, 1, 1},
12958
 
  {&__pyx_kp_set_ebias, __pyx_k_set_ebias, sizeof(__pyx_k_set_ebias), 1, 1, 1},
12959
 
  {&__pyx_kp_get_norm, __pyx_k_get_norm, sizeof(__pyx_k_get_norm), 1, 1, 1},
12960
 
  {&__pyx_kp_set_norm, __pyx_k_set_norm, sizeof(__pyx_k_set_norm), 1, 1, 1},
12961
 
  {&__pyx_kp_get_inpad, __pyx_k_get_inpad, sizeof(__pyx_k_get_inpad), 1, 1, 1},
12962
 
  {&__pyx_kp_set_inpad, __pyx_k_set_inpad, sizeof(__pyx_k_set_inpad), 1, 1, 1},
12963
 
  {&__pyx_kp_get_nmembers, __pyx_k_get_nmembers, sizeof(__pyx_k_get_nmembers), 1, 1, 1},
12964
 
  {&__pyx_kp_get_member_name, __pyx_k_get_member_name, sizeof(__pyx_k_get_member_name), 1, 1, 1},
12965
 
  {&__pyx_kp_get_member_index, __pyx_k_get_member_index, sizeof(__pyx_k_get_member_index), 1, 1, 1},
12966
 
  {&__pyx_kp_get_member_class, __pyx_k_get_member_class, sizeof(__pyx_k_get_member_class), 1, 1, 1},
12967
 
  {&__pyx_kp_get_member_offset, __pyx_k_get_member_offset, sizeof(__pyx_k_get_member_offset), 1, 1, 1},
12968
 
  {&__pyx_kp_get_member_type, __pyx_k_get_member_type, sizeof(__pyx_k_get_member_type), 1, 1, 1},
12969
 
  {&__pyx_kp_insert, __pyx_k_insert, sizeof(__pyx_k_insert), 1, 1, 1},
12970
 
  {&__pyx_kp_pack, __pyx_k_pack, sizeof(__pyx_k_pack), 1, 1, 1},
12971
 
  {&__pyx_kp_enum_insert, __pyx_k_enum_insert, sizeof(__pyx_k_enum_insert), 1, 1, 1},
12972
 
  {&__pyx_kp_enum_nameof, __pyx_k_enum_nameof, sizeof(__pyx_k_enum_nameof), 1, 1, 1},
12973
 
  {&__pyx_kp_enum_valueof, __pyx_k_enum_valueof, sizeof(__pyx_k_enum_valueof), 1, 1, 1},
12974
 
  {&__pyx_kp_get_member_value, __pyx_k_get_member_value, sizeof(__pyx_k_get_member_value), 1, 1, 1},
12975
 
  {&__pyx_kp_py_create, __pyx_k_py_create, sizeof(__pyx_k_py_create), 1, 1, 1},
12976
 
  {&__pyx_kp_py_new_enum, __pyx_k_py_new_enum, sizeof(__pyx_k_py_new_enum), 1, 1, 1},
12977
 
  {&__pyx_kp_py_get_enum, __pyx_k_py_get_enum, sizeof(__pyx_k_py_get_enum), 1, 1, 1},
12978
 
  {&__pyx_kp_py_new_vlen, __pyx_k_py_new_vlen, sizeof(__pyx_k_py_new_vlen), 1, 1, 1},
12979
 
  {&__pyx_kp_py_get_vlen, __pyx_k_py_get_vlen, sizeof(__pyx_k_py_get_vlen), 1, 1, 1},
12980
 
  {&__pyx_kp_classtype, __pyx_k_classtype, sizeof(__pyx_k_classtype), 1, 1, 1},
12981
 
  {&__pyx_kp_size, __pyx_k_size, sizeof(__pyx_k_size), 1, 1, 1},
12982
 
  {&__pyx_kp_group, __pyx_k_group, sizeof(__pyx_k_group), 1, 1, 1},
12983
 
  {&__pyx_kp_name, __pyx_k_name, sizeof(__pyx_k_name), 1, 1, 1},
12984
 
  {&__pyx_kp_base, __pyx_k_base, sizeof(__pyx_k_base), 1, 1, 1},
12985
 
  {&__pyx_kp_dims_tpl, __pyx_k_dims_tpl, sizeof(__pyx_k_dims_tpl), 1, 1, 1},
12986
 
  {&__pyx_kp_self, __pyx_k_self, sizeof(__pyx_k_self), 1, 1, 1},
12987
 
  {&__pyx_kp_other, __pyx_k_other, sizeof(__pyx_k_other), 1, 1, 1},
12988
 
  {&__pyx_kp_how, __pyx_k_how, sizeof(__pyx_k_how), 1, 1, 1},
12989
 
  {&__pyx_kp_typeid, __pyx_k_typeid, sizeof(__pyx_k_typeid), 1, 1, 1},
12990
 
  {&__pyx_kp_tag, __pyx_k_tag, sizeof(__pyx_k_tag), 1, 1, 1},
12991
 
  {&__pyx_kp_cset, __pyx_k_cset, sizeof(__pyx_k_cset), 1, 1, 1},
12992
 
  {&__pyx_kp_pad, __pyx_k_pad, sizeof(__pyx_k_pad), 1, 1, 1},
12993
 
  {&__pyx_kp_order, __pyx_k_order, sizeof(__pyx_k_order), 1, 1, 1},
12994
 
  {&__pyx_kp_precision, __pyx_k_precision, sizeof(__pyx_k_precision), 1, 1, 1},
12995
 
  {&__pyx_kp_offset, __pyx_k_offset, sizeof(__pyx_k_offset), 1, 1, 1},
12996
 
  {&__pyx_kp_lsb, __pyx_k_lsb, sizeof(__pyx_k_lsb), 1, 1, 1},
12997
 
  {&__pyx_kp_msb, __pyx_k_msb, sizeof(__pyx_k_msb), 1, 1, 1},
12998
 
  {&__pyx_kp_sign, __pyx_k_sign, sizeof(__pyx_k_sign), 1, 1, 1},
12999
 
  {&__pyx_kp_spos, __pyx_k_spos, sizeof(__pyx_k_spos), 1, 1, 1},
13000
 
  {&__pyx_kp_epos, __pyx_k_epos, sizeof(__pyx_k_epos), 1, 1, 1},
13001
 
  {&__pyx_kp_esize, __pyx_k_esize, sizeof(__pyx_k_esize), 1, 1, 1},
13002
 
  {&__pyx_kp_mpos, __pyx_k_mpos, sizeof(__pyx_k_mpos), 1, 1, 1},
13003
 
  {&__pyx_kp_msize, __pyx_k_msize, sizeof(__pyx_k_msize), 1, 1, 1},
13004
 
  {&__pyx_kp_ebias, __pyx_k_ebias, sizeof(__pyx_k_ebias), 1, 1, 1},
13005
 
  {&__pyx_kp_norm, __pyx_k_norm, sizeof(__pyx_k_norm), 1, 1, 1},
13006
 
  {&__pyx_kp_pad_code, __pyx_k_pad_code, sizeof(__pyx_k_pad_code), 1, 1, 1},
13007
 
  {&__pyx_kp_member, __pyx_k_member, sizeof(__pyx_k_member), 1, 1, 1},
13008
 
  {&__pyx_kp_field, __pyx_k_field, sizeof(__pyx_k_field), 1, 1, 1},
13009
 
  {&__pyx_kp_value, __pyx_k_value, sizeof(__pyx_k_value), 1, 1, 1},
13010
 
  {&__pyx_kp_idx, __pyx_k_idx, sizeof(__pyx_k_idx), 1, 1, 1},
13011
 
  {&__pyx_kp_dtype_in, __pyx_k_dtype_in, sizeof(__pyx_k_dtype_in), 1, 1, 1},
13012
 
  {&__pyx_kp_logical, __pyx_k_logical, sizeof(__pyx_k_logical), 1, 1, 1},
13013
 
  {&__pyx_kp_dt_in, __pyx_k_dt_in, sizeof(__pyx_k_dt_in), 1, 1, 1},
13014
 
  {&__pyx_kp_enum_vals, __pyx_k_enum_vals, sizeof(__pyx_k_enum_vals), 1, 1, 1},
13015
 
  {&__pyx_kp_dt, __pyx_k_dt, sizeof(__pyx_k_dt), 1, 1, 1},
13016
 
  {&__pyx_kp_kind, __pyx_k_kind, sizeof(__pyx_k_kind), 1, 1, 1},
13017
 
  {&__pyx_kp_src, __pyx_k_src, sizeof(__pyx_k_src), 1, 1, 1},
13018
 
  {&__pyx_kp_dst, __pyx_k_dst, sizeof(__pyx_k_dst), 1, 1, 1},
13019
 
  {&__pyx_kp___doc__, __pyx_k___doc__, sizeof(__pyx_k___doc__), 1, 1, 1},
13020
 
  {&__pyx_kp_sys, __pyx_k_sys, sizeof(__pyx_k_sys), 1, 1, 1},
13021
 
  {&__pyx_kp_127, __pyx_k_127, sizeof(__pyx_k_127), 1, 1, 1},
13022
 
  {&__pyx_kp__sync, __pyx_k__sync, sizeof(__pyx_k__sync), 1, 1, 1},
13023
 
  {&__pyx_kp_sync, __pyx_k_sync, sizeof(__pyx_k_sync), 1, 1, 1},
13024
 
  {&__pyx_kp_nosync, __pyx_k_nosync, sizeof(__pyx_k_nosync), 1, 1, 1},
13025
 
  {&__pyx_kp_NO_CLASS, __pyx_k_NO_CLASS, sizeof(__pyx_k_NO_CLASS), 1, 1, 1},
13026
 
  {&__pyx_kp_INTEGER, __pyx_k_INTEGER, sizeof(__pyx_k_INTEGER), 1, 1, 1},
13027
 
  {&__pyx_kp_FLOAT, __pyx_k_FLOAT, sizeof(__pyx_k_FLOAT), 1, 1, 1},
13028
 
  {&__pyx_kp_TIME, __pyx_k_TIME, sizeof(__pyx_k_TIME), 1, 1, 1},
13029
 
  {&__pyx_kp_STRING, __pyx_k_STRING, sizeof(__pyx_k_STRING), 1, 1, 1},
13030
 
  {&__pyx_kp_BITFIELD, __pyx_k_BITFIELD, sizeof(__pyx_k_BITFIELD), 1, 1, 1},
13031
 
  {&__pyx_kp_OPAQUE, __pyx_k_OPAQUE, sizeof(__pyx_k_OPAQUE), 1, 1, 1},
13032
 
  {&__pyx_kp_COMPOUND, __pyx_k_COMPOUND, sizeof(__pyx_k_COMPOUND), 1, 1, 1},
13033
 
  {&__pyx_kp_REFERENCE, __pyx_k_REFERENCE, sizeof(__pyx_k_REFERENCE), 1, 1, 1},
13034
 
  {&__pyx_kp_ENUM, __pyx_k_ENUM, sizeof(__pyx_k_ENUM), 1, 1, 1},
13035
 
  {&__pyx_kp_VLEN, __pyx_k_VLEN, sizeof(__pyx_k_VLEN), 1, 1, 1},
13036
 
  {&__pyx_kp_ARRAY, __pyx_k_ARRAY, sizeof(__pyx_k_ARRAY), 1, 1, 1},
13037
 
  {&__pyx_kp_SGN_NONE, __pyx_k_SGN_NONE, sizeof(__pyx_k_SGN_NONE), 1, 1, 1},
13038
 
  {&__pyx_kp_128, __pyx_k_128, sizeof(__pyx_k_128), 1, 1, 1},
13039
 
  {&__pyx_kp_ORDER_LE, __pyx_k_ORDER_LE, sizeof(__pyx_k_ORDER_LE), 1, 1, 1},
13040
 
  {&__pyx_kp_ORDER_BE, __pyx_k_ORDER_BE, sizeof(__pyx_k_ORDER_BE), 1, 1, 1},
13041
 
  {&__pyx_kp_ORDER_VAX, __pyx_k_ORDER_VAX, sizeof(__pyx_k_ORDER_VAX), 1, 1, 1},
13042
 
  {&__pyx_kp_ORDER_NONE, __pyx_k_ORDER_NONE, sizeof(__pyx_k_ORDER_NONE), 1, 1, 1},
13043
 
  {&__pyx_kp_DIR_DEFAULT, __pyx_k_DIR_DEFAULT, sizeof(__pyx_k_DIR_DEFAULT), 1, 1, 1},
13044
 
  {&__pyx_kp_DIR_ASCEND, __pyx_k_DIR_ASCEND, sizeof(__pyx_k_DIR_ASCEND), 1, 1, 1},
13045
 
  {&__pyx_kp_DIR_DESCEND, __pyx_k_DIR_DESCEND, sizeof(__pyx_k_DIR_DESCEND), 1, 1, 1},
13046
 
  {&__pyx_kp_STR_NULLTERM, __pyx_k_STR_NULLTERM, sizeof(__pyx_k_STR_NULLTERM), 1, 1, 1},
13047
 
  {&__pyx_kp_STR_NULLPAD, __pyx_k_STR_NULLPAD, sizeof(__pyx_k_STR_NULLPAD), 1, 1, 1},
13048
 
  {&__pyx_kp_STR_SPACEPAD, __pyx_k_STR_SPACEPAD, sizeof(__pyx_k_STR_SPACEPAD), 1, 1, 1},
13049
 
  {&__pyx_kp_NORM_IMPLIED, __pyx_k_NORM_IMPLIED, sizeof(__pyx_k_NORM_IMPLIED), 1, 1, 1},
13050
 
  {&__pyx_kp_NORM_MSBSET, __pyx_k_NORM_MSBSET, sizeof(__pyx_k_NORM_MSBSET), 1, 1, 1},
13051
 
  {&__pyx_kp_NORM_NONE, __pyx_k_NORM_NONE, sizeof(__pyx_k_NORM_NONE), 1, 1, 1},
13052
 
  {&__pyx_kp_CSET_ASCII, __pyx_k_CSET_ASCII, sizeof(__pyx_k_CSET_ASCII), 1, 1, 1},
13053
 
  {&__pyx_kp_PAD_ZERO, __pyx_k_PAD_ZERO, sizeof(__pyx_k_PAD_ZERO), 1, 1, 1},
13054
 
  {&__pyx_kp_PAD_ONE, __pyx_k_PAD_ONE, sizeof(__pyx_k_PAD_ONE), 1, 1, 1},
13055
 
  {&__pyx_kp_PAD_BACKGROUND, __pyx_k_PAD_BACKGROUND, sizeof(__pyx_k_PAD_BACKGROUND), 1, 1, 1},
13056
 
  {&__pyx_kp_byteorder, __pyx_k_byteorder, sizeof(__pyx_k_byteorder), 1, 1, 1},
13057
 
  {&__pyx_kp_129, __pyx_k_129, sizeof(__pyx_k_129), 0, 1, 0},
13058
 
  {&__pyx_kp_ORDER_NATIVE, __pyx_k_ORDER_NATIVE, sizeof(__pyx_k_ORDER_NATIVE), 1, 1, 1},
13059
 
  {&__pyx_kp_130, __pyx_k_130, sizeof(__pyx_k_130), 1, 1, 1},
13060
 
  {&__pyx_kp_131, __pyx_k_131, sizeof(__pyx_k_131), 1, 1, 1},
13061
 
  {&__pyx_kp_132, __pyx_k_132, sizeof(__pyx_k_132), 1, 1, 1},
13062
 
  {&__pyx_kp_133, __pyx_k_133, sizeof(__pyx_k_133), 1, 1, 1},
13063
 
  {&__pyx_kp_134, __pyx_k_134, sizeof(__pyx_k_134), 1, 1, 1},
13064
 
  {&__pyx_kp_135, __pyx_k_135, sizeof(__pyx_k_135), 1, 1, 1},
13065
 
  {&__pyx_kp_136, __pyx_k_136, sizeof(__pyx_k_136), 1, 1, 1},
13066
 
  {&__pyx_kp_137, __pyx_k_137, sizeof(__pyx_k_137), 1, 1, 1},
13067
 
  {&__pyx_kp_138, __pyx_k_138, sizeof(__pyx_k_138), 1, 1, 1},
13068
 
  {&__pyx_kp_139, __pyx_k_139, sizeof(__pyx_k_139), 1, 1, 1},
13069
 
  {&__pyx_kp_140, __pyx_k_140, sizeof(__pyx_k_140), 1, 1, 1},
13070
 
  {&__pyx_kp_141, __pyx_k_141, sizeof(__pyx_k_141), 1, 1, 1},
13071
 
  {&__pyx_kp_142, __pyx_k_142, sizeof(__pyx_k_142), 1, 1, 1},
13072
 
  {&__pyx_kp_143, __pyx_k_143, sizeof(__pyx_k_143), 1, 1, 1},
13073
 
  {&__pyx_kp_144, __pyx_k_144, sizeof(__pyx_k_144), 1, 1, 1},
13074
 
  {&__pyx_kp_145, __pyx_k_145, sizeof(__pyx_k_145), 1, 1, 1},
13075
 
  {&__pyx_kp_146, __pyx_k_146, sizeof(__pyx_k_146), 1, 1, 1},
13076
 
  {&__pyx_kp_147, __pyx_k_147, sizeof(__pyx_k_147), 1, 1, 1},
13077
 
  {&__pyx_kp_148, __pyx_k_148, sizeof(__pyx_k_148), 1, 1, 1},
13078
 
  {&__pyx_kp_149, __pyx_k_149, sizeof(__pyx_k_149), 1, 1, 1},
13079
 
  {&__pyx_kp_150, __pyx_k_150, sizeof(__pyx_k_150), 1, 1, 1},
13080
 
  {&__pyx_kp_151, __pyx_k_151, sizeof(__pyx_k_151), 1, 1, 1},
13081
 
  {&__pyx_kp_152, __pyx_k_152, sizeof(__pyx_k_152), 1, 1, 1},
13082
 
  {&__pyx_kp_153, __pyx_k_153, sizeof(__pyx_k_153), 1, 1, 1},
13083
 
  {&__pyx_kp_154, __pyx_k_154, sizeof(__pyx_k_154), 1, 1, 1},
13084
 
  {&__pyx_kp_155, __pyx_k_155, sizeof(__pyx_k_155), 1, 1, 1},
13085
 
  {&__pyx_kp_156, __pyx_k_156, sizeof(__pyx_k_156), 1, 1, 1},
13086
 
  {&__pyx_kp_157, __pyx_k_157, sizeof(__pyx_k_157), 1, 1, 1},
13087
 
  {&__pyx_kp_NATIVE_FLOAT, __pyx_k_NATIVE_FLOAT, sizeof(__pyx_k_NATIVE_FLOAT), 1, 1, 1},
13088
 
  {&__pyx_kp_NATIVE_DOUBLE, __pyx_k_NATIVE_DOUBLE, sizeof(__pyx_k_NATIVE_DOUBLE), 1, 1, 1},
13089
 
  {&__pyx_kp_158, __pyx_k_158, sizeof(__pyx_k_158), 1, 1, 1},
13090
 
  {&__pyx_kp_159, __pyx_k_159, sizeof(__pyx_k_159), 1, 1, 1},
13091
 
  {&__pyx_kp_160, __pyx_k_160, sizeof(__pyx_k_160), 1, 1, 1},
13092
 
  {&__pyx_kp_161, __pyx_k_161, sizeof(__pyx_k_161), 1, 1, 1},
13093
 
  {&__pyx_kp_STD_REF_OBJ, __pyx_k_STD_REF_OBJ, sizeof(__pyx_k_STD_REF_OBJ), 1, 1, 1},
13094
 
  {&__pyx_kp_STD_REF_DSETREG, __pyx_k_STD_REF_DSETREG, sizeof(__pyx_k_STD_REF_DSETREG), 1, 1, 1},
13095
 
  {&__pyx_kp_162, __pyx_k_162, sizeof(__pyx_k_162), 1, 1, 1},
13096
 
  {&__pyx_kp_163, __pyx_k_163, sizeof(__pyx_k_163), 1, 1, 1},
13097
 
  {&__pyx_kp_VARIABLE, __pyx_k_VARIABLE, sizeof(__pyx_k_VARIABLE), 1, 1, 1},
13098
 
  {&__pyx_kp_PYTHON_OBJECT, __pyx_k_PYTHON_OBJECT, sizeof(__pyx_k_PYTHON_OBJECT), 1, 1, 1},
13099
 
  {&__pyx_kp_167, __pyx_k_167, sizeof(__pyx_k_167), 0, 1, 0},
13100
 
  {&__pyx_kp_168, __pyx_k_168, sizeof(__pyx_k_168), 0, 1, 0},
13101
 
  {&__pyx_kp_create, __pyx_k_create, sizeof(__pyx_k_create), 1, 1, 1},
13102
 
  {&__pyx_kp_open, __pyx_k_open, sizeof(__pyx_k_open), 1, 1, 1},
13103
 
  {&__pyx_kp_array_create, __pyx_k_array_create, sizeof(__pyx_k_array_create), 1, 1, 1},
13104
 
  {&__pyx_kp_enum_create, __pyx_k_enum_create, sizeof(__pyx_k_enum_create), 1, 1, 1},
13105
 
  {&__pyx_kp_vlen_create, __pyx_k_vlen_create, sizeof(__pyx_k_vlen_create), 1, 1, 1},
13106
 
  {&__pyx_kp_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 1, 1, 1},
13107
 
  {&__pyx_kp_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 1, 1, 1},
13108
 
  {&__pyx_kp_NotImplemented, __pyx_k_NotImplemented, sizeof(__pyx_k_NotImplemented), 1, 1, 1},
13109
 
  {&__pyx_kp___class__, __pyx_k___class__, sizeof(__pyx_k___class__), 1, 1, 1},
13110
 
  {&__pyx_kp___name__, __pyx_k___name__, sizeof(__pyx_k___name__), 1, 1, 1},
13111
 
  {&__pyx_kp_175, __pyx_k_175, sizeof(__pyx_k_175), 0, 1, 0},
13112
 
  {&__pyx_kp_180, __pyx_k_180, sizeof(__pyx_k_180), 0, 1, 0},
13113
 
  {&__pyx_kp_str, __pyx_k_str, sizeof(__pyx_k_str), 1, 1, 1},
13114
 
  {&__pyx_kp_181, __pyx_k_181, sizeof(__pyx_k_181), 0, 1, 0},
13115
 
  {&__pyx_kp_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 1, 1, 1},
13116
 
  {&__pyx_kp_xrange, __pyx_k_xrange, sizeof(__pyx_k_xrange), 1, 1, 1},
13117
 
  {&__pyx_kp_184, __pyx_k_184, sizeof(__pyx_k_184), 0, 1, 0},
13118
 
  {&__pyx_kp_sorted, __pyx_k_sorted, sizeof(__pyx_k_sorted), 1, 1, 1},
13119
 
  {&__pyx_kp_subdtype, __pyx_k_subdtype, sizeof(__pyx_k_subdtype), 1, 1, 1},
13120
 
  {&__pyx_kp_itemsize, __pyx_k_itemsize, sizeof(__pyx_k_itemsize), 1, 1, 1},
13121
 
  {&__pyx_kp_names, __pyx_k_names, sizeof(__pyx_k_names), 1, 1, 1},
13122
 
  {&__pyx_kp_192, __pyx_k_192, sizeof(__pyx_k_192), 0, 1, 0},
13123
 
  {&__pyx_kp_193, __pyx_k_193, sizeof(__pyx_k_193), 0, 1, 0},
13124
 
  {&__pyx_kp_194, __pyx_k_194, sizeof(__pyx_k_194), 0, 1, 0},
13125
 
  {&__pyx_kp_195, __pyx_k_195, sizeof(__pyx_k_195), 0, 1, 0},
13126
 
  {&__pyx_kp_fields, __pyx_k_fields, sizeof(__pyx_k_fields), 1, 1, 1},
13127
 
  {&__pyx_kp_196, __pyx_k_196, sizeof(__pyx_k_196), 0, 1, 0},
13128
 
  {&__pyx_kp_197, __pyx_k_197, sizeof(__pyx_k_197), 0, 1, 0},
13129
 
  {&__pyx_kp_198, __pyx_k_198, sizeof(__pyx_k_198), 0, 1, 0},
13130
 
  {&__pyx_kp_199, __pyx_k_199, sizeof(__pyx_k_199), 0, 1, 0},
13131
 
  {&__pyx_kp_NotImplementedError, __pyx_k_NotImplementedError, sizeof(__pyx_k_NotImplementedError), 1, 1, 1},
13132
 
  {&__pyx_kp_201, __pyx_k_201, sizeof(__pyx_k_201), 0, 1, 0},
13133
 
  {&__pyx_kp_202, __pyx_k_202, sizeof(__pyx_k_202), 0, 1, 0},
13134
 
  {&__pyx_kp_203, __pyx_k_203, sizeof(__pyx_k_203), 0, 1, 0},
13135
 
  {&__pyx_kp_204, __pyx_k_204, sizeof(__pyx_k_204), 0, 1, 0},
13136
 
  {&__pyx_kp_206, __pyx_k_206, sizeof(__pyx_k_206), 0, 1, 0},
13137
 
  {&__pyx_kp_207, __pyx_k_207, sizeof(__pyx_k_207), 0, 1, 0},
13138
 
  {&__pyx_kp_208, __pyx_k_208, sizeof(__pyx_k_208), 0, 1, 0},
13139
 
  {&__pyx_kp_209, __pyx_k_209, sizeof(__pyx_k_209), 0, 1, 0},
13140
 
  {&__pyx_kp_126, __pyx_k_126, sizeof(__pyx_k_126), 0, 0, 0},
13141
 
  {&__pyx_kp_164, __pyx_k_164, sizeof(__pyx_k_164), 0, 0, 0},
13142
 
  {&__pyx_kp_165, __pyx_k_165, sizeof(__pyx_k_165), 0, 0, 0},
13143
 
  {&__pyx_kp_166, __pyx_k_166, sizeof(__pyx_k_166), 0, 0, 0},
13144
 
  {&__pyx_kp_169, __pyx_k_169, sizeof(__pyx_k_169), 0, 0, 0},
13145
 
  {&__pyx_kp_171, __pyx_k_171, sizeof(__pyx_k_171), 0, 0, 0},
13146
 
  {&__pyx_kp_172, __pyx_k_172, sizeof(__pyx_k_172), 0, 0, 0},
13147
 
  {&__pyx_kp_173, __pyx_k_173, sizeof(__pyx_k_173), 0, 0, 0},
13148
 
  {&__pyx_kp_174, __pyx_k_174, sizeof(__pyx_k_174), 0, 0, 0},
13149
 
  {&__pyx_kp_176, __pyx_k_176, sizeof(__pyx_k_176), 0, 0, 0},
13150
 
  {&__pyx_kp_177, __pyx_k_177, sizeof(__pyx_k_177), 0, 0, 0},
13151
 
  {&__pyx_kp_178, __pyx_k_178, sizeof(__pyx_k_178), 0, 0, 0},
13152
 
  {&__pyx_kp_179, __pyx_k_179, sizeof(__pyx_k_179), 0, 0, 0},
13153
 
  {&__pyx_kp_182, __pyx_k_182, sizeof(__pyx_k_182), 0, 0, 0},
13154
 
  {&__pyx_kp_183, __pyx_k_183, sizeof(__pyx_k_183), 0, 0, 0},
13155
 
  {&__pyx_kp_185, __pyx_k_185, sizeof(__pyx_k_185), 0, 0, 0},
13156
 
  {&__pyx_kp_186, __pyx_k_186, sizeof(__pyx_k_186), 0, 0, 0},
13157
 
  {&__pyx_kp_187, __pyx_k_187, sizeof(__pyx_k_187), 0, 0, 0},
13158
 
  {&__pyx_kp_188, __pyx_k_188, sizeof(__pyx_k_188), 0, 0, 0},
13159
 
  {&__pyx_kp_191, __pyx_k_191, sizeof(__pyx_k_191), 0, 0, 0},
13160
 
  {&__pyx_kp_200, __pyx_k_200, sizeof(__pyx_k_200), 0, 0, 0},
13161
 
  {0, 0, 0, 0, 0, 0}
 
14429
  {&__pyx_kp_s_1, __pyx_k_1, sizeof(__pyx_k_1), 0, 0, 1, 0},
 
14430
  {&__pyx_kp_s_10, __pyx_k_10, sizeof(__pyx_k_10), 0, 0, 1, 0},
 
14431
  {&__pyx_kp_s_11, __pyx_k_11, sizeof(__pyx_k_11), 0, 0, 1, 0},
 
14432
  {&__pyx_kp_s_12, __pyx_k_12, sizeof(__pyx_k_12), 0, 0, 1, 0},
 
14433
  {&__pyx_kp_s_13, __pyx_k_13, sizeof(__pyx_k_13), 0, 0, 1, 0},
 
14434
  {&__pyx_kp_s_14, __pyx_k_14, sizeof(__pyx_k_14), 0, 0, 1, 0},
 
14435
  {&__pyx_kp_s_15, __pyx_k_15, sizeof(__pyx_k_15), 0, 0, 1, 0},
 
14436
  {&__pyx_kp_s_16, __pyx_k_16, sizeof(__pyx_k_16), 0, 0, 1, 0},
 
14437
  {&__pyx_kp_s_17, __pyx_k_17, sizeof(__pyx_k_17), 0, 0, 1, 0},
 
14438
  {&__pyx_kp_s_18, __pyx_k_18, sizeof(__pyx_k_18), 0, 0, 1, 0},
 
14439
  {&__pyx_kp_s_19, __pyx_k_19, sizeof(__pyx_k_19), 0, 0, 1, 0},
 
14440
  {&__pyx_kp_s_2, __pyx_k_2, sizeof(__pyx_k_2), 0, 0, 1, 0},
 
14441
  {&__pyx_kp_s_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 1, 0},
 
14442
  {&__pyx_kp_s_21, __pyx_k_21, sizeof(__pyx_k_21), 0, 0, 1, 0},
 
14443
  {&__pyx_kp_s_22, __pyx_k_22, sizeof(__pyx_k_22), 0, 0, 1, 0},
 
14444
  {&__pyx_kp_s_23, __pyx_k_23, sizeof(__pyx_k_23), 0, 0, 1, 0},
 
14445
  {&__pyx_kp_s_26, __pyx_k_26, sizeof(__pyx_k_26), 0, 0, 1, 0},
 
14446
  {&__pyx_kp_s_27, __pyx_k_27, sizeof(__pyx_k_27), 0, 0, 1, 0},
 
14447
  {&__pyx_kp_s_28, __pyx_k_28, sizeof(__pyx_k_28), 0, 0, 1, 0},
 
14448
  {&__pyx_kp_s_3, __pyx_k_3, sizeof(__pyx_k_3), 0, 0, 1, 0},
 
14449
  {&__pyx_kp_s_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 0, 1, 0},
 
14450
  {&__pyx_kp_s_5, __pyx_k_5, sizeof(__pyx_k_5), 0, 0, 1, 0},
 
14451
  {&__pyx_kp_s_6, __pyx_k_6, sizeof(__pyx_k_6), 0, 0, 1, 0},
 
14452
  {&__pyx_kp_s_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 0, 1, 0},
 
14453
  {&__pyx_kp_s_8, __pyx_k_8, sizeof(__pyx_k_8), 0, 0, 1, 0},
 
14454
  {&__pyx_kp_s_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 0, 1, 0},
 
14455
  {&__pyx_n_s__ARRAY, __pyx_k__ARRAY, sizeof(__pyx_k__ARRAY), 0, 0, 1, 1},
 
14456
  {&__pyx_n_s__BITFIELD, __pyx_k__BITFIELD, sizeof(__pyx_k__BITFIELD), 0, 0, 1, 1},
 
14457
  {&__pyx_n_s__BKG_NO, __pyx_k__BKG_NO, sizeof(__pyx_k__BKG_NO), 0, 0, 1, 1},
 
14458
  {&__pyx_n_s__BKG_TEMP, __pyx_k__BKG_TEMP, sizeof(__pyx_k__BKG_TEMP), 0, 0, 1, 1},
 
14459
  {&__pyx_n_s__BKG_YES, __pyx_k__BKG_YES, sizeof(__pyx_k__BKG_YES), 0, 0, 1, 1},
 
14460
  {&__pyx_n_s__COMPOUND, __pyx_k__COMPOUND, sizeof(__pyx_k__COMPOUND), 0, 0, 1, 1},
 
14461
  {&__pyx_n_s__CSET_ASCII, __pyx_k__CSET_ASCII, sizeof(__pyx_k__CSET_ASCII), 0, 0, 1, 1},
 
14462
  {&__pyx_n_s__C_S1, __pyx_k__C_S1, sizeof(__pyx_k__C_S1), 0, 0, 1, 1},
 
14463
  {&__pyx_n_s__DIR_ASCEND, __pyx_k__DIR_ASCEND, sizeof(__pyx_k__DIR_ASCEND), 0, 0, 1, 1},
 
14464
  {&__pyx_n_s__DIR_DEFAULT, __pyx_k__DIR_DEFAULT, sizeof(__pyx_k__DIR_DEFAULT), 0, 0, 1, 1},
 
14465
  {&__pyx_n_s__DIR_DESCEND, __pyx_k__DIR_DESCEND, sizeof(__pyx_k__DIR_DESCEND), 0, 0, 1, 1},
 
14466
  {&__pyx_n_s__ENUM, __pyx_k__ENUM, sizeof(__pyx_k__ENUM), 0, 0, 1, 1},
 
14467
  {&__pyx_n_s__FLOAT, __pyx_k__FLOAT, sizeof(__pyx_k__FLOAT), 0, 0, 1, 1},
 
14468
  {&__pyx_n_s__FORTRAN_S1, __pyx_k__FORTRAN_S1, sizeof(__pyx_k__FORTRAN_S1), 0, 0, 1, 1},
 
14469
  {&__pyx_n_s__IEEE_F32BE, __pyx_k__IEEE_F32BE, sizeof(__pyx_k__IEEE_F32BE), 0, 0, 1, 1},
 
14470
  {&__pyx_n_s__IEEE_F32LE, __pyx_k__IEEE_F32LE, sizeof(__pyx_k__IEEE_F32LE), 0, 0, 1, 1},
 
14471
  {&__pyx_n_s__IEEE_F64BE, __pyx_k__IEEE_F64BE, sizeof(__pyx_k__IEEE_F64BE), 0, 0, 1, 1},
 
14472
  {&__pyx_n_s__IEEE_F64LE, __pyx_k__IEEE_F64LE, sizeof(__pyx_k__IEEE_F64LE), 0, 0, 1, 1},
 
14473
  {&__pyx_n_s__INTEGER, __pyx_k__INTEGER, sizeof(__pyx_k__INTEGER), 0, 0, 1, 1},
 
14474
  {&__pyx_n_s__KeyError, __pyx_k__KeyError, sizeof(__pyx_k__KeyError), 0, 0, 1, 1},
 
14475
  {&__pyx_n_s__NATIVE_DOUBLE, __pyx_k__NATIVE_DOUBLE, sizeof(__pyx_k__NATIVE_DOUBLE), 0, 0, 1, 1},
 
14476
  {&__pyx_n_s__NATIVE_FLOAT, __pyx_k__NATIVE_FLOAT, sizeof(__pyx_k__NATIVE_FLOAT), 0, 0, 1, 1},
 
14477
  {&__pyx_n_s__NATIVE_INT16, __pyx_k__NATIVE_INT16, sizeof(__pyx_k__NATIVE_INT16), 0, 0, 1, 1},
 
14478
  {&__pyx_n_s__NATIVE_INT32, __pyx_k__NATIVE_INT32, sizeof(__pyx_k__NATIVE_INT32), 0, 0, 1, 1},
 
14479
  {&__pyx_n_s__NATIVE_INT64, __pyx_k__NATIVE_INT64, sizeof(__pyx_k__NATIVE_INT64), 0, 0, 1, 1},
 
14480
  {&__pyx_n_s__NATIVE_INT8, __pyx_k__NATIVE_INT8, sizeof(__pyx_k__NATIVE_INT8), 0, 0, 1, 1},
 
14481
  {&__pyx_n_s__NATIVE_UINT16, __pyx_k__NATIVE_UINT16, sizeof(__pyx_k__NATIVE_UINT16), 0, 0, 1, 1},
 
14482
  {&__pyx_n_s__NATIVE_UINT32, __pyx_k__NATIVE_UINT32, sizeof(__pyx_k__NATIVE_UINT32), 0, 0, 1, 1},
 
14483
  {&__pyx_n_s__NATIVE_UINT64, __pyx_k__NATIVE_UINT64, sizeof(__pyx_k__NATIVE_UINT64), 0, 0, 1, 1},
 
14484
  {&__pyx_n_s__NATIVE_UINT8, __pyx_k__NATIVE_UINT8, sizeof(__pyx_k__NATIVE_UINT8), 0, 0, 1, 1},
 
14485
  {&__pyx_n_s__NORM_IMPLIED, __pyx_k__NORM_IMPLIED, sizeof(__pyx_k__NORM_IMPLIED), 0, 0, 1, 1},
 
14486
  {&__pyx_n_s__NORM_MSBSET, __pyx_k__NORM_MSBSET, sizeof(__pyx_k__NORM_MSBSET), 0, 0, 1, 1},
 
14487
  {&__pyx_n_s__NORM_NONE, __pyx_k__NORM_NONE, sizeof(__pyx_k__NORM_NONE), 0, 0, 1, 1},
 
14488
  {&__pyx_n_s__NO_CLASS, __pyx_k__NO_CLASS, sizeof(__pyx_k__NO_CLASS), 0, 0, 1, 1},
 
14489
  {&__pyx_n_s__NotImplemented, __pyx_k__NotImplemented, sizeof(__pyx_k__NotImplemented), 0, 0, 1, 1},
 
14490
  {&__pyx_n_s__NotImplementedError, __pyx_k__NotImplementedError, sizeof(__pyx_k__NotImplementedError), 0, 0, 1, 1},
 
14491
  {&__pyx_n_s__O, __pyx_k__O, sizeof(__pyx_k__O), 0, 0, 1, 1},
 
14492
  {&__pyx_n_s__OPAQUE, __pyx_k__OPAQUE, sizeof(__pyx_k__OPAQUE), 0, 0, 1, 1},
 
14493
  {&__pyx_n_s__ORDER_BE, __pyx_k__ORDER_BE, sizeof(__pyx_k__ORDER_BE), 0, 0, 1, 1},
 
14494
  {&__pyx_n_s__ORDER_LE, __pyx_k__ORDER_LE, sizeof(__pyx_k__ORDER_LE), 0, 0, 1, 1},
 
14495
  {&__pyx_n_s__ORDER_NATIVE, __pyx_k__ORDER_NATIVE, sizeof(__pyx_k__ORDER_NATIVE), 0, 0, 1, 1},
 
14496
  {&__pyx_n_s__ORDER_NONE, __pyx_k__ORDER_NONE, sizeof(__pyx_k__ORDER_NONE), 0, 0, 1, 1},
 
14497
  {&__pyx_n_s__ORDER_VAX, __pyx_k__ORDER_VAX, sizeof(__pyx_k__ORDER_VAX), 0, 0, 1, 1},
 
14498
  {&__pyx_n_s__PAD_BACKGROUND, __pyx_k__PAD_BACKGROUND, sizeof(__pyx_k__PAD_BACKGROUND), 0, 0, 1, 1},
 
14499
  {&__pyx_n_s__PAD_ONE, __pyx_k__PAD_ONE, sizeof(__pyx_k__PAD_ONE), 0, 0, 1, 1},
 
14500
  {&__pyx_n_s__PAD_ZERO, __pyx_k__PAD_ZERO, sizeof(__pyx_k__PAD_ZERO), 0, 0, 1, 1},
 
14501
  {&__pyx_n_s__PYTHON_OBJECT, __pyx_k__PYTHON_OBJECT, sizeof(__pyx_k__PYTHON_OBJECT), 0, 0, 1, 1},
 
14502
  {&__pyx_n_s__REFERENCE, __pyx_k__REFERENCE, sizeof(__pyx_k__REFERENCE), 0, 0, 1, 1},
 
14503
  {&__pyx_n_s__SGN_2, __pyx_k__SGN_2, sizeof(__pyx_k__SGN_2), 0, 0, 1, 1},
 
14504
  {&__pyx_n_s__SGN_NONE, __pyx_k__SGN_NONE, sizeof(__pyx_k__SGN_NONE), 0, 0, 1, 1},
 
14505
  {&__pyx_n_s__STD_I16BE, __pyx_k__STD_I16BE, sizeof(__pyx_k__STD_I16BE), 0, 0, 1, 1},
 
14506
  {&__pyx_n_s__STD_I16LE, __pyx_k__STD_I16LE, sizeof(__pyx_k__STD_I16LE), 0, 0, 1, 1},
 
14507
  {&__pyx_n_s__STD_I32BE, __pyx_k__STD_I32BE, sizeof(__pyx_k__STD_I32BE), 0, 0, 1, 1},
 
14508
  {&__pyx_n_s__STD_I32LE, __pyx_k__STD_I32LE, sizeof(__pyx_k__STD_I32LE), 0, 0, 1, 1},
 
14509
  {&__pyx_n_s__STD_I64BE, __pyx_k__STD_I64BE, sizeof(__pyx_k__STD_I64BE), 0, 0, 1, 1},
 
14510
  {&__pyx_n_s__STD_I64LE, __pyx_k__STD_I64LE, sizeof(__pyx_k__STD_I64LE), 0, 0, 1, 1},
 
14511
  {&__pyx_n_s__STD_I8BE, __pyx_k__STD_I8BE, sizeof(__pyx_k__STD_I8BE), 0, 0, 1, 1},
 
14512
  {&__pyx_n_s__STD_I8LE, __pyx_k__STD_I8LE, sizeof(__pyx_k__STD_I8LE), 0, 0, 1, 1},
 
14513
  {&__pyx_n_s__STD_REF_DSETREG, __pyx_k__STD_REF_DSETREG, sizeof(__pyx_k__STD_REF_DSETREG), 0, 0, 1, 1},
 
14514
  {&__pyx_n_s__STD_REF_OBJ, __pyx_k__STD_REF_OBJ, sizeof(__pyx_k__STD_REF_OBJ), 0, 0, 1, 1},
 
14515
  {&__pyx_n_s__STD_U16BE, __pyx_k__STD_U16BE, sizeof(__pyx_k__STD_U16BE), 0, 0, 1, 1},
 
14516
  {&__pyx_n_s__STD_U16LE, __pyx_k__STD_U16LE, sizeof(__pyx_k__STD_U16LE), 0, 0, 1, 1},
 
14517
  {&__pyx_n_s__STD_U32BE, __pyx_k__STD_U32BE, sizeof(__pyx_k__STD_U32BE), 0, 0, 1, 1},
 
14518
  {&__pyx_n_s__STD_U32LE, __pyx_k__STD_U32LE, sizeof(__pyx_k__STD_U32LE), 0, 0, 1, 1},
 
14519
  {&__pyx_n_s__STD_U64BE, __pyx_k__STD_U64BE, sizeof(__pyx_k__STD_U64BE), 0, 0, 1, 1},
 
14520
  {&__pyx_n_s__STD_U64LE, __pyx_k__STD_U64LE, sizeof(__pyx_k__STD_U64LE), 0, 0, 1, 1},
 
14521
  {&__pyx_n_s__STD_U8BE, __pyx_k__STD_U8BE, sizeof(__pyx_k__STD_U8BE), 0, 0, 1, 1},
 
14522
  {&__pyx_n_s__STD_U8LE, __pyx_k__STD_U8LE, sizeof(__pyx_k__STD_U8LE), 0, 0, 1, 1},
 
14523
  {&__pyx_n_s__STRING, __pyx_k__STRING, sizeof(__pyx_k__STRING), 0, 0, 1, 1},
 
14524
  {&__pyx_n_s__STR_NULLPAD, __pyx_k__STR_NULLPAD, sizeof(__pyx_k__STR_NULLPAD), 0, 0, 1, 1},
 
14525
  {&__pyx_n_s__STR_NULLTERM, __pyx_k__STR_NULLTERM, sizeof(__pyx_k__STR_NULLTERM), 0, 0, 1, 1},
 
14526
  {&__pyx_n_s__STR_SPACEPAD, __pyx_k__STR_SPACEPAD, sizeof(__pyx_k__STR_SPACEPAD), 0, 0, 1, 1},
 
14527
  {&__pyx_n_s__TIME, __pyx_k__TIME, sizeof(__pyx_k__TIME), 0, 0, 1, 1},
 
14528
  {&__pyx_n_s__TypeError, __pyx_k__TypeError, sizeof(__pyx_k__TypeError), 0, 0, 1, 1},
 
14529
  {&__pyx_n_s__UNIX_D32BE, __pyx_k__UNIX_D32BE, sizeof(__pyx_k__UNIX_D32BE), 0, 0, 1, 1},
 
14530
  {&__pyx_n_s__UNIX_D32LE, __pyx_k__UNIX_D32LE, sizeof(__pyx_k__UNIX_D32LE), 0, 0, 1, 1},
 
14531
  {&__pyx_n_s__UNIX_D64BE, __pyx_k__UNIX_D64BE, sizeof(__pyx_k__UNIX_D64BE), 0, 0, 1, 1},
 
14532
  {&__pyx_n_s__UNIX_D64LE, __pyx_k__UNIX_D64LE, sizeof(__pyx_k__UNIX_D64LE), 0, 0, 1, 1},
 
14533
  {&__pyx_n_s__VARIABLE, __pyx_k__VARIABLE, sizeof(__pyx_k__VARIABLE), 0, 0, 1, 1},
 
14534
  {&__pyx_n_s__VLEN, __pyx_k__VLEN, sizeof(__pyx_k__VLEN), 0, 0, 1, 1},
 
14535
  {&__pyx_n_s__ValueError, __pyx_k__ValueError, sizeof(__pyx_k__ValueError), 0, 0, 1, 1},
 
14536
  {&__pyx_n_s____class__, __pyx_k____class__, sizeof(__pyx_k____class__), 0, 0, 1, 1},
 
14537
  {&__pyx_n_s____copy__, __pyx_k____copy__, sizeof(__pyx_k____copy__), 0, 0, 1, 1},
 
14538
  {&__pyx_n_s____hash__, __pyx_k____hash__, sizeof(__pyx_k____hash__), 0, 0, 1, 1},
 
14539
  {&__pyx_n_s____main__, __pyx_k____main__, sizeof(__pyx_k____main__), 0, 0, 1, 1},
 
14540
  {&__pyx_n_s____name__, __pyx_k____name__, sizeof(__pyx_k____name__), 0, 0, 1, 1},
 
14541
  {&__pyx_n_s___conv, __pyx_k___conv, sizeof(__pyx_k___conv), 0, 0, 1, 1},
 
14542
  {&__pyx_n_s___f_name, __pyx_k___f_name, sizeof(__pyx_k___f_name), 0, 0, 1, 1},
 
14543
  {&__pyx_n_s___hash, __pyx_k___hash, sizeof(__pyx_k___hash), 0, 0, 1, 1},
 
14544
  {&__pyx_n_s___i_name, __pyx_k___i_name, sizeof(__pyx_k___i_name), 0, 0, 1, 1},
 
14545
  {&__pyx_n_s___locked, __pyx_k___locked, sizeof(__pyx_k___locked), 0, 0, 1, 1},
 
14546
  {&__pyx_n_s___r_name, __pyx_k___r_name, sizeof(__pyx_k___r_name), 0, 0, 1, 1},
 
14547
  {&__pyx_n_s___t_name, __pyx_k___t_name, sizeof(__pyx_k___t_name), 0, 0, 1, 1},
 
14548
  {&__pyx_n_s__array_create, __pyx_k__array_create, sizeof(__pyx_k__array_create), 0, 0, 1, 1},
 
14549
  {&__pyx_n_s__base, __pyx_k__base, sizeof(__pyx_k__base), 0, 0, 1, 1},
 
14550
  {&__pyx_n_s__bkg, __pyx_k__bkg, sizeof(__pyx_k__bkg), 0, 0, 1, 1},
 
14551
  {&__pyx_n_s__bool, __pyx_k__bool, sizeof(__pyx_k__bool), 0, 0, 1, 1},
 
14552
  {&__pyx_n_s__buf, __pyx_k__buf, sizeof(__pyx_k__buf), 0, 0, 1, 1},
 
14553
  {&__pyx_n_s__byteorder, __pyx_k__byteorder, sizeof(__pyx_k__byteorder), 0, 0, 1, 1},
 
14554
  {&__pyx_n_s__c, __pyx_k__c, sizeof(__pyx_k__c), 0, 0, 1, 1},
 
14555
  {&__pyx_n_s__check_dtype, __pyx_k__check_dtype, sizeof(__pyx_k__check_dtype), 0, 0, 1, 1},
 
14556
  {&__pyx_n_s__classtype, __pyx_k__classtype, sizeof(__pyx_k__classtype), 0, 0, 1, 1},
 
14557
  {&__pyx_n_s__copy, __pyx_k__copy, sizeof(__pyx_k__copy), 0, 0, 1, 1},
 
14558
  {&__pyx_n_s__data, __pyx_k__data, sizeof(__pyx_k__data), 0, 0, 1, 1},
 
14559
  {&__pyx_n_s__detect_class, __pyx_k__detect_class, sizeof(__pyx_k__detect_class), 0, 0, 1, 1},
 
14560
  {&__pyx_n_s__dims_tpl, __pyx_k__dims_tpl, sizeof(__pyx_k__dims_tpl), 0, 0, 1, 1},
 
14561
  {&__pyx_n_s__dst, __pyx_k__dst, sizeof(__pyx_k__dst), 0, 0, 1, 1},
 
14562
  {&__pyx_n_s__dt_in, __pyx_k__dt_in, sizeof(__pyx_k__dt_in), 0, 0, 1, 1},
 
14563
  {&__pyx_n_s__dtype_in, __pyx_k__dtype_in, sizeof(__pyx_k__dtype_in), 0, 0, 1, 1},
 
14564
  {&__pyx_n_s__dxpl, __pyx_k__dxpl, sizeof(__pyx_k__dxpl), 0, 0, 1, 1},
 
14565
  {&__pyx_n_s__elsize, __pyx_k__elsize, sizeof(__pyx_k__elsize), 0, 0, 1, 1},
 
14566
  {&__pyx_n_s__enum, __pyx_k__enum, sizeof(__pyx_k__enum), 0, 0, 1, 1},
 
14567
  {&__pyx_n_s__enum_convert, __pyx_k__enum_convert, sizeof(__pyx_k__enum_convert), 0, 0, 1, 1},
 
14568
  {&__pyx_n_s__enum_insert, __pyx_k__enum_insert, sizeof(__pyx_k__enum_insert), 0, 0, 1, 1},
 
14569
  {&__pyx_n_s__enum_vals, __pyx_k__enum_vals, sizeof(__pyx_k__enum_vals), 0, 0, 1, 1},
 
14570
  {&__pyx_n_s__epos, __pyx_k__epos, sizeof(__pyx_k__epos), 0, 0, 1, 1},
 
14571
  {&__pyx_n_s__equal, __pyx_k__equal, sizeof(__pyx_k__equal), 0, 0, 1, 1},
 
14572
  {&__pyx_n_s__esize, __pyx_k__esize, sizeof(__pyx_k__esize), 0, 0, 1, 1},
 
14573
  {&__pyx_n_s__f, __pyx_k__f, sizeof(__pyx_k__f), 0, 0, 1, 1},
 
14574
  {&__pyx_n_s__field, __pyx_k__field, sizeof(__pyx_k__field), 0, 0, 1, 1},
 
14575
  {&__pyx_n_s__fields, __pyx_k__fields, sizeof(__pyx_k__fields), 0, 0, 1, 1},
 
14576
  {&__pyx_n_s__get_array_dims, __pyx_k__get_array_dims, sizeof(__pyx_k__get_array_dims), 0, 0, 1, 1},
 
14577
  {&__pyx_n_s__get_member_name, __pyx_k__get_member_name, sizeof(__pyx_k__get_member_name), 0, 0, 1, 1},
 
14578
  {&__pyx_n_s__get_member_type, __pyx_k__get_member_type, sizeof(__pyx_k__get_member_type), 0, 0, 1, 1},
 
14579
  {&__pyx_n_s__get_member_value, __pyx_k__get_member_value, sizeof(__pyx_k__get_member_value), 0, 0, 1, 1},
 
14580
  {&__pyx_n_s__get_nmembers, __pyx_k__get_nmembers, sizeof(__pyx_k__get_nmembers), 0, 0, 1, 1},
 
14581
  {&__pyx_n_s__get_order, __pyx_k__get_order, sizeof(__pyx_k__get_order), 0, 0, 1, 1},
 
14582
  {&__pyx_n_s__get_python_obj, __pyx_k__get_python_obj, sizeof(__pyx_k__get_python_obj), 0, 0, 1, 1},
 
14583
  {&__pyx_n_s__get_sign, __pyx_k__get_sign, sizeof(__pyx_k__get_sign), 0, 0, 1, 1},
 
14584
  {&__pyx_n_s__get_size, __pyx_k__get_size, sizeof(__pyx_k__get_size), 0, 0, 1, 1},
 
14585
  {&__pyx_n_s__get_super, __pyx_k__get_super, sizeof(__pyx_k__get_super), 0, 0, 1, 1},
 
14586
  {&__pyx_n_s__group, __pyx_k__group, sizeof(__pyx_k__group), 0, 0, 1, 1},
 
14587
  {&__pyx_n_s__h5, __pyx_k__h5, sizeof(__pyx_k__h5), 0, 0, 1, 1},
 
14588
  {&__pyx_n_s__i, __pyx_k__i, sizeof(__pyx_k__i), 0, 0, 1, 1},
 
14589
  {&__pyx_n_s__id, __pyx_k__id, sizeof(__pyx_k__id), 0, 0, 1, 1},
 
14590
  {&__pyx_n_s__is_variable_str, __pyx_k__is_variable_str, sizeof(__pyx_k__is_variable_str), 0, 0, 1, 1},
 
14591
  {&__pyx_n_s__itemsize, __pyx_k__itemsize, sizeof(__pyx_k__itemsize), 0, 0, 1, 1},
 
14592
  {&__pyx_n_s__iu, __pyx_k__iu, sizeof(__pyx_k__iu), 0, 0, 1, 1},
 
14593
  {&__pyx_n_s__kind, __pyx_k__kind, sizeof(__pyx_k__kind), 0, 0, 1, 1},
 
14594
  {&__pyx_n_s__little, __pyx_k__little, sizeof(__pyx_k__little), 0, 0, 1, 1},
 
14595
  {&__pyx_n_s__logical, __pyx_k__logical, sizeof(__pyx_k__logical), 0, 0, 1, 1},
 
14596
  {&__pyx_n_s__lsb, __pyx_k__lsb, sizeof(__pyx_k__lsb), 0, 0, 1, 1},
 
14597
  {&__pyx_n_s__mpos, __pyx_k__mpos, sizeof(__pyx_k__mpos), 0, 0, 1, 1},
 
14598
  {&__pyx_n_s__msb, __pyx_k__msb, sizeof(__pyx_k__msb), 0, 0, 1, 1},
 
14599
  {&__pyx_n_s__msize, __pyx_k__msize, sizeof(__pyx_k__msize), 0, 0, 1, 1},
 
14600
  {&__pyx_n_s__n, __pyx_k__n, sizeof(__pyx_k__n), 0, 0, 1, 1},
 
14601
  {&__pyx_n_s__name, __pyx_k__name, sizeof(__pyx_k__name), 0, 0, 1, 1},
 
14602
  {&__pyx_n_s__names, __pyx_k__names, sizeof(__pyx_k__names), 0, 0, 1, 1},
 
14603
  {&__pyx_n_s__need_bkg, __pyx_k__need_bkg, sizeof(__pyx_k__need_bkg), 0, 0, 1, 1},
 
14604
  {&__pyx_n_s__offset, __pyx_k__offset, sizeof(__pyx_k__offset), 0, 0, 1, 1},
 
14605
  {&__pyx_n_s__popitem, __pyx_k__popitem, sizeof(__pyx_k__popitem), 0, 0, 1, 1},
 
14606
  {&__pyx_n_s__py_create, __pyx_k__py_create, sizeof(__pyx_k__py_create), 0, 0, 1, 1},
 
14607
  {&__pyx_n_s__py_dtype, __pyx_k__py_dtype, sizeof(__pyx_k__py_dtype), 0, 0, 1, 1},
 
14608
  {&__pyx_n_s__ref, __pyx_k__ref, sizeof(__pyx_k__ref), 0, 0, 1, 1},
 
14609
  {&__pyx_n_s__size, __pyx_k__size, sizeof(__pyx_k__size), 0, 0, 1, 1},
 
14610
  {&__pyx_n_s__sorted, __pyx_k__sorted, sizeof(__pyx_k__sorted), 0, 0, 1, 1},
 
14611
  {&__pyx_n_s__special_dtype, __pyx_k__special_dtype, sizeof(__pyx_k__special_dtype), 0, 0, 1, 1},
 
14612
  {&__pyx_n_s__spos, __pyx_k__spos, sizeof(__pyx_k__spos), 0, 0, 1, 1},
 
14613
  {&__pyx_n_s__src, __pyx_k__src, sizeof(__pyx_k__src), 0, 0, 1, 1},
 
14614
  {&__pyx_n_s__str, __pyx_k__str, sizeof(__pyx_k__str), 0, 0, 1, 1},
 
14615
  {&__pyx_n_s__subdtype, __pyx_k__subdtype, sizeof(__pyx_k__subdtype), 0, 0, 1, 1},
 
14616
  {&__pyx_n_s__sys, __pyx_k__sys, sizeof(__pyx_k__sys), 0, 0, 1, 1},
 
14617
  {&__pyx_n_s__type, __pyx_k__type, sizeof(__pyx_k__type), 0, 0, 1, 1},
 
14618
  {&__pyx_n_s__u, __pyx_k__u, sizeof(__pyx_k__u), 0, 0, 1, 1},
 
14619
  {&__pyx_n_s__vals, __pyx_k__vals, sizeof(__pyx_k__vals), 0, 0, 1, 1},
 
14620
  {&__pyx_n_s__value, __pyx_k__value, sizeof(__pyx_k__value), 0, 0, 1, 1},
 
14621
  {&__pyx_n_s__vlen, __pyx_k__vlen, sizeof(__pyx_k__vlen), 0, 0, 1, 1},
 
14622
  {&__pyx_n_s__warnings, __pyx_k__warnings, sizeof(__pyx_k__warnings), 0, 0, 1, 1},
 
14623
  {&__pyx_n_s__xrange, __pyx_k__xrange, sizeof(__pyx_k__xrange), 0, 0, 1, 1},
 
14624
  {&__pyx_n_s__zip, __pyx_k__zip, sizeof(__pyx_k__zip), 0, 0, 1, 1},
 
14625
  {0, 0, 0, 0, 0, 0, 0}
13162
14626
};
13163
14627
static int __Pyx_InitCachedBuiltins(void) {
13164
 
  __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_kp_ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13165
 
  __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_kp_TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13166
 
  __pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_kp_NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13167
 
  __pyx_builtin_zip = __Pyx_GetName(__pyx_b, __pyx_kp_zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13168
 
  __pyx_builtin_xrange = __Pyx_GetName(__pyx_b, __pyx_kp_xrange); if (!__pyx_builtin_xrange) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13169
 
  __pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_kp_sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13170
 
  __pyx_builtin_NotImplementedError = __Pyx_GetName(__pyx_b, __pyx_kp_NotImplementedError); if (!__pyx_builtin_NotImplementedError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14628
  __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_n_s__ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14629
  __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_n_s__TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14630
  __pyx_builtin_NotImplemented = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplemented); if (!__pyx_builtin_NotImplemented) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14631
  __pyx_builtin_zip = __Pyx_GetName(__pyx_b, __pyx_n_s__zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14632
  __pyx_builtin_xrange = __Pyx_GetName(__pyx_b, __pyx_n_s__xrange); if (!__pyx_builtin_xrange) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14633
  __pyx_builtin_KeyError = __Pyx_GetName(__pyx_b, __pyx_n_s__KeyError); if (!__pyx_builtin_KeyError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14634
  __pyx_builtin_sorted = __Pyx_GetName(__pyx_b, __pyx_n_s__sorted); if (!__pyx_builtin_sorted) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14635
  __pyx_builtin_NotImplementedError = __Pyx_GetName(__pyx_b, __pyx_n_s__NotImplementedError); if (!__pyx_builtin_NotImplementedError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13171
14636
  return 0;
13172
14637
  __pyx_L1_error:;
13173
14638
  return -1;
13174
14639
}
13175
14640
 
13176
14641
static int __Pyx_InitGlobals(void) {
 
14642
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
14643
  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
14644
  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
14645
  __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13177
14646
  __pyx_int_4 = PyInt_FromLong(4); if (unlikely(!__pyx_int_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13178
14647
  __pyx_int_8 = PyInt_FromLong(8); if (unlikely(!__pyx_int_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13179
 
  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13180
 
  __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13181
 
  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13182
 
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13183
14648
  return 0;
13184
14649
  __pyx_L1_error:;
13185
14650
  return -1;
13193
14658
PyMODINIT_FUNC PyInit_h5t(void)
13194
14659
#endif
13195
14660
{
13196
 
  PyObject *__pyx_1 = 0;
13197
 
  PyObject *__pyx_2 = 0;
13198
 
  int __pyx_t_1;
 
14661
  PyObject *__pyx_t_1 = NULL;
13199
14662
  PyObject *__pyx_t_2 = NULL;
13200
14663
  PyObject *__pyx_t_3 = NULL;
13201
 
  int __pyx_t_4;
13202
 
  hid_t __pyx_t_5;
13203
 
  #ifdef CYTHON_REFNANNY
13204
 
  void* __pyx_refchk = NULL;
13205
 
  __Pyx_Refnanny = __Pyx_ImportRefcountAPI("refnanny");
13206
 
  if (!__Pyx_Refnanny) {
 
14664
  PyObject *__pyx_t_4 = NULL;
 
14665
  int __pyx_t_5;
 
14666
  PyObject *__pyx_t_6 = NULL;
 
14667
  int __pyx_t_7;
 
14668
  hid_t __pyx_t_8;
 
14669
  #if CYTHON_REFNANNY
 
14670
  void* __pyx_refnanny = NULL;
 
14671
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
 
14672
  if (!__Pyx_RefNanny) {
13207
14673
      PyErr_Clear();
13208
 
      __Pyx_Refnanny = __Pyx_ImportRefcountAPI("Cython.Runtime.refnanny");
13209
 
      if (!__Pyx_Refnanny)
13210
 
          Py_FatalError("failed to import refnanny module");
 
14674
      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
 
14675
      if (!__Pyx_RefNanny)
 
14676
          Py_FatalError("failed to import 'refnanny' module");
13211
14677
  }
13212
 
  __pyx_refchk = __Pyx_Refnanny->NewContext("PyMODINIT_FUNC PyInit_h5t(void)", __LINE__, __FILE__);
 
14678
  __pyx_refnanny = __Pyx_RefNanny->SetupContext("PyMODINIT_FUNC PyInit_h5t(void)", __LINE__, __FILE__);
13213
14679
  #endif
 
14680
  __pyx_init_filenames();
13214
14681
  __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;}
 
14682
  #if PY_MAJOR_VERSION < 3
 
14683
  __pyx_empty_bytes = PyString_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14684
  #else
 
14685
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14686
  #endif
13215
14687
  /*--- Library function declarations ---*/
13216
 
  __pyx_init_filenames();
13217
14688
  /*--- Threads initialization code ---*/
13218
14689
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
13219
14690
  #ifdef WITH_THREAD /* Python build with threading support? */
13220
14691
  PyEval_InitThreads();
13221
14692
  #endif
13222
14693
  #endif
13223
 
  /*--- Initialize various global constants etc. ---*/
13224
 
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13225
14694
  /*--- Module creation code ---*/
13226
14695
  #if PY_MAJOR_VERSION < 3
13227
 
  __pyx_m = Py_InitModule4(__Pyx_NAMESTR("h5t"), __pyx_methods, 0, 0, PYTHON_API_VERSION);
 
14696
  __pyx_m = Py_InitModule4(__Pyx_NAMESTR("h5t"), __pyx_methods, __Pyx_DOCSTR(__pyx_k_25), 0, PYTHON_API_VERSION);
13228
14697
  #else
13229
14698
  __pyx_m = PyModule_Create(&__pyx_moduledef);
13230
14699
  #endif
13235
14704
  __pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME));
13236
14705
  if (!__pyx_b) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13237
14706
  if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
 
14707
  /*--- Initialize various global constants etc. ---*/
 
14708
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13238
14709
  if (__pyx_module_is_main_h5py__h5t) {
13239
 
    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;};
 
14710
    if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_n_s____main__) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
13240
14711
  }
13241
14712
  /*--- Builtin init code ---*/
13242
14713
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13243
 
  __pyx_skip_dispatch = 0;
13244
14714
  /*--- Global init code ---*/
13245
14715
  __pyx_v_4h5py_3h5t_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)Py_None); Py_INCREF(Py_None);
13246
 
  __pyx_v_4h5py_3h5t_phil = ((struct __pyx_obj_4h5py_2h5_PHIL *)Py_None); Py_INCREF(Py_None);
13247
14716
  __pyx_v_4h5py_3h5t__order_map = ((PyObject *)Py_None); Py_INCREF(Py_None);
13248
14717
  __pyx_v_4h5py_3h5t__sign_map = ((PyObject *)Py_None); Py_INCREF(Py_None);
13249
14718
  __pyx_v_4h5py_3h5t__float_le = ((PyObject *)Py_None); Py_INCREF(Py_None);
13267
14736
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeID.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_6TypeID_py_dtype;
13268
14737
  #endif
13269
14738
  __pyx_type_4h5py_3h5t_TypeID.tp_base = __pyx_ptype_4h5py_2h5_ObjectID;
13270
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13271
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13272
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14739
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14740
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14741
  if (__Pyx_SetAttrString(__pyx_m, "TypeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13273
14742
  if (__pyx_type_4h5py_3h5t_TypeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeID, __pyx_base.__weakref__);
13274
14743
  __pyx_ptype_4h5py_3h5t_TypeID = &__pyx_type_4h5py_3h5t_TypeID;
13275
14744
  __pyx_vtabptr_4h5py_3h5t_TypeArrayID = &__pyx_vtable_4h5py_3h5t_TypeArrayID;
13280
14749
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeArrayID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_11TypeArrayID_py_dtype;
13281
14750
  #endif
13282
14751
  __pyx_type_4h5py_3h5t_TypeArrayID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13283
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13284
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeArrayID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13285
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeArrayID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14752
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14753
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeArrayID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14754
  if (__Pyx_SetAttrString(__pyx_m, "TypeArrayID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeArrayID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13286
14755
  if (__pyx_type_4h5py_3h5t_TypeArrayID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeArrayID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeArrayID, __pyx_base.__pyx_base.__weakref__);
13287
14756
  __pyx_ptype_4h5py_3h5t_TypeArrayID = &__pyx_type_4h5py_3h5t_TypeArrayID;
13288
14757
  __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID = &__pyx_vtable_4h5py_3h5t_TypeOpaqueID;
13293
14762
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeOpaqueID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_12TypeOpaqueID_py_dtype;
13294
14763
  #endif
13295
14764
  __pyx_type_4h5py_3h5t_TypeOpaqueID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13296
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13297
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13298
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeOpaqueID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14765
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14766
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14767
  if (__Pyx_SetAttrString(__pyx_m, "TypeOpaqueID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeOpaqueID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13299
14768
  if (__pyx_type_4h5py_3h5t_TypeOpaqueID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeOpaqueID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeOpaqueID, __pyx_base.__pyx_base.__weakref__);
13300
14769
  __pyx_ptype_4h5py_3h5t_TypeOpaqueID = &__pyx_type_4h5py_3h5t_TypeOpaqueID;
13301
14770
  __pyx_vtabptr_4h5py_3h5t_TypeStringID = &__pyx_vtable_4h5py_3h5t_TypeStringID;
13306
14775
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeStringID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_12TypeStringID_py_dtype;
13307
14776
  #endif
13308
14777
  __pyx_type_4h5py_3h5t_TypeStringID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13309
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13310
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeStringID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13311
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeStringID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14778
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14779
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeStringID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14780
  if (__Pyx_SetAttrString(__pyx_m, "TypeStringID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeStringID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13312
14781
  if (__pyx_type_4h5py_3h5t_TypeStringID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeStringID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeStringID, __pyx_base.__pyx_base.__weakref__);
13313
14782
  __pyx_ptype_4h5py_3h5t_TypeStringID = &__pyx_type_4h5py_3h5t_TypeStringID;
13314
14783
  __pyx_vtabptr_4h5py_3h5t_TypeVlenID = &__pyx_vtable_4h5py_3h5t_TypeVlenID;
13315
14784
  __pyx_vtable_4h5py_3h5t_TypeVlenID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
13316
14785
  __pyx_type_4h5py_3h5t_TypeVlenID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13317
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13318
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeVlenID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13319
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeVlenID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14786
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14787
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeVlenID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14788
  if (__Pyx_SetAttrString(__pyx_m, "TypeVlenID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeVlenID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13320
14789
  if (__pyx_type_4h5py_3h5t_TypeVlenID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeVlenID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeVlenID, __pyx_base.__pyx_base.__weakref__);
13321
14790
  __pyx_ptype_4h5py_3h5t_TypeVlenID = &__pyx_type_4h5py_3h5t_TypeVlenID;
13322
14791
  __pyx_vtabptr_4h5py_3h5t_TypeTimeID = &__pyx_vtable_4h5py_3h5t_TypeTimeID;
13323
14792
  __pyx_vtable_4h5py_3h5t_TypeTimeID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
13324
14793
  __pyx_type_4h5py_3h5t_TypeTimeID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13325
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13326
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeTimeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13327
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeTimeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14794
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14795
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeTimeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14796
  if (__Pyx_SetAttrString(__pyx_m, "TypeTimeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeTimeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13328
14797
  if (__pyx_type_4h5py_3h5t_TypeTimeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeTimeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeTimeID, __pyx_base.__pyx_base.__weakref__);
13329
14798
  __pyx_ptype_4h5py_3h5t_TypeTimeID = &__pyx_type_4h5py_3h5t_TypeTimeID;
13330
14799
  __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID = &__pyx_vtable_4h5py_3h5t_TypeBitfieldID;
13331
14800
  __pyx_vtable_4h5py_3h5t_TypeBitfieldID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
13332
14801
  __pyx_type_4h5py_3h5t_TypeBitfieldID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13333
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13334
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13335
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeBitfieldID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14802
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14803
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14804
  if (__Pyx_SetAttrString(__pyx_m, "TypeBitfieldID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeBitfieldID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13336
14805
  if (__pyx_type_4h5py_3h5t_TypeBitfieldID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeBitfieldID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeBitfieldID, __pyx_base.__pyx_base.__weakref__);
13337
14806
  __pyx_ptype_4h5py_3h5t_TypeBitfieldID = &__pyx_type_4h5py_3h5t_TypeBitfieldID;
13338
14807
  __pyx_vtabptr_4h5py_3h5t_TypeReferenceID = &__pyx_vtable_4h5py_3h5t_TypeReferenceID;
13339
14808
  __pyx_vtable_4h5py_3h5t_TypeReferenceID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
 
14809
  #if PY_MAJOR_VERSION >= 3
 
14810
  __pyx_vtable_4h5py_3h5t_TypeReferenceID.__pyx_base.py_dtype = (PyObject *(*)(struct __pyx_obj_4h5py_3h5t_TypeID *))__pyx_f_4h5py_3h5t_15TypeReferenceID_py_dtype;
 
14811
  #else
 
14812
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeReferenceID.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_15TypeReferenceID_py_dtype;
 
14813
  #endif
13340
14814
  __pyx_type_4h5py_3h5t_TypeReferenceID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13341
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13342
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeReferenceID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13343
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeReferenceID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14815
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14816
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeReferenceID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14817
  if (__Pyx_SetAttrString(__pyx_m, "TypeReferenceID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeReferenceID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13344
14818
  if (__pyx_type_4h5py_3h5t_TypeReferenceID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeReferenceID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeReferenceID, __pyx_base.__pyx_base.__weakref__);
13345
14819
  __pyx_ptype_4h5py_3h5t_TypeReferenceID = &__pyx_type_4h5py_3h5t_TypeReferenceID;
13346
14820
  __pyx_vtabptr_4h5py_3h5t_TypeAtomicID = &__pyx_vtable_4h5py_3h5t_TypeAtomicID;
13347
14821
  __pyx_vtable_4h5py_3h5t_TypeAtomicID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
13348
14822
  __pyx_type_4h5py_3h5t_TypeAtomicID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13349
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13350
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeAtomicID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13351
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeAtomicID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14823
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14824
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeAtomicID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14825
  if (__Pyx_SetAttrString(__pyx_m, "TypeAtomicID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeAtomicID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13352
14826
  if (__pyx_type_4h5py_3h5t_TypeAtomicID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeAtomicID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeAtomicID, __pyx_base.__pyx_base.__weakref__);
13353
14827
  __pyx_ptype_4h5py_3h5t_TypeAtomicID = &__pyx_type_4h5py_3h5t_TypeAtomicID;
13354
14828
  __pyx_vtabptr_4h5py_3h5t_TypeIntegerID = &__pyx_vtable_4h5py_3h5t_TypeIntegerID;
13359
14833
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeIntegerID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_13TypeIntegerID_py_dtype;
13360
14834
  #endif
13361
14835
  __pyx_type_4h5py_3h5t_TypeIntegerID.tp_base = __pyx_ptype_4h5py_3h5t_TypeAtomicID;
13362
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13363
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeIntegerID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13364
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeIntegerID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 779; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14836
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14837
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeIntegerID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14838
  if (__Pyx_SetAttrString(__pyx_m, "TypeIntegerID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeIntegerID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 753; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13365
14839
  if (__pyx_type_4h5py_3h5t_TypeIntegerID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeIntegerID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeIntegerID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
13366
14840
  __pyx_ptype_4h5py_3h5t_TypeIntegerID = &__pyx_type_4h5py_3h5t_TypeIntegerID;
13367
14841
  __pyx_vtabptr_4h5py_3h5t_TypeFloatID = &__pyx_vtable_4h5py_3h5t_TypeFloatID;
13372
14846
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeFloatID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_11TypeFloatID_py_dtype;
13373
14847
  #endif
13374
14848
  __pyx_type_4h5py_3h5t_TypeFloatID.tp_base = __pyx_ptype_4h5py_3h5t_TypeAtomicID;
13375
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 819; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13376
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeFloatID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 819; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13377
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeFloatID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 819; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14849
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14850
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeFloatID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14851
  if (__Pyx_SetAttrString(__pyx_m, "TypeFloatID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeFloatID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13378
14852
  if (__pyx_type_4h5py_3h5t_TypeFloatID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeFloatID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeFloatID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
13379
14853
  __pyx_ptype_4h5py_3h5t_TypeFloatID = &__pyx_type_4h5py_3h5t_TypeFloatID;
13380
14854
  __pyx_vtabptr_4h5py_3h5t_TypeCompositeID = &__pyx_vtable_4h5py_3h5t_TypeCompositeID;
13381
14855
  __pyx_vtable_4h5py_3h5t_TypeCompositeID.__pyx_base = *__pyx_vtabptr_4h5py_3h5t_TypeID;
13382
14856
  __pyx_type_4h5py_3h5t_TypeCompositeID.tp_base = __pyx_ptype_4h5py_3h5t_TypeID;
13383
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13384
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompositeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13385
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompositeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14857
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14858
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompositeID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14859
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompositeID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompositeID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 898; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13386
14860
  if (__pyx_type_4h5py_3h5t_TypeCompositeID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeCompositeID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeCompositeID, __pyx_base.__pyx_base.__weakref__);
13387
14861
  __pyx_ptype_4h5py_3h5t_TypeCompositeID = &__pyx_type_4h5py_3h5t_TypeCompositeID;
13388
14862
  __pyx_vtabptr_4h5py_3h5t_TypeEnumID = &__pyx_vtable_4h5py_3h5t_TypeEnumID;
13395
14869
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeEnumID.enum_convert = (void(*)(void))__pyx_f_4h5py_3h5t_10TypeEnumID_enum_convert;
13396
14870
  #endif
13397
14871
  __pyx_type_4h5py_3h5t_TypeEnumID.tp_base = __pyx_ptype_4h5py_3h5t_TypeCompositeID;
13398
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13399
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeEnumID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13400
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeEnumID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14872
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14873
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeEnumID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14874
  if (__Pyx_SetAttrString(__pyx_m, "TypeEnumID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeEnumID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13401
14875
  if (__pyx_type_4h5py_3h5t_TypeEnumID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeEnumID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeEnumID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
13402
14876
  __pyx_ptype_4h5py_3h5t_TypeEnumID = &__pyx_type_4h5py_3h5t_TypeEnumID;
13403
14877
  __pyx_vtabptr_4h5py_3h5t_TypeCompoundID = &__pyx_vtable_4h5py_3h5t_TypeCompoundID;
13408
14882
  *(void(**)(void))&__pyx_vtable_4h5py_3h5t_TypeCompoundID.__pyx_base.__pyx_base.py_dtype = (void(*)(void))__pyx_f_4h5py_3h5t_14TypeCompoundID_py_dtype;
13409
14883
  #endif
13410
14884
  __pyx_type_4h5py_3h5t_TypeCompoundID.tp_base = __pyx_ptype_4h5py_3h5t_TypeCompositeID;
13411
 
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13412
 
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompoundID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13413
 
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompoundID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14885
  if (PyType_Ready(&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14886
  if (__Pyx_SetVtable(__pyx_type_4h5py_3h5t_TypeCompoundID.tp_dict, __pyx_vtabptr_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14887
  if (__Pyx_SetAttrString(__pyx_m, "TypeCompoundID", (PyObject *)&__pyx_type_4h5py_3h5t_TypeCompoundID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13414
14888
  if (__pyx_type_4h5py_3h5t_TypeCompoundID.tp_weaklistoffset == 0) __pyx_type_4h5py_3h5t_TypeCompoundID.tp_weaklistoffset = offsetof(struct __pyx_obj_4h5py_3h5t_TypeCompoundID, __pyx_base.__pyx_base.__pyx_base.__weakref__);
13415
14889
  __pyx_ptype_4h5py_3h5t_TypeCompoundID = &__pyx_type_4h5py_3h5t_TypeCompoundID;
13416
14890
  /*--- Type import code ---*/
13417
 
  __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[1]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13418
 
  if (__Pyx_GetVtable(__pyx_ptype_4h5py_2h5_PHIL->tp_dict, &__pyx_vtabptr_4h5py_2h5_PHIL) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13419
 
  __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[1]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13420
 
  __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[1]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14891
  __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[1]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14892
  __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[1]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13421
14893
  __pyx_ptype_4h5py_3h5p_PropID = __Pyx_ImportType("h5py.h5p", "PropID", sizeof(struct __pyx_obj_4h5py_3h5p_PropID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13422
14894
  __pyx_ptype_4h5py_3h5p_PropClassID = __Pyx_ImportType("h5py.h5p", "PropClassID", sizeof(struct __pyx_obj_4h5py_3h5p_PropClassID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropClassID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13423
14895
  __pyx_ptype_4h5py_3h5p_PropInstanceID = __Pyx_ImportType("h5py.h5p", "PropInstanceID", sizeof(struct __pyx_obj_4h5py_3h5p_PropInstanceID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropInstanceID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13429
14901
  __pyx_ptype_4h5py_3h5p_PropDXID = __Pyx_ImportType("h5py.h5p", "PropDXID", sizeof(struct __pyx_obj_4h5py_3h5p_PropDXID)); if (unlikely(!__pyx_ptype_4h5py_3h5p_PropDXID)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13430
14902
  __pyx_ptype_4h5py_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr)); if (unlikely(!__pyx_ptype_4h5py_5numpy_dtype)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13431
14903
  __pyx_ptype_4h5py_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject)); if (unlikely(!__pyx_ptype_4h5py_5numpy_ndarray)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14904
  __pyx_ptype_4h5py_3h5r_Reference = __Pyx_ImportType("h5py.h5r", "Reference", sizeof(struct __pyx_obj_4h5py_3h5r_Reference)); if (unlikely(!__pyx_ptype_4h5py_3h5r_Reference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14905
  __pyx_ptype_4h5py_3h5r_RegionReference = __Pyx_ImportType("h5py.h5r", "RegionReference", sizeof(struct __pyx_obj_4h5py_3h5r_RegionReference)); if (unlikely(!__pyx_ptype_4h5py_3h5r_RegionReference)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13432
14906
  /*--- Function import code ---*/
13433
 
  __pyx_2 = __Pyx_ImportModule("h5py.h5"); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13434
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13435
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13436
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13437
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13438
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13439
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13440
 
  Py_DECREF(__pyx_2); __pyx_2 = 0;
13441
 
  __pyx_2 = __Pyx_ImportModule("h5py.h5p"); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13442
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13443
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13444
 
  Py_DECREF(__pyx_2); __pyx_2 = 0;
13445
 
  __pyx_2 = __Pyx_ImportModule("h5py.utils"); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13446
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13447
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13448
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13449
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13450
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13451
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13452
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13453
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13454
 
  if (__Pyx_ImportFunction(__pyx_2, "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;}
13455
 
  Py_DECREF(__pyx_2); __pyx_2 = 0;
 
14907
  __pyx_t_1 = __Pyx_ImportModule("h5py.h5"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14908
  if (__Pyx_ImportFunction(__pyx_t_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;}
 
14909
  if (__Pyx_ImportFunction(__pyx_t_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;}
 
14910
  Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
14911
  __pyx_t_2 = __Pyx_ImportModule("h5py.h5p"); if (!__pyx_t_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14912
  if (__Pyx_ImportFunction(__pyx_t_2, "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;}
 
14913
  if (__Pyx_ImportFunction(__pyx_t_2, "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;}
 
14914
  Py_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
14915
  __pyx_t_3 = __Pyx_ImportModule("h5py.utils"); if (!__pyx_t_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14916
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14917
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14918
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14919
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14920
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14921
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14922
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14923
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14924
  if (__Pyx_ImportFunction(__pyx_t_3, "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;}
 
14925
  Py_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13456
14926
  /*--- Execution code ---*/
13457
14927
 
13458
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":13
13459
 
 * #-
13460
 
 * __doc__ = \
13461
 
 * """             # <<<<<<<<<<<<<<
13462
 
 *     HDF5 "H5T" data-type API
 
14928
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":32
 
14929
 * from utils cimport  emalloc, efree, \
 
14930
 *                     require_tuple, convert_dims, convert_tuple
 
14931
 * import _conv             # <<<<<<<<<<<<<<
13463
14932
 * 
 
14933
 * # Initialization
13464
14934
 */
13465
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp___doc__, __pyx_kp_126) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 12; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14935
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s___conv), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14936
  __Pyx_GOTREF(__pyx_t_4);
 
14937
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s___conv, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14938
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13466
14939
 
13467
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":72
 
14940
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":35
13468
14941
 * 
13469
14942
 * # Initialization
13470
14943
 * init_hdf5()             # <<<<<<<<<<<<<<
13471
14944
 * 
13472
14945
 * # Runtime imports
13473
14946
 */
13474
 
  __pyx_t_1 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14947
  __pyx_t_5 = __pyx_f_4h5py_2h5_init_hdf5(); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13475
14948
 
13476
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":75
 
14949
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":38
13477
14950
 * 
13478
14951
 * # Runtime imports
13479
14952
 * import sys             # <<<<<<<<<<<<<<
13480
14953
 * import h5
13481
 
 * from _sync import sync, nosync
 
14954
 * 
13482
14955
 */
13483
 
  __pyx_1 = __Pyx_Import(__pyx_kp_sys, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13484
 
  __Pyx_GOTREF(__pyx_1);
13485
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_sys, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13486
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
14956
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__sys), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14957
  __Pyx_GOTREF(__pyx_t_4);
 
14958
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__sys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14959
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13487
14960
 
13488
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":76
 
14961
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":39
13489
14962
 * # Runtime imports
13490
14963
 * import sys
13491
14964
 * import h5             # <<<<<<<<<<<<<<
13492
 
 * from _sync import sync, nosync
13493
14965
 * 
 
14966
 * cdef H5PYConfig cfg = get_config()
13494
14967
 */
13495
 
  __pyx_1 = __Pyx_Import(__pyx_kp_127, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13496
 
  __Pyx_GOTREF(__pyx_1);
13497
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_127, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13498
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
 
14968
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__h5), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14969
  __Pyx_GOTREF(__pyx_t_4);
 
14970
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__h5, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14971
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13499
14972
 
13500
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":77
13501
 
 * import sys
 
14973
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":41
13502
14974
 * import h5
13503
 
 * from _sync import sync, nosync             # <<<<<<<<<<<<<<
13504
 
 * 
13505
 
 * cdef H5PYConfig cfg = get_config()
13506
 
 */
13507
 
  __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13508
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
13509
 
  __Pyx_INCREF(__pyx_kp_sync);
13510
 
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_kp_sync);
13511
 
  __Pyx_GIVEREF(__pyx_kp_sync);
13512
 
  __Pyx_INCREF(__pyx_kp_nosync);
13513
 
  PyList_SET_ITEM(__pyx_t_2, 1, __pyx_kp_nosync);
13514
 
  __Pyx_GIVEREF(__pyx_kp_nosync);
13515
 
  __pyx_1 = __Pyx_Import(__pyx_kp__sync, ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13516
 
  __Pyx_GOTREF(__pyx_1);
13517
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
13518
 
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13519
 
  __Pyx_GOTREF(__pyx_2);
13520
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_sync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13521
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
13522
 
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_nosync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13523
 
  __Pyx_GOTREF(__pyx_2);
13524
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_nosync, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13525
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
13526
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
13527
 
 
13528
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":79
13529
 
 * from _sync import sync, nosync
13530
14975
 * 
13531
14976
 * cdef H5PYConfig cfg = get_config()             # <<<<<<<<<<<<<<
13532
 
 * cdef PHIL phil = get_phil()
13533
14977
 * 
 
14978
 * # === Custom C API ============================================================
13534
14979
 */
13535
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_2h5_get_config(0)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13536
 
  __Pyx_GOTREF(__pyx_t_2);
 
14980
  __pyx_t_4 = ((PyObject *)__pyx_f_4h5py_2h5_get_config(0)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14981
  __Pyx_GOTREF(__pyx_t_4);
13537
14982
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t_cfg));
13538
14983
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t_cfg));
13539
 
  __Pyx_GIVEREF(__pyx_t_2);
13540
 
  __pyx_v_4h5py_3h5t_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_t_2);
13541
 
  __pyx_t_2 = 0;
13542
 
 
13543
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":80
13544
 
 * 
13545
 
 * cdef H5PYConfig cfg = get_config()
13546
 
 * cdef PHIL phil = get_phil()             # <<<<<<<<<<<<<<
13547
 
 * 
13548
 
 * 
13549
 
 */
13550
 
  __pyx_t_2 = ((PyObject *)__pyx_f_4h5py_2h5_get_phil(0)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13551
 
  __Pyx_GOTREF(__pyx_t_2);
13552
 
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t_phil));
13553
 
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t_phil));
13554
 
  __Pyx_GIVEREF(__pyx_t_2);
13555
 
  __pyx_v_4h5py_3h5t_phil = ((struct __pyx_obj_4h5py_2h5_PHIL *)__pyx_t_2);
13556
 
  __pyx_t_2 = 0;
13557
 
 
13558
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":127
 
14984
  __Pyx_GIVEREF(__pyx_t_4);
 
14985
  __pyx_v_4h5py_3h5t_cfg = ((struct __pyx_obj_4h5py_2h5_H5PYConfig *)__pyx_t_4);
 
14986
  __pyx_t_4 = 0;
 
14987
 
 
14988
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":87
13559
14989
 * 
13560
14990
 * # Enumeration H5T_class_t
13561
14991
 * NO_CLASS  = H5T_NO_CLASS             # <<<<<<<<<<<<<<
13562
14992
 * INTEGER   = H5T_INTEGER
13563
14993
 * FLOAT     = H5T_FLOAT
13564
14994
 */
13565
 
  __pyx_t_2 = PyInt_FromLong(H5T_NO_CLASS); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13566
 
  __Pyx_GOTREF(__pyx_t_2);
13567
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NO_CLASS, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13568
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
14995
  __pyx_t_4 = PyInt_FromLong(H5T_NO_CLASS); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14996
  __Pyx_GOTREF(__pyx_t_4);
 
14997
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NO_CLASS, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
14998
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13569
14999
 
13570
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":128
 
15000
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":88
13571
15001
 * # Enumeration H5T_class_t
13572
15002
 * NO_CLASS  = H5T_NO_CLASS
13573
15003
 * INTEGER   = H5T_INTEGER             # <<<<<<<<<<<<<<
13574
15004
 * FLOAT     = H5T_FLOAT
13575
15005
 * TIME      = H5T_TIME
13576
15006
 */
13577
 
  __pyx_t_2 = PyInt_FromLong(H5T_INTEGER); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13578
 
  __Pyx_GOTREF(__pyx_t_2);
13579
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_INTEGER, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13580
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15007
  __pyx_t_4 = PyInt_FromLong(H5T_INTEGER); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15008
  __Pyx_GOTREF(__pyx_t_4);
 
15009
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__INTEGER, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15010
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13581
15011
 
13582
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":129
 
15012
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":89
13583
15013
 * NO_CLASS  = H5T_NO_CLASS
13584
15014
 * INTEGER   = H5T_INTEGER
13585
15015
 * FLOAT     = H5T_FLOAT             # <<<<<<<<<<<<<<
13586
15016
 * TIME      = H5T_TIME
13587
15017
 * STRING    = H5T_STRING
13588
15018
 */
13589
 
  __pyx_t_2 = PyInt_FromLong(H5T_FLOAT); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13590
 
  __Pyx_GOTREF(__pyx_t_2);
13591
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_FLOAT, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13592
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15019
  __pyx_t_4 = PyInt_FromLong(H5T_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15020
  __Pyx_GOTREF(__pyx_t_4);
 
15021
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15022
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13593
15023
 
13594
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":130
 
15024
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":90
13595
15025
 * INTEGER   = H5T_INTEGER
13596
15026
 * FLOAT     = H5T_FLOAT
13597
15027
 * TIME      = H5T_TIME             # <<<<<<<<<<<<<<
13598
15028
 * STRING    = H5T_STRING
13599
15029
 * BITFIELD  = H5T_BITFIELD
13600
15030
 */
13601
 
  __pyx_t_2 = PyInt_FromLong(H5T_TIME); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13602
 
  __Pyx_GOTREF(__pyx_t_2);
13603
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_TIME, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13604
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15031
  __pyx_t_4 = PyInt_FromLong(H5T_TIME); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15032
  __Pyx_GOTREF(__pyx_t_4);
 
15033
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__TIME, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15034
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13605
15035
 
13606
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":131
 
15036
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":91
13607
15037
 * FLOAT     = H5T_FLOAT
13608
15038
 * TIME      = H5T_TIME
13609
15039
 * STRING    = H5T_STRING             # <<<<<<<<<<<<<<
13610
15040
 * BITFIELD  = H5T_BITFIELD
13611
15041
 * OPAQUE    = H5T_OPAQUE
13612
15042
 */
13613
 
  __pyx_t_2 = PyInt_FromLong(H5T_STRING); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13614
 
  __Pyx_GOTREF(__pyx_t_2);
13615
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STRING, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13616
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15043
  __pyx_t_4 = PyInt_FromLong(H5T_STRING); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15044
  __Pyx_GOTREF(__pyx_t_4);
 
15045
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STRING, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15046
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13617
15047
 
13618
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":132
 
15048
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":92
13619
15049
 * TIME      = H5T_TIME
13620
15050
 * STRING    = H5T_STRING
13621
15051
 * BITFIELD  = H5T_BITFIELD             # <<<<<<<<<<<<<<
13622
15052
 * OPAQUE    = H5T_OPAQUE
13623
15053
 * COMPOUND  = H5T_COMPOUND
13624
15054
 */
13625
 
  __pyx_t_2 = PyInt_FromLong(H5T_BITFIELD); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13626
 
  __Pyx_GOTREF(__pyx_t_2);
13627
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_BITFIELD, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13628
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15055
  __pyx_t_4 = PyInt_FromLong(H5T_BITFIELD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15056
  __Pyx_GOTREF(__pyx_t_4);
 
15057
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BITFIELD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15058
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13629
15059
 
13630
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":133
 
15060
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":93
13631
15061
 * STRING    = H5T_STRING
13632
15062
 * BITFIELD  = H5T_BITFIELD
13633
15063
 * OPAQUE    = H5T_OPAQUE             # <<<<<<<<<<<<<<
13634
15064
 * COMPOUND  = H5T_COMPOUND
13635
15065
 * REFERENCE = H5T_REFERENCE
13636
15066
 */
13637
 
  __pyx_t_2 = PyInt_FromLong(H5T_OPAQUE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13638
 
  __Pyx_GOTREF(__pyx_t_2);
13639
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_OPAQUE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13640
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15067
  __pyx_t_4 = PyInt_FromLong(H5T_OPAQUE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15068
  __Pyx_GOTREF(__pyx_t_4);
 
15069
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__OPAQUE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15070
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13641
15071
 
13642
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":134
 
15072
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":94
13643
15073
 * BITFIELD  = H5T_BITFIELD
13644
15074
 * OPAQUE    = H5T_OPAQUE
13645
15075
 * COMPOUND  = H5T_COMPOUND             # <<<<<<<<<<<<<<
13646
15076
 * REFERENCE = H5T_REFERENCE
13647
15077
 * ENUM      = H5T_ENUM
13648
15078
 */
13649
 
  __pyx_t_2 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13650
 
  __Pyx_GOTREF(__pyx_t_2);
13651
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_COMPOUND, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13652
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15079
  __pyx_t_4 = PyInt_FromLong(H5T_COMPOUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15080
  __Pyx_GOTREF(__pyx_t_4);
 
15081
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__COMPOUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15082
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13653
15083
 
13654
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":135
 
15084
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":95
13655
15085
 * OPAQUE    = H5T_OPAQUE
13656
15086
 * COMPOUND  = H5T_COMPOUND
13657
15087
 * REFERENCE = H5T_REFERENCE             # <<<<<<<<<<<<<<
13658
15088
 * ENUM      = H5T_ENUM
13659
15089
 * VLEN      = H5T_VLEN
13660
15090
 */
13661
 
  __pyx_t_2 = PyInt_FromLong(H5T_REFERENCE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13662
 
  __Pyx_GOTREF(__pyx_t_2);
13663
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_REFERENCE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13664
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15091
  __pyx_t_4 = PyInt_FromLong(H5T_REFERENCE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15092
  __Pyx_GOTREF(__pyx_t_4);
 
15093
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__REFERENCE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15094
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13665
15095
 
13666
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":136
 
15096
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":96
13667
15097
 * COMPOUND  = H5T_COMPOUND
13668
15098
 * REFERENCE = H5T_REFERENCE
13669
15099
 * ENUM      = H5T_ENUM             # <<<<<<<<<<<<<<
13670
15100
 * VLEN      = H5T_VLEN
13671
15101
 * ARRAY     = H5T_ARRAY
13672
15102
 */
13673
 
  __pyx_t_2 = PyInt_FromLong(H5T_ENUM); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13674
 
  __Pyx_GOTREF(__pyx_t_2);
13675
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ENUM, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13676
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15103
  __pyx_t_4 = PyInt_FromLong(H5T_ENUM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15104
  __Pyx_GOTREF(__pyx_t_4);
 
15105
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ENUM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15106
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13677
15107
 
13678
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":137
 
15108
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":97
13679
15109
 * REFERENCE = H5T_REFERENCE
13680
15110
 * ENUM      = H5T_ENUM
13681
15111
 * VLEN      = H5T_VLEN             # <<<<<<<<<<<<<<
13682
15112
 * ARRAY     = H5T_ARRAY
13683
15113
 * 
13684
15114
 */
13685
 
  __pyx_t_2 = PyInt_FromLong(H5T_VLEN); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13686
 
  __Pyx_GOTREF(__pyx_t_2);
13687
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_VLEN, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13688
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15115
  __pyx_t_4 = PyInt_FromLong(H5T_VLEN); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15116
  __Pyx_GOTREF(__pyx_t_4);
 
15117
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VLEN, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15118
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13689
15119
 
13690
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":138
 
15120
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":98
13691
15121
 * ENUM      = H5T_ENUM
13692
15122
 * VLEN      = H5T_VLEN
13693
15123
 * ARRAY     = H5T_ARRAY             # <<<<<<<<<<<<<<
13694
15124
 * 
13695
15125
 * # Enumeration H5T_sign_t
13696
15126
 */
13697
 
  __pyx_t_2 = PyInt_FromLong(H5T_ARRAY); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13698
 
  __Pyx_GOTREF(__pyx_t_2);
13699
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ARRAY, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13700
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15127
  __pyx_t_4 = PyInt_FromLong(H5T_ARRAY); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15128
  __Pyx_GOTREF(__pyx_t_4);
 
15129
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ARRAY, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15130
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13701
15131
 
13702
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":141
 
15132
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":101
13703
15133
 * 
13704
15134
 * # Enumeration H5T_sign_t
13705
15135
 * SGN_NONE   = H5T_SGN_NONE             # <<<<<<<<<<<<<<
13706
15136
 * SGN_2      = H5T_SGN_2
13707
15137
 * 
13708
15138
 */
13709
 
  __pyx_t_2 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13710
 
  __Pyx_GOTREF(__pyx_t_2);
13711
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_SGN_NONE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13712
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15139
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15140
  __Pyx_GOTREF(__pyx_t_4);
 
15141
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15142
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13713
15143
 
13714
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":142
 
15144
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":102
13715
15145
 * # Enumeration H5T_sign_t
13716
15146
 * SGN_NONE   = H5T_SGN_NONE
13717
15147
 * SGN_2      = H5T_SGN_2             # <<<<<<<<<<<<<<
13718
15148
 * 
13719
15149
 * # Enumeration H5T_order_t
13720
15150
 */
13721
 
  __pyx_t_2 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13722
 
  __Pyx_GOTREF(__pyx_t_2);
13723
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_128, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13724
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15151
  __pyx_t_4 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15152
  __Pyx_GOTREF(__pyx_t_4);
 
15153
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__SGN_2, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15154
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13725
15155
 
13726
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":145
 
15156
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":105
13727
15157
 * 
13728
15158
 * # Enumeration H5T_order_t
13729
15159
 * ORDER_LE    = H5T_ORDER_LE             # <<<<<<<<<<<<<<
13730
15160
 * ORDER_BE    = H5T_ORDER_BE
13731
15161
 * ORDER_VAX   = H5T_ORDER_VAX
13732
15162
 */
13733
 
  __pyx_t_2 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13734
 
  __Pyx_GOTREF(__pyx_t_2);
13735
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_LE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13736
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15163
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15164
  __Pyx_GOTREF(__pyx_t_4);
 
15165
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15166
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13737
15167
 
13738
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":146
 
15168
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":106
13739
15169
 * # Enumeration H5T_order_t
13740
15170
 * ORDER_LE    = H5T_ORDER_LE
13741
15171
 * ORDER_BE    = H5T_ORDER_BE             # <<<<<<<<<<<<<<
13742
15172
 * ORDER_VAX   = H5T_ORDER_VAX
13743
15173
 * ORDER_NONE  = H5T_ORDER_NONE
13744
15174
 */
13745
 
  __pyx_t_2 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13746
 
  __Pyx_GOTREF(__pyx_t_2);
13747
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_BE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13748
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15175
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15176
  __Pyx_GOTREF(__pyx_t_4);
 
15177
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15178
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13749
15179
 
13750
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":147
 
15180
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":107
13751
15181
 * ORDER_LE    = H5T_ORDER_LE
13752
15182
 * ORDER_BE    = H5T_ORDER_BE
13753
15183
 * ORDER_VAX   = H5T_ORDER_VAX             # <<<<<<<<<<<<<<
13754
15184
 * ORDER_NONE  = H5T_ORDER_NONE
13755
15185
 * 
13756
15186
 */
13757
 
  __pyx_t_2 = PyInt_FromLong(H5T_ORDER_VAX); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13758
 
  __Pyx_GOTREF(__pyx_t_2);
13759
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_VAX, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13760
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15187
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_VAX); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15188
  __Pyx_GOTREF(__pyx_t_4);
 
15189
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_VAX, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15190
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13761
15191
 
13762
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":148
 
15192
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":108
13763
15193
 * ORDER_BE    = H5T_ORDER_BE
13764
15194
 * ORDER_VAX   = H5T_ORDER_VAX
13765
15195
 * ORDER_NONE  = H5T_ORDER_NONE             # <<<<<<<<<<<<<<
13766
15196
 * 
13767
15197
 * DIR_DEFAULT = H5T_DIR_DEFAULT
13768
15198
 */
13769
 
  __pyx_t_2 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13770
 
  __Pyx_GOTREF(__pyx_t_2);
13771
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_NONE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13772
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15199
  __pyx_t_4 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15200
  __Pyx_GOTREF(__pyx_t_4);
 
15201
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15202
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13773
15203
 
13774
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":150
 
15204
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":110
13775
15205
 * ORDER_NONE  = H5T_ORDER_NONE
13776
15206
 * 
13777
15207
 * DIR_DEFAULT = H5T_DIR_DEFAULT             # <<<<<<<<<<<<<<
13778
15208
 * DIR_ASCEND  = H5T_DIR_ASCEND
13779
15209
 * DIR_DESCEND = H5T_DIR_DESCEND
13780
15210
 */
13781
 
  __pyx_t_2 = PyInt_FromLong(H5T_DIR_DEFAULT); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13782
 
  __Pyx_GOTREF(__pyx_t_2);
13783
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DIR_DEFAULT, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13784
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15211
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DEFAULT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15212
  __Pyx_GOTREF(__pyx_t_4);
 
15213
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DEFAULT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15214
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13785
15215
 
13786
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":151
 
15216
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":111
13787
15217
 * 
13788
15218
 * DIR_DEFAULT = H5T_DIR_DEFAULT
13789
15219
 * DIR_ASCEND  = H5T_DIR_ASCEND             # <<<<<<<<<<<<<<
13790
15220
 * DIR_DESCEND = H5T_DIR_DESCEND
13791
15221
 * 
13792
15222
 */
13793
 
  __pyx_t_2 = PyInt_FromLong(H5T_DIR_ASCEND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13794
 
  __Pyx_GOTREF(__pyx_t_2);
13795
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DIR_ASCEND, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13796
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15223
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_ASCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15224
  __Pyx_GOTREF(__pyx_t_4);
 
15225
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_ASCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15226
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13797
15227
 
13798
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":152
 
15228
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":112
13799
15229
 * DIR_DEFAULT = H5T_DIR_DEFAULT
13800
15230
 * DIR_ASCEND  = H5T_DIR_ASCEND
13801
15231
 * DIR_DESCEND = H5T_DIR_DESCEND             # <<<<<<<<<<<<<<
13802
15232
 * 
13803
15233
 * # Enumeration H5T_str_t
13804
15234
 */
13805
 
  __pyx_t_2 = PyInt_FromLong(H5T_DIR_DESCEND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13806
 
  __Pyx_GOTREF(__pyx_t_2);
13807
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_DIR_DESCEND, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13808
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15235
  __pyx_t_4 = PyInt_FromLong(H5T_DIR_DESCEND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15236
  __Pyx_GOTREF(__pyx_t_4);
 
15237
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__DIR_DESCEND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15238
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13809
15239
 
13810
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":155
 
15240
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":115
13811
15241
 * 
13812
15242
 * # Enumeration H5T_str_t
13813
15243
 * STR_NULLTERM = H5T_STR_NULLTERM             # <<<<<<<<<<<<<<
13814
15244
 * STR_NULLPAD  = H5T_STR_NULLPAD
13815
15245
 * STR_SPACEPAD = H5T_STR_SPACEPAD
13816
15246
 */
13817
 
  __pyx_t_2 = PyInt_FromLong(H5T_STR_NULLTERM); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13818
 
  __Pyx_GOTREF(__pyx_t_2);
13819
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STR_NULLTERM, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13820
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15247
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLTERM); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15248
  __Pyx_GOTREF(__pyx_t_4);
 
15249
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLTERM, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15250
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13821
15251
 
13822
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":156
 
15252
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":116
13823
15253
 * # Enumeration H5T_str_t
13824
15254
 * STR_NULLTERM = H5T_STR_NULLTERM
13825
15255
 * STR_NULLPAD  = H5T_STR_NULLPAD             # <<<<<<<<<<<<<<
13826
15256
 * STR_SPACEPAD = H5T_STR_SPACEPAD
13827
15257
 * 
13828
15258
 */
13829
 
  __pyx_t_2 = PyInt_FromLong(H5T_STR_NULLPAD); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13830
 
  __Pyx_GOTREF(__pyx_t_2);
13831
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STR_NULLPAD, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13832
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15259
  __pyx_t_4 = PyInt_FromLong(H5T_STR_NULLPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15260
  __Pyx_GOTREF(__pyx_t_4);
 
15261
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_NULLPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15262
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13833
15263
 
13834
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":157
 
15264
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":117
13835
15265
 * STR_NULLTERM = H5T_STR_NULLTERM
13836
15266
 * STR_NULLPAD  = H5T_STR_NULLPAD
13837
15267
 * STR_SPACEPAD = H5T_STR_SPACEPAD             # <<<<<<<<<<<<<<
13838
15268
 * 
13839
15269
 * # Enumeration H5T_norm_t
13840
15270
 */
13841
 
  __pyx_t_2 = PyInt_FromLong(H5T_STR_SPACEPAD); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13842
 
  __Pyx_GOTREF(__pyx_t_2);
13843
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STR_SPACEPAD, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13844
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15271
  __pyx_t_4 = PyInt_FromLong(H5T_STR_SPACEPAD); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15272
  __Pyx_GOTREF(__pyx_t_4);
 
15273
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STR_SPACEPAD, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15274
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13845
15275
 
13846
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":160
 
15276
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":120
13847
15277
 * 
13848
15278
 * # Enumeration H5T_norm_t
13849
15279
 * NORM_IMPLIED = H5T_NORM_IMPLIED             # <<<<<<<<<<<<<<
13850
15280
 * NORM_MSBSET = H5T_NORM_MSBSET
13851
15281
 * NORM_NONE = H5T_NORM_NONE
13852
15282
 */
13853
 
  __pyx_t_2 = PyInt_FromLong(H5T_NORM_IMPLIED); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13854
 
  __Pyx_GOTREF(__pyx_t_2);
13855
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NORM_IMPLIED, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13856
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15283
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_IMPLIED); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15284
  __Pyx_GOTREF(__pyx_t_4);
 
15285
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_IMPLIED, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15286
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13857
15287
 
13858
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":161
 
15288
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":121
13859
15289
 * # Enumeration H5T_norm_t
13860
15290
 * NORM_IMPLIED = H5T_NORM_IMPLIED
13861
15291
 * NORM_MSBSET = H5T_NORM_MSBSET             # <<<<<<<<<<<<<<
13862
15292
 * NORM_NONE = H5T_NORM_NONE
13863
15293
 * 
13864
15294
 */
13865
 
  __pyx_t_2 = PyInt_FromLong(H5T_NORM_MSBSET); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13866
 
  __Pyx_GOTREF(__pyx_t_2);
13867
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NORM_MSBSET, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13868
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15295
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_MSBSET); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15296
  __Pyx_GOTREF(__pyx_t_4);
 
15297
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_MSBSET, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15298
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13869
15299
 
13870
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":162
 
15300
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":122
13871
15301
 * NORM_IMPLIED = H5T_NORM_IMPLIED
13872
15302
 * NORM_MSBSET = H5T_NORM_MSBSET
13873
15303
 * NORM_NONE = H5T_NORM_NONE             # <<<<<<<<<<<<<<
13874
15304
 * 
13875
15305
 * # Enumeration H5T_cset_t:
13876
15306
 */
13877
 
  __pyx_t_2 = PyInt_FromLong(H5T_NORM_NONE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13878
 
  __Pyx_GOTREF(__pyx_t_2);
13879
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NORM_NONE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13880
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15307
  __pyx_t_4 = PyInt_FromLong(H5T_NORM_NONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15308
  __Pyx_GOTREF(__pyx_t_4);
 
15309
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NORM_NONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15310
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13881
15311
 
13882
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":165
 
15312
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":125
13883
15313
 * 
13884
15314
 * # Enumeration H5T_cset_t:
13885
15315
 * CSET_ASCII = H5T_CSET_ASCII             # <<<<<<<<<<<<<<
13886
15316
 * 
13887
15317
 * # Enumeration H5T_pad_t:
13888
15318
 */
13889
 
  __pyx_t_2 = PyInt_FromLong(H5T_CSET_ASCII); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13890
 
  __Pyx_GOTREF(__pyx_t_2);
13891
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_CSET_ASCII, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13892
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15319
  __pyx_t_4 = PyInt_FromLong(H5T_CSET_ASCII); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15320
  __Pyx_GOTREF(__pyx_t_4);
 
15321
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__CSET_ASCII, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15322
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13893
15323
 
13894
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":168
 
15324
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":128
13895
15325
 * 
13896
15326
 * # Enumeration H5T_pad_t:
13897
15327
 * PAD_ZERO = H5T_PAD_ZERO             # <<<<<<<<<<<<<<
13898
15328
 * PAD_ONE = H5T_PAD_ONE
13899
15329
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
13900
15330
 */
13901
 
  __pyx_t_2 = PyInt_FromLong(H5T_PAD_ZERO); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13902
 
  __Pyx_GOTREF(__pyx_t_2);
13903
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_PAD_ZERO, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13904
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15331
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ZERO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15332
  __Pyx_GOTREF(__pyx_t_4);
 
15333
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ZERO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15334
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13905
15335
 
13906
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":169
 
15336
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":129
13907
15337
 * # Enumeration H5T_pad_t:
13908
15338
 * PAD_ZERO = H5T_PAD_ZERO
13909
15339
 * PAD_ONE = H5T_PAD_ONE             # <<<<<<<<<<<<<<
13910
15340
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
13911
15341
 * 
13912
15342
 */
13913
 
  __pyx_t_2 = PyInt_FromLong(H5T_PAD_ONE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13914
 
  __Pyx_GOTREF(__pyx_t_2);
13915
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_PAD_ONE, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13916
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15343
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_ONE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15344
  __Pyx_GOTREF(__pyx_t_4);
 
15345
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_ONE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15346
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13917
15347
 
13918
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":170
 
15348
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":130
13919
15349
 * PAD_ZERO = H5T_PAD_ZERO
13920
15350
 * PAD_ONE = H5T_PAD_ONE
13921
15351
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND             # <<<<<<<<<<<<<<
13922
15352
 * 
13923
15353
 * if sys.byteorder == "little":    # Custom python addition
13924
15354
 */
13925
 
  __pyx_t_2 = PyInt_FromLong(H5T_PAD_BACKGROUND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13926
 
  __Pyx_GOTREF(__pyx_t_2);
13927
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_PAD_BACKGROUND, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13928
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15355
  __pyx_t_4 = PyInt_FromLong(H5T_PAD_BACKGROUND); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15356
  __Pyx_GOTREF(__pyx_t_4);
 
15357
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PAD_BACKGROUND, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15358
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13929
15359
 
13930
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":172
 
15360
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":132
13931
15361
 * PAD_BACKGROUND = H5T_PAD_BACKGROUND
13932
15362
 * 
13933
15363
 * if sys.byteorder == "little":    # Custom python addition             # <<<<<<<<<<<<<<
13934
15364
 *     ORDER_NATIVE = H5T_ORDER_LE
13935
15365
 * else:
13936
15366
 */
13937
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sys); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13938
 
  __Pyx_GOTREF(__pyx_1);
13939
 
  __pyx_t_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_byteorder); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13940
 
  __Pyx_GOTREF(__pyx_t_2);
13941
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
13942
 
  __pyx_t_3 = PyObject_RichCompare(__pyx_t_2, __pyx_kp_129, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13943
 
  __Pyx_GOTREF(__pyx_t_3);
13944
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13945
 
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13946
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13947
 
  if (__pyx_t_4) {
 
15367
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__sys); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15368
  __Pyx_GOTREF(__pyx_t_4);
 
15369
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__byteorder); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15370
  __Pyx_GOTREF(__pyx_t_6);
 
15371
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15372
  __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, ((PyObject *)__pyx_n_s__little), Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15373
  __Pyx_GOTREF(__pyx_t_4);
 
15374
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15375
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15376
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15377
  if (__pyx_t_7) {
13948
15378
 
13949
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":173
 
15379
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":133
13950
15380
 * 
13951
15381
 * if sys.byteorder == "little":    # Custom python addition
13952
15382
 *     ORDER_NATIVE = H5T_ORDER_LE             # <<<<<<<<<<<<<<
13953
15383
 * else:
13954
15384
 *     ORDER_NATIVE = H5T_ORDER_BE
13955
15385
 */
13956
 
    __pyx_t_3 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13957
 
    __Pyx_GOTREF(__pyx_t_3);
13958
 
    if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_NATIVE, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13959
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15386
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15387
    __Pyx_GOTREF(__pyx_t_4);
 
15388
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15389
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13960
15390
    goto __pyx_L2;
13961
15391
  }
13962
15392
  /*else*/ {
13963
15393
 
13964
 
    /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":175
 
15394
    /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":135
13965
15395
 *     ORDER_NATIVE = H5T_ORDER_LE
13966
15396
 * else:
13967
15397
 *     ORDER_NATIVE = H5T_ORDER_BE             # <<<<<<<<<<<<<<
13968
15398
 * 
 
15399
 * # For conversion
 
15400
 */
 
15401
    __pyx_t_4 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15402
    __Pyx_GOTREF(__pyx_t_4);
 
15403
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s__ORDER_NATIVE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15404
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15405
  }
 
15406
  __pyx_L2:;
 
15407
 
 
15408
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":138
 
15409
 * 
 
15410
 * # For conversion
 
15411
 * BKG_NO = H5T_BKG_NO             # <<<<<<<<<<<<<<
 
15412
 * BKG_TEMP = H5T_BKG_TEMP
 
15413
 * BKG_YES = H5T_BKG_YES
 
15414
 */
 
15415
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_NO); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15416
  __Pyx_GOTREF(__pyx_t_4);
 
15417
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_NO, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15418
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15419
 
 
15420
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":139
 
15421
 * # For conversion
 
15422
 * BKG_NO = H5T_BKG_NO
 
15423
 * BKG_TEMP = H5T_BKG_TEMP             # <<<<<<<<<<<<<<
 
15424
 * BKG_YES = H5T_BKG_YES
 
15425
 * 
 
15426
 */
 
15427
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_TEMP); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15428
  __Pyx_GOTREF(__pyx_t_4);
 
15429
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_TEMP, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15430
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15431
 
 
15432
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":140
 
15433
 * BKG_NO = H5T_BKG_NO
 
15434
 * BKG_TEMP = H5T_BKG_TEMP
 
15435
 * BKG_YES = H5T_BKG_YES             # <<<<<<<<<<<<<<
 
15436
 * 
13969
15437
 * # --- Built-in HDF5 datatypes -------------------------------------------------
13970
15438
 */
13971
 
    __pyx_t_3 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13972
 
    __Pyx_GOTREF(__pyx_t_3);
13973
 
    if (PyObject_SetAttr(__pyx_m, __pyx_kp_ORDER_NATIVE, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13974
 
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13975
 
  }
13976
 
  __pyx_L2:;
 
15439
  __pyx_t_4 = PyInt_FromLong(H5T_BKG_YES); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15440
  __Pyx_GOTREF(__pyx_t_4);
 
15441
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__BKG_YES, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15442
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13977
15443
 
13978
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":180
 
15444
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":145
13979
15445
 * 
13980
15446
 * # IEEE floating-point
13981
15447
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)             # <<<<<<<<<<<<<<
13982
15448
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
13983
15449
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
13984
15450
 */
13985
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13986
 
  __Pyx_GOTREF(__pyx_t_3);
13987
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_130, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13988
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15451
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15452
  __Pyx_GOTREF(__pyx_t_4);
 
15453
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15454
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
13989
15455
 
13990
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":181
 
15456
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":146
13991
15457
 * # IEEE floating-point
13992
15458
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)
13993
15459
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)             # <<<<<<<<<<<<<<
13994
15460
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
13995
15461
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)
13996
15462
 */
13997
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
13998
 
  __Pyx_GOTREF(__pyx_t_3);
13999
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_131, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14000
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15463
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15464
  __Pyx_GOTREF(__pyx_t_4);
 
15465
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15466
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14001
15467
 
14002
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":182
 
15468
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":147
14003
15469
 * IEEE_F32LE = lockid(H5T_IEEE_F32LE)
14004
15470
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
14005
15471
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)             # <<<<<<<<<<<<<<
14006
15472
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)
14007
15473
 * 
14008
15474
 */
14009
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14010
 
  __Pyx_GOTREF(__pyx_t_3);
14011
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_132, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14012
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15475
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15476
  __Pyx_GOTREF(__pyx_t_4);
 
15477
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15478
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14013
15479
 
14014
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":183
 
15480
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":148
14015
15481
 * IEEE_F32BE = lockid(H5T_IEEE_F32BE)
14016
15482
 * IEEE_F64LE = lockid(H5T_IEEE_F64LE)
14017
15483
 * IEEE_F64BE = lockid(H5T_IEEE_F64BE)             # <<<<<<<<<<<<<<
14018
15484
 * 
14019
15485
 * # Signed 2's complement integer types
14020
15486
 */
14021
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14022
 
  __Pyx_GOTREF(__pyx_t_3);
14023
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_133, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14024
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15487
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15488
  __Pyx_GOTREF(__pyx_t_4);
 
15489
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__IEEE_F64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15490
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14025
15491
 
14026
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":186
 
15492
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":151
14027
15493
 * 
14028
15494
 * # Signed 2's complement integer types
14029
15495
 * STD_I8LE  = lockid(H5T_STD_I8LE)             # <<<<<<<<<<<<<<
14030
15496
 * STD_I16LE = lockid(H5T_STD_I16LE)
14031
15497
 * STD_I32LE = lockid(H5T_STD_I32LE)
14032
15498
 */
14033
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14034
 
  __Pyx_GOTREF(__pyx_t_3);
14035
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_134, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14036
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15499
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15500
  __Pyx_GOTREF(__pyx_t_4);
 
15501
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15502
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14037
15503
 
14038
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":187
 
15504
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":152
14039
15505
 * # Signed 2's complement integer types
14040
15506
 * STD_I8LE  = lockid(H5T_STD_I8LE)
14041
15507
 * STD_I16LE = lockid(H5T_STD_I16LE)             # <<<<<<<<<<<<<<
14042
15508
 * STD_I32LE = lockid(H5T_STD_I32LE)
14043
15509
 * STD_I64LE = lockid(H5T_STD_I64LE)
14044
15510
 */
14045
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14046
 
  __Pyx_GOTREF(__pyx_t_3);
14047
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_135, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14048
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15511
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15512
  __Pyx_GOTREF(__pyx_t_4);
 
15513
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15514
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14049
15515
 
14050
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":188
 
15516
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":153
14051
15517
 * STD_I8LE  = lockid(H5T_STD_I8LE)
14052
15518
 * STD_I16LE = lockid(H5T_STD_I16LE)
14053
15519
 * STD_I32LE = lockid(H5T_STD_I32LE)             # <<<<<<<<<<<<<<
14054
15520
 * STD_I64LE = lockid(H5T_STD_I64LE)
14055
15521
 * 
14056
15522
 */
14057
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14058
 
  __Pyx_GOTREF(__pyx_t_3);
14059
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_136, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14060
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15523
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15524
  __Pyx_GOTREF(__pyx_t_4);
 
15525
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15526
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14061
15527
 
14062
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":189
 
15528
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":154
14063
15529
 * STD_I16LE = lockid(H5T_STD_I16LE)
14064
15530
 * STD_I32LE = lockid(H5T_STD_I32LE)
14065
15531
 * STD_I64LE = lockid(H5T_STD_I64LE)             # <<<<<<<<<<<<<<
14066
15532
 * 
14067
15533
 * STD_I8BE  = lockid(H5T_STD_I8BE)
14068
15534
 */
14069
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14070
 
  __Pyx_GOTREF(__pyx_t_3);
14071
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_137, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14072
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15535
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15536
  __Pyx_GOTREF(__pyx_t_4);
 
15537
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15538
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14073
15539
 
14074
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":191
 
15540
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":156
14075
15541
 * STD_I64LE = lockid(H5T_STD_I64LE)
14076
15542
 * 
14077
15543
 * STD_I8BE  = lockid(H5T_STD_I8BE)             # <<<<<<<<<<<<<<
14078
15544
 * STD_I16BE = lockid(H5T_STD_I16BE)
14079
15545
 * STD_I32BE = lockid(H5T_STD_I32BE)
14080
15546
 */
14081
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14082
 
  __Pyx_GOTREF(__pyx_t_3);
14083
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_138, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14084
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15547
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15548
  __Pyx_GOTREF(__pyx_t_4);
 
15549
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15550
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14085
15551
 
14086
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":192
 
15552
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":157
14087
15553
 * 
14088
15554
 * STD_I8BE  = lockid(H5T_STD_I8BE)
14089
15555
 * STD_I16BE = lockid(H5T_STD_I16BE)             # <<<<<<<<<<<<<<
14090
15556
 * STD_I32BE = lockid(H5T_STD_I32BE)
14091
15557
 * STD_I64BE = lockid(H5T_STD_I64BE)
14092
15558
 */
14093
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14094
 
  __Pyx_GOTREF(__pyx_t_3);
14095
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_139, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14096
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15559
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15560
  __Pyx_GOTREF(__pyx_t_4);
 
15561
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15562
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14097
15563
 
14098
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":193
 
15564
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":158
14099
15565
 * STD_I8BE  = lockid(H5T_STD_I8BE)
14100
15566
 * STD_I16BE = lockid(H5T_STD_I16BE)
14101
15567
 * STD_I32BE = lockid(H5T_STD_I32BE)             # <<<<<<<<<<<<<<
14102
15568
 * STD_I64BE = lockid(H5T_STD_I64BE)
14103
15569
 * 
14104
15570
 */
14105
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14106
 
  __Pyx_GOTREF(__pyx_t_3);
14107
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_140, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14108
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15571
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15572
  __Pyx_GOTREF(__pyx_t_4);
 
15573
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15574
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14109
15575
 
14110
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":194
 
15576
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":159
14111
15577
 * STD_I16BE = lockid(H5T_STD_I16BE)
14112
15578
 * STD_I32BE = lockid(H5T_STD_I32BE)
14113
15579
 * STD_I64BE = lockid(H5T_STD_I64BE)             # <<<<<<<<<<<<<<
14114
15580
 * 
14115
15581
 * # Unsigned integers
14116
15582
 */
14117
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14118
 
  __Pyx_GOTREF(__pyx_t_3);
14119
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_141, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14120
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15583
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_I64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15584
  __Pyx_GOTREF(__pyx_t_4);
 
15585
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_I64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15586
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14121
15587
 
14122
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":197
 
15588
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":162
14123
15589
 * 
14124
15590
 * # Unsigned integers
14125
15591
 * STD_U8LE  = lockid(H5T_STD_U8LE)             # <<<<<<<<<<<<<<
14126
15592
 * STD_U16LE = lockid(H5T_STD_U16LE)
14127
15593
 * STD_U32LE = lockid(H5T_STD_U32LE)
14128
15594
 */
14129
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14130
 
  __Pyx_GOTREF(__pyx_t_3);
14131
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_142, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14132
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15595
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15596
  __Pyx_GOTREF(__pyx_t_4);
 
15597
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15598
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14133
15599
 
14134
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":198
 
15600
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":163
14135
15601
 * # Unsigned integers
14136
15602
 * STD_U8LE  = lockid(H5T_STD_U8LE)
14137
15603
 * STD_U16LE = lockid(H5T_STD_U16LE)             # <<<<<<<<<<<<<<
14138
15604
 * STD_U32LE = lockid(H5T_STD_U32LE)
14139
15605
 * STD_U64LE = lockid(H5T_STD_U64LE)
14140
15606
 */
14141
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14142
 
  __Pyx_GOTREF(__pyx_t_3);
14143
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_143, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14144
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15607
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15608
  __Pyx_GOTREF(__pyx_t_4);
 
15609
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15610
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14145
15611
 
14146
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":199
 
15612
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":164
14147
15613
 * STD_U8LE  = lockid(H5T_STD_U8LE)
14148
15614
 * STD_U16LE = lockid(H5T_STD_U16LE)
14149
15615
 * STD_U32LE = lockid(H5T_STD_U32LE)             # <<<<<<<<<<<<<<
14150
15616
 * STD_U64LE = lockid(H5T_STD_U64LE)
14151
15617
 * 
14152
15618
 */
14153
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14154
 
  __Pyx_GOTREF(__pyx_t_3);
14155
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_144, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14156
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15619
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15620
  __Pyx_GOTREF(__pyx_t_4);
 
15621
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15622
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14157
15623
 
14158
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":200
 
15624
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":165
14159
15625
 * STD_U16LE = lockid(H5T_STD_U16LE)
14160
15626
 * STD_U32LE = lockid(H5T_STD_U32LE)
14161
15627
 * STD_U64LE = lockid(H5T_STD_U64LE)             # <<<<<<<<<<<<<<
14162
15628
 * 
14163
15629
 * STD_U8BE  = lockid(H5T_STD_U8BE)
14164
15630
 */
14165
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14166
 
  __Pyx_GOTREF(__pyx_t_3);
14167
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_145, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14168
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15631
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15632
  __Pyx_GOTREF(__pyx_t_4);
 
15633
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15634
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14169
15635
 
14170
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":202
 
15636
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":167
14171
15637
 * STD_U64LE = lockid(H5T_STD_U64LE)
14172
15638
 * 
14173
15639
 * STD_U8BE  = lockid(H5T_STD_U8BE)             # <<<<<<<<<<<<<<
14174
15640
 * STD_U16BE = lockid(H5T_STD_U16BE)
14175
15641
 * STD_U32BE = lockid(H5T_STD_U32BE)
14176
15642
 */
14177
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14178
 
  __Pyx_GOTREF(__pyx_t_3);
14179
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_146, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14180
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15643
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U8BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15644
  __Pyx_GOTREF(__pyx_t_4);
 
15645
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U8BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15646
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14181
15647
 
14182
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":203
 
15648
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":168
14183
15649
 * 
14184
15650
 * STD_U8BE  = lockid(H5T_STD_U8BE)
14185
15651
 * STD_U16BE = lockid(H5T_STD_U16BE)             # <<<<<<<<<<<<<<
14186
15652
 * STD_U32BE = lockid(H5T_STD_U32BE)
14187
15653
 * STD_U64BE = lockid(H5T_STD_U64BE)
14188
15654
 */
14189
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14190
 
  __Pyx_GOTREF(__pyx_t_3);
14191
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_147, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14192
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15655
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U16BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15656
  __Pyx_GOTREF(__pyx_t_4);
 
15657
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U16BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15658
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14193
15659
 
14194
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":204
 
15660
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":169
14195
15661
 * STD_U8BE  = lockid(H5T_STD_U8BE)
14196
15662
 * STD_U16BE = lockid(H5T_STD_U16BE)
14197
15663
 * STD_U32BE = lockid(H5T_STD_U32BE)             # <<<<<<<<<<<<<<
14198
15664
 * STD_U64BE = lockid(H5T_STD_U64BE)
14199
15665
 * 
14200
15666
 */
14201
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14202
 
  __Pyx_GOTREF(__pyx_t_3);
14203
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_148, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14204
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15667
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15668
  __Pyx_GOTREF(__pyx_t_4);
 
15669
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15670
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14205
15671
 
14206
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":205
 
15672
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":170
14207
15673
 * STD_U16BE = lockid(H5T_STD_U16BE)
14208
15674
 * STD_U32BE = lockid(H5T_STD_U32BE)
14209
15675
 * STD_U64BE = lockid(H5T_STD_U64BE)             # <<<<<<<<<<<<<<
14210
15676
 * 
14211
15677
 * # Native types by bytesize
14212
15678
 */
14213
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14214
 
  __Pyx_GOTREF(__pyx_t_3);
14215
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_149, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14216
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15679
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_U64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15680
  __Pyx_GOTREF(__pyx_t_4);
 
15681
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_U64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15682
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14217
15683
 
14218
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":208
 
15684
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":173
14219
15685
 * 
14220
15686
 * # Native types by bytesize
14221
15687
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)             # <<<<<<<<<<<<<<
14222
15688
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
14223
15689
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
14224
15690
 */
14225
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14226
 
  __Pyx_GOTREF(__pyx_t_3);
14227
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_150, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14228
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15691
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15692
  __Pyx_GOTREF(__pyx_t_4);
 
15693
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15694
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14229
15695
 
14230
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":209
 
15696
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":174
14231
15697
 * # Native types by bytesize
14232
15698
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)
14233
15699
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)             # <<<<<<<<<<<<<<
14234
15700
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
14235
15701
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
14236
15702
 */
14237
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14238
 
  __Pyx_GOTREF(__pyx_t_3);
14239
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_151, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14240
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15703
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15704
  __Pyx_GOTREF(__pyx_t_4);
 
15705
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT8, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15706
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14241
15707
 
14242
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":210
 
15708
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":175
14243
15709
 * NATIVE_INT8 = lockid(H5T_NATIVE_INT8)
14244
15710
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
14245
15711
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)             # <<<<<<<<<<<<<<
14246
15712
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
14247
15713
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
14248
15714
 */
14249
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14250
 
  __Pyx_GOTREF(__pyx_t_3);
14251
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_152, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14252
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15715
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15716
  __Pyx_GOTREF(__pyx_t_4);
 
15717
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15718
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14253
15719
 
14254
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":211
 
15720
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":176
14255
15721
 * NATIVE_UINT8 = lockid(H5T_NATIVE_UINT8)
14256
15722
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
14257
15723
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)             # <<<<<<<<<<<<<<
14258
15724
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
14259
15725
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
14260
15726
 */
14261
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14262
 
  __Pyx_GOTREF(__pyx_t_3);
14263
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_153, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14264
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15727
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15728
  __Pyx_GOTREF(__pyx_t_4);
 
15729
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT16, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15730
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14265
15731
 
14266
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":212
 
15732
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":177
14267
15733
 * NATIVE_INT16 = lockid(H5T_NATIVE_INT16)
14268
15734
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
14269
15735
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)             # <<<<<<<<<<<<<<
14270
15736
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
14271
15737
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
14272
15738
 */
14273
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14274
 
  __Pyx_GOTREF(__pyx_t_3);
14275
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_154, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14276
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15739
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15740
  __Pyx_GOTREF(__pyx_t_4);
 
15741
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15742
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14277
15743
 
14278
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":213
 
15744
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":178
14279
15745
 * NATIVE_UINT16 = lockid(H5T_NATIVE_UINT16)
14280
15746
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
14281
15747
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)             # <<<<<<<<<<<<<<
14282
15748
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
14283
15749
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
14284
15750
 */
14285
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14286
 
  __Pyx_GOTREF(__pyx_t_3);
14287
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_155, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14288
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15751
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15752
  __Pyx_GOTREF(__pyx_t_4);
 
15753
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT32, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15754
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14289
15755
 
14290
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":214
 
15756
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":179
14291
15757
 * NATIVE_INT32 = lockid(H5T_NATIVE_INT32)
14292
15758
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
14293
15759
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)             # <<<<<<<<<<<<<<
14294
15760
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
14295
15761
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
14296
15762
 */
14297
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14298
 
  __Pyx_GOTREF(__pyx_t_3);
14299
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_156, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14300
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15763
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15764
  __Pyx_GOTREF(__pyx_t_4);
 
15765
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_INT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15766
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14301
15767
 
14302
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":215
 
15768
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":180
14303
15769
 * NATIVE_UINT32 = lockid(H5T_NATIVE_UINT32)
14304
15770
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
14305
15771
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)             # <<<<<<<<<<<<<<
14306
15772
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
14307
15773
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)
14308
15774
 */
14309
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14310
 
  __Pyx_GOTREF(__pyx_t_3);
14311
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_157, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14312
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15775
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15776
  __Pyx_GOTREF(__pyx_t_4);
 
15777
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_UINT64, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15778
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14313
15779
 
14314
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":216
 
15780
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":181
14315
15781
 * NATIVE_INT64 = lockid(H5T_NATIVE_INT64)
14316
15782
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
14317
15783
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)             # <<<<<<<<<<<<<<
14318
15784
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)
14319
15785
 * 
14320
15786
 */
14321
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14322
 
  __Pyx_GOTREF(__pyx_t_3);
14323
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NATIVE_FLOAT, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14324
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15787
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15788
  __Pyx_GOTREF(__pyx_t_4);
 
15789
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_FLOAT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15790
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14325
15791
 
14326
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":217
 
15792
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":182
14327
15793
 * NATIVE_UINT64 = lockid(H5T_NATIVE_UINT64)
14328
15794
 * NATIVE_FLOAT = lockid(H5T_NATIVE_FLOAT)
14329
15795
 * NATIVE_DOUBLE = lockid(H5T_NATIVE_DOUBLE)             # <<<<<<<<<<<<<<
14330
15796
 * 
14331
15797
 * # Unix time types
14332
15798
 */
14333
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14334
 
  __Pyx_GOTREF(__pyx_t_3);
14335
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_NATIVE_DOUBLE, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14336
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15799
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15800
  __Pyx_GOTREF(__pyx_t_4);
 
15801
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__NATIVE_DOUBLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15802
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14337
15803
 
14338
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":220
 
15804
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":185
14339
15805
 * 
14340
15806
 * # Unix time types
14341
15807
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)             # <<<<<<<<<<<<<<
14342
15808
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
14343
15809
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
14344
15810
 */
14345
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14346
 
  __Pyx_GOTREF(__pyx_t_3);
14347
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_158, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14348
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15811
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15812
  __Pyx_GOTREF(__pyx_t_4);
 
15813
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15814
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14349
15815
 
14350
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":221
 
15816
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":186
14351
15817
 * # Unix time types
14352
15818
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)
14353
15819
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)             # <<<<<<<<<<<<<<
14354
15820
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
14355
15821
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)
14356
15822
 */
14357
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14358
 
  __Pyx_GOTREF(__pyx_t_3);
14359
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_159, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14360
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15823
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64LE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15824
  __Pyx_GOTREF(__pyx_t_4);
 
15825
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64LE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15826
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14361
15827
 
14362
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":222
 
15828
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":187
14363
15829
 * UNIX_D32LE = lockid(H5T_UNIX_D32LE)
14364
15830
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
14365
15831
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)             # <<<<<<<<<<<<<<
14366
15832
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)
14367
15833
 * 
14368
15834
 */
14369
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14370
 
  __Pyx_GOTREF(__pyx_t_3);
14371
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_160, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14372
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15835
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D32BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15836
  __Pyx_GOTREF(__pyx_t_4);
 
15837
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D32BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15838
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14373
15839
 
14374
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":223
 
15840
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":188
14375
15841
 * UNIX_D64LE = lockid(H5T_UNIX_D64LE)
14376
15842
 * UNIX_D32BE = lockid(H5T_UNIX_D32BE)
14377
15843
 * UNIX_D64BE = lockid(H5T_UNIX_D64BE)             # <<<<<<<<<<<<<<
14378
15844
 * 
14379
15845
 * # Reference types
14380
15846
 */
14381
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14382
 
  __Pyx_GOTREF(__pyx_t_3);
14383
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_161, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14384
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15847
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_UNIX_D64BE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15848
  __Pyx_GOTREF(__pyx_t_4);
 
15849
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__UNIX_D64BE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15850
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14385
15851
 
14386
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":226
 
15852
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":191
14387
15853
 * 
14388
15854
 * # Reference types
14389
15855
 * STD_REF_OBJ = lockid(H5T_STD_REF_OBJ)             # <<<<<<<<<<<<<<
14390
15856
 * STD_REF_DSETREG = lockid(H5T_STD_REF_DSETREG)
14391
15857
 * 
14392
15858
 */
14393
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_OBJ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14394
 
  __Pyx_GOTREF(__pyx_t_3);
14395
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STD_REF_OBJ, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14396
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15859
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_OBJ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15860
  __Pyx_GOTREF(__pyx_t_4);
 
15861
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_OBJ, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15862
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14397
15863
 
14398
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":227
 
15864
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":192
14399
15865
 * # Reference types
14400
15866
 * STD_REF_OBJ = lockid(H5T_STD_REF_OBJ)
14401
15867
 * STD_REF_DSETREG = lockid(H5T_STD_REF_DSETREG)             # <<<<<<<<<<<<<<
14402
15868
 * 
14403
15869
 * # Null terminated (C) and Fortran string types
14404
15870
 */
14405
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_DSETREG); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14406
 
  __Pyx_GOTREF(__pyx_t_3);
14407
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_STD_REF_DSETREG, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14408
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15871
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_STD_REF_DSETREG); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15872
  __Pyx_GOTREF(__pyx_t_4);
 
15873
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__STD_REF_DSETREG, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15874
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14409
15875
 
14410
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":230
 
15876
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":195
14411
15877
 * 
14412
15878
 * # Null terminated (C) and Fortran string types
14413
15879
 * C_S1 = lockid(H5T_C_S1)             # <<<<<<<<<<<<<<
14414
15880
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)
14415
15881
 * VARIABLE = H5T_VARIABLE
14416
15882
 */
14417
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_C_S1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14418
 
  __Pyx_GOTREF(__pyx_t_3);
14419
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_162, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14420
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15883
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_C_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15884
  __Pyx_GOTREF(__pyx_t_4);
 
15885
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__C_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15886
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14421
15887
 
14422
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":231
 
15888
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":196
14423
15889
 * # Null terminated (C) and Fortran string types
14424
15890
 * C_S1 = lockid(H5T_C_S1)
14425
15891
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)             # <<<<<<<<<<<<<<
14426
15892
 * VARIABLE = H5T_VARIABLE
14427
15893
 * 
14428
15894
 */
14429
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(H5T_FORTRAN_S1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14430
 
  __Pyx_GOTREF(__pyx_t_3);
14431
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_163, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14432
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15895
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(H5T_FORTRAN_S1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15896
  __Pyx_GOTREF(__pyx_t_4);
 
15897
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__FORTRAN_S1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15898
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14433
15899
 
14434
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":232
 
15900
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":197
14435
15901
 * C_S1 = lockid(H5T_C_S1)
14436
15902
 * FORTRAN_S1 = lockid(H5T_FORTRAN_S1)
14437
15903
 * VARIABLE = H5T_VARIABLE             # <<<<<<<<<<<<<<
14438
15904
 * 
14439
15905
 * # Custom Python object pointer type
14440
15906
 */
14441
 
  __pyx_t_3 = __Pyx_PyInt_FromSize_t(H5T_VARIABLE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14442
 
  __Pyx_GOTREF(__pyx_t_3);
14443
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_VARIABLE, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14444
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15907
  __pyx_t_4 = __Pyx_PyInt_FromSize_t(H5T_VARIABLE); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15908
  __Pyx_GOTREF(__pyx_t_4);
 
15909
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VARIABLE, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15910
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14445
15911
 
14446
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":235
 
15912
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":200
14447
15913
 * 
14448
15914
 * # Custom Python object pointer type
14449
 
 * PYTHON_OBJECT = lockid(get_object_type())             # <<<<<<<<<<<<<<
 
15915
 * PYTHON_OBJECT = lockid(_conv.get_python_obj())             # <<<<<<<<<<<<<<
14450
15916
 * 
14451
 
 * # Translation tables for HDF5 -> NumPy dtype conversion
 
15917
 * #PYTHON_OBJECT = lockid(get_object_type())
14452
15918
 */
14453
 
  __pyx_t_5 = __pyx_f_4h5py_2h5_get_object_type(); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14454
 
  __pyx_t_3 = __pyx_f_4h5py_3h5t_lockid(__pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14455
 
  __Pyx_GOTREF(__pyx_t_3);
14456
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_PYTHON_OBJECT, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14457
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15919
  __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s___conv); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15920
  __Pyx_GOTREF(__pyx_t_4);
 
15921
  __pyx_t_6 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__get_python_obj); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15922
  __Pyx_GOTREF(__pyx_t_6);
 
15923
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15924
  __pyx_t_4 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15925
  __Pyx_GOTREF(__pyx_t_4);
 
15926
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15927
  __pyx_t_8 = __Pyx_PyInt_from_py_hid_t(__pyx_t_4); if (unlikely((__pyx_t_8 == (hid_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15928
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
15929
  __pyx_t_4 = __pyx_f_4h5py_3h5t_lockid(__pyx_t_8); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15930
  __Pyx_GOTREF(__pyx_t_4);
 
15931
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__PYTHON_OBJECT, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15932
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
14458
15933
 
14459
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":238
 
15934
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":205
14460
15935
 * 
14461
15936
 * # Translation tables for HDF5 -> NumPy dtype conversion
14462
15937
 * cdef dict _order_map = { H5T_ORDER_NONE: '|', H5T_ORDER_LE: '<', H5T_ORDER_BE: '>'}             # <<<<<<<<<<<<<<
14463
15938
 * cdef dict _sign_map  = { H5T_SGN_NONE: 'u', H5T_SGN_2: 'i' }
14464
15939
 * 
14465
15940
 */
14466
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14467
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
14468
 
  __pyx_t_3 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14469
 
  __Pyx_GOTREF(__pyx_t_3);
14470
 
  if (PyDict_SetItem(__pyx_2, __pyx_t_3, __pyx_kp_164) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14471
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14472
 
  __pyx_t_3 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14473
 
  __Pyx_GOTREF(__pyx_t_3);
14474
 
  if (PyDict_SetItem(__pyx_2, __pyx_t_3, __pyx_kp_165) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14475
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14476
 
  __pyx_t_3 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14477
 
  __Pyx_GOTREF(__pyx_t_3);
14478
 
  if (PyDict_SetItem(__pyx_2, __pyx_t_3, __pyx_kp_166) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14479
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15941
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15942
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
15943
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15944
  __Pyx_GOTREF(__pyx_t_6);
 
15945
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_26)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15946
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15947
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15948
  __Pyx_GOTREF(__pyx_t_6);
 
15949
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_27)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15950
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15951
  __pyx_t_6 = PyInt_FromLong(H5T_ORDER_BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15952
  __Pyx_GOTREF(__pyx_t_6);
 
15953
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_kp_s_28)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15954
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
14480
15955
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__order_map));
14481
15956
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__order_map));
14482
 
  __Pyx_GIVEREF(((PyObject *)__pyx_2));
14483
 
  __pyx_v_4h5py_3h5t__order_map = __pyx_2;
14484
 
  __pyx_2 = 0;
 
15957
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
15958
  __pyx_v_4h5py_3h5t__order_map = __pyx_t_4;
 
15959
  __pyx_t_4 = 0;
14485
15960
 
14486
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":239
 
15961
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":206
14487
15962
 * # Translation tables for HDF5 -> NumPy dtype conversion
14488
15963
 * cdef dict _order_map = { H5T_ORDER_NONE: '|', H5T_ORDER_LE: '<', H5T_ORDER_BE: '>'}
14489
15964
 * cdef dict _sign_map  = { H5T_SGN_NONE: 'u', H5T_SGN_2: 'i' }             # <<<<<<<<<<<<<<
14490
15965
 * 
14491
15966
 * 
14492
15967
 */
14493
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14494
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
14495
 
  __pyx_t_3 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14496
 
  __Pyx_GOTREF(__pyx_t_3);
14497
 
  if (PyDict_SetItem(__pyx_1, __pyx_t_3, __pyx_kp_167) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14498
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14499
 
  __pyx_t_3 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14500
 
  __Pyx_GOTREF(__pyx_t_3);
14501
 
  if (PyDict_SetItem(__pyx_1, __pyx_t_3, __pyx_kp_168) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14502
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
 
15968
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15969
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
15970
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_NONE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15971
  __Pyx_GOTREF(__pyx_t_6);
 
15972
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__u)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15973
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15974
  __pyx_t_6 = PyInt_FromLong(H5T_SGN_2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15975
  __Pyx_GOTREF(__pyx_t_6);
 
15976
  if (PyDict_SetItem(__pyx_t_4, __pyx_t_6, ((PyObject *)__pyx_n_s__i)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15977
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
14503
15978
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__sign_map));
14504
15979
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__sign_map));
14505
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
14506
 
  __pyx_v_4h5py_3h5t__sign_map = __pyx_1;
14507
 
  __pyx_1 = 0;
14508
 
 
14509
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":244
14510
 
 * # === General datatype operations =============================================
14511
 
 * 
14512
 
 * @sync             # <<<<<<<<<<<<<<
14513
 
 * def create(int classtype, size_t size):
14514
 
 *     """(INT classtype, UINT size) => TypeID
14515
 
 */
14516
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14517
 
  __Pyx_GOTREF(__pyx_2);
14518
 
 
14519
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":245
14520
 
 * 
14521
 
 * @sync
14522
 
 * def create(int classtype, size_t size):             # <<<<<<<<<<<<<<
14523
 
 *     """(INT classtype, UINT size) => TypeID
14524
 
 * 
14525
 
 */
14526
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_create); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14527
 
  __Pyx_GOTREF(__pyx_1);
14528
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14529
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14530
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14531
 
  __Pyx_GIVEREF(__pyx_1);
14532
 
  __pyx_1 = 0;
14533
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14534
 
  __Pyx_GOTREF(__pyx_t_2);
14535
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14536
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14537
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_create, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14538
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14539
 
 
14540
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":258
14541
 
 *     return typewrap(H5Tcreate(<H5T_class_t>classtype, size))
14542
 
 * 
14543
 
 * @sync             # <<<<<<<<<<<<<<
14544
 
 * def open(ObjectID group not None, char* name):
14545
 
 *     """(ObjectID group, STRING name) => TypeID
14546
 
 */
14547
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14548
 
  __Pyx_GOTREF(__pyx_1);
14549
 
 
14550
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":259
14551
 
 * 
14552
 
 * @sync
14553
 
 * def open(ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
14554
 
 *     """(ObjectID group, STRING name) => TypeID
14555
 
 * 
14556
 
 */
14557
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_open); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14558
 
  __Pyx_GOTREF(__pyx_2);
14559
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14560
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14561
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14562
 
  __Pyx_GIVEREF(__pyx_2);
14563
 
  __pyx_2 = 0;
14564
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14565
 
  __Pyx_GOTREF(__pyx_t_3);
14566
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14567
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14568
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_open, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14569
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14570
 
 
14571
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":266
14572
 
 *     return typewrap(H5Topen(group.id, name))
14573
 
 * 
14574
 
 * @sync             # <<<<<<<<<<<<<<
14575
 
 * def array_create(TypeID base not None, object dims_tpl):
14576
 
 *     """(TypeID base, TUPLE dimensions) => TypeArrayID
14577
 
 */
14578
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14579
 
  __Pyx_GOTREF(__pyx_2);
14580
 
 
14581
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":267
14582
 
 * 
14583
 
 * @sync
14584
 
 * def array_create(TypeID base not None, object dims_tpl):             # <<<<<<<<<<<<<<
14585
 
 *     """(TypeID base, TUPLE dimensions) => TypeArrayID
14586
 
 * 
14587
 
 */
14588
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_array_create); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14589
 
  __Pyx_GOTREF(__pyx_1);
14590
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14591
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14592
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14593
 
  __Pyx_GIVEREF(__pyx_1);
14594
 
  __pyx_1 = 0;
14595
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14596
 
  __Pyx_GOTREF(__pyx_t_2);
14597
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14598
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14599
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_array_create, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14600
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14601
 
 
14602
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":287
14603
 
 *         efree(dims)
14604
 
 * 
14605
 
 * @sync             # <<<<<<<<<<<<<<
14606
 
 * def enum_create(TypeID base not None):
14607
 
 *     """(TypeID base) => TypeID
14608
 
 */
14609
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14610
 
  __Pyx_GOTREF(__pyx_1);
14611
 
 
14612
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":288
14613
 
 * 
14614
 
 * @sync
14615
 
 * def enum_create(TypeID base not None):             # <<<<<<<<<<<<<<
14616
 
 *     """(TypeID base) => TypeID
14617
 
 * 
14618
 
 */
14619
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_enum_create); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14620
 
  __Pyx_GOTREF(__pyx_2);
14621
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14622
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14623
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14624
 
  __Pyx_GIVEREF(__pyx_2);
14625
 
  __pyx_2 = 0;
14626
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14627
 
  __Pyx_GOTREF(__pyx_t_3);
14628
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14629
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14630
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_enum_create, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14631
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14632
 
 
14633
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":295
14634
 
 *     return typewrap(H5Tenum_create(base.id))
14635
 
 * 
14636
 
 * @sync             # <<<<<<<<<<<<<<
14637
 
 * def vlen_create(TypeID base not None):
14638
 
 *     """(TypeID base) => TypeID
14639
 
 */
14640
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14641
 
  __Pyx_GOTREF(__pyx_2);
14642
 
 
14643
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":296
14644
 
 * 
14645
 
 * @sync
14646
 
 * def vlen_create(TypeID base not None):             # <<<<<<<<<<<<<<
14647
 
 *     """(TypeID base) => TypeID
14648
 
 * 
14649
 
 */
14650
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_vlen_create); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14651
 
  __Pyx_GOTREF(__pyx_1);
14652
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14653
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14654
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14655
 
  __Pyx_GIVEREF(__pyx_1);
14656
 
  __pyx_1 = 0;
14657
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14658
 
  __Pyx_GOTREF(__pyx_t_2);
14659
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14660
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14661
 
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_vlen_create, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14662
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14663
 
 
14664
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":380
14665
 
 *                 H5P_DEFAULT, H5P_DEFAULT)
14666
 
 *     ELSE:
14667
 
 *         @sync             # <<<<<<<<<<<<<<
14668
 
 *         def commit(self, ObjectID group not None, char* name):
14669
 
 *             """(ObjectID group, STRING name)
14670
 
 */
14671
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14672
 
  __Pyx_GOTREF(__pyx_1);
14673
 
 
14674
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":381
14675
 
 *     ELSE:
14676
 
 *         @sync
14677
 
 *         def commit(self, ObjectID group not None, char* name):             # <<<<<<<<<<<<<<
14678
 
 *             """(ObjectID group, STRING name)
14679
 
 * 
14680
 
 */
14681
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_commit); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14682
 
  __Pyx_GOTREF(__pyx_2);
14683
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14684
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14685
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14686
 
  __Pyx_GIVEREF(__pyx_2);
14687
 
  __pyx_2 = 0;
14688
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14689
 
  __Pyx_GOTREF(__pyx_t_3);
14690
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14691
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14692
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_commit, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14693
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14694
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14695
 
 
14696
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":388
14697
 
 *             H5Tcommit(group.id, name, self.id)
14698
 
 * 
14699
 
 *     @sync             # <<<<<<<<<<<<<<
14700
 
 *     def committed(self):
14701
 
 *         """() => BOOL is_comitted
14702
 
 */
14703
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14704
 
  __Pyx_GOTREF(__pyx_2);
14705
 
 
14706
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":389
14707
 
 * 
14708
 
 *     @sync
14709
 
 *     def committed(self):             # <<<<<<<<<<<<<<
14710
 
 *         """() => BOOL is_comitted
14711
 
 * 
14712
 
 */
14713
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_committed); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14714
 
  __Pyx_GOTREF(__pyx_1);
14715
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14716
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14717
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14718
 
  __Pyx_GIVEREF(__pyx_1);
14719
 
  __pyx_1 = 0;
14720
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14721
 
  __Pyx_GOTREF(__pyx_t_2);
14722
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14723
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14724
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_committed, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14725
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14726
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14727
 
 
14728
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":396
14729
 
 *         return <bint>(H5Tcommitted(self.id))
14730
 
 * 
14731
 
 *     @sync             # <<<<<<<<<<<<<<
14732
 
 *     def copy(self):
14733
 
 *         """() => TypeID
14734
 
 */
14735
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14736
 
  __Pyx_GOTREF(__pyx_1);
14737
 
 
14738
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":397
14739
 
 * 
14740
 
 *     @sync
14741
 
 *     def copy(self):             # <<<<<<<<<<<<<<
14742
 
 *         """() => TypeID
14743
 
 * 
14744
 
 */
14745
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_copy); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14746
 
  __Pyx_GOTREF(__pyx_2);
14747
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14748
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14749
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14750
 
  __Pyx_GIVEREF(__pyx_2);
14751
 
  __pyx_2 = 0;
14752
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14753
 
  __Pyx_GOTREF(__pyx_t_3);
14754
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14755
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14756
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_copy, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14757
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14758
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14759
 
 
14760
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":404
14761
 
 *         return typewrap(H5Tcopy(self.id))
14762
 
 * 
14763
 
 *     @sync             # <<<<<<<<<<<<<<
14764
 
 *     def equal(self, TypeID typeid):
14765
 
 *         """(TypeID typeid) => BOOL
14766
 
 */
14767
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14768
 
  __Pyx_GOTREF(__pyx_2);
14769
 
 
14770
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":405
14771
 
 * 
14772
 
 *     @sync
14773
 
 *     def equal(self, TypeID typeid):             # <<<<<<<<<<<<<<
14774
 
 *         """(TypeID typeid) => BOOL
14775
 
 * 
14776
 
 */
14777
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_equal); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14778
 
  __Pyx_GOTREF(__pyx_1);
14779
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14780
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14781
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14782
 
  __Pyx_GIVEREF(__pyx_1);
14783
 
  __pyx_1 = 0;
14784
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14785
 
  __Pyx_GOTREF(__pyx_t_2);
14786
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14787
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14788
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_equal, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14789
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14790
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14791
 
 
14792
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":413
14793
 
 *         return <bint>(H5Tequal(self.id, typeid.id))
14794
 
 * 
14795
 
 *     @sync             # <<<<<<<<<<<<<<
14796
 
 *     def lock(self):
14797
 
 *         """()
14798
 
 */
14799
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14800
 
  __Pyx_GOTREF(__pyx_1);
14801
 
 
14802
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":414
14803
 
 * 
14804
 
 *     @sync
14805
 
 *     def lock(self):             # <<<<<<<<<<<<<<
14806
 
 *         """()
14807
 
 * 
14808
 
 */
14809
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_lock); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14810
 
  __Pyx_GOTREF(__pyx_2);
14811
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14812
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14813
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14814
 
  __Pyx_GIVEREF(__pyx_2);
14815
 
  __pyx_2 = 0;
14816
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14817
 
  __Pyx_GOTREF(__pyx_t_3);
14818
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14819
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14820
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_lock, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14821
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14822
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14823
 
 
14824
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":423
14825
 
 *         self._locked = 1
14826
 
 * 
14827
 
 *     @sync             # <<<<<<<<<<<<<<
14828
 
 *     def get_class(self):
14829
 
 *         """() => INT classcode
14830
 
 */
14831
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14832
 
  __Pyx_GOTREF(__pyx_2);
14833
 
 
14834
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":424
14835
 
 * 
14836
 
 *     @sync
14837
 
 *     def get_class(self):             # <<<<<<<<<<<<<<
14838
 
 *         """() => INT classcode
14839
 
 * 
14840
 
 */
14841
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_get_class); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14842
 
  __Pyx_GOTREF(__pyx_1);
14843
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14844
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14845
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14846
 
  __Pyx_GIVEREF(__pyx_1);
14847
 
  __pyx_1 = 0;
14848
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14849
 
  __Pyx_GOTREF(__pyx_t_2);
14850
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14851
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14852
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_get_class, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14853
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14854
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14855
 
 
14856
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":431
14857
 
 *         return <int>H5Tget_class(self.id)
14858
 
 * 
14859
 
 *     @sync             # <<<<<<<<<<<<<<
14860
 
 *     def set_size(self, size_t size):
14861
 
 *         """(UINT size)
14862
 
 */
14863
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14864
 
  __Pyx_GOTREF(__pyx_1);
14865
 
 
14866
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":432
14867
 
 * 
14868
 
 *     @sync
14869
 
 *     def set_size(self, size_t size):             # <<<<<<<<<<<<<<
14870
 
 *         """(UINT size)
14871
 
 * 
14872
 
 */
14873
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_set_size); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14874
 
  __Pyx_GOTREF(__pyx_2);
14875
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14876
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14877
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14878
 
  __Pyx_GIVEREF(__pyx_2);
14879
 
  __pyx_2 = 0;
14880
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14881
 
  __Pyx_GOTREF(__pyx_t_3);
14882
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14883
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14884
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_set_size, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14885
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14886
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14887
 
 
14888
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":439
14889
 
 *         H5Tset_size(self.id, size)
14890
 
 * 
14891
 
 *     @sync             # <<<<<<<<<<<<<<
14892
 
 *     def get_size(self):
14893
 
 *         """ () => INT size
14894
 
 */
14895
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14896
 
  __Pyx_GOTREF(__pyx_2);
14897
 
 
14898
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":440
14899
 
 * 
14900
 
 *     @sync
14901
 
 *     def get_size(self):             # <<<<<<<<<<<<<<
14902
 
 *         """ () => INT size
14903
 
 * 
14904
 
 */
14905
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_get_size); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14906
 
  __Pyx_GOTREF(__pyx_1);
14907
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14908
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14909
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14910
 
  __Pyx_GIVEREF(__pyx_1);
14911
 
  __pyx_1 = 0;
14912
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14913
 
  __Pyx_GOTREF(__pyx_t_2);
14914
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14915
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14916
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_get_size, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14917
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14918
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14919
 
 
14920
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":447
14921
 
 *         return H5Tget_size(self.id)
14922
 
 * 
14923
 
 *     @sync             # <<<<<<<<<<<<<<
14924
 
 *     def get_super(self):
14925
 
 *         """() => TypeID
14926
 
 */
14927
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14928
 
  __Pyx_GOTREF(__pyx_1);
14929
 
 
14930
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":448
14931
 
 * 
14932
 
 *     @sync
14933
 
 *     def get_super(self):             # <<<<<<<<<<<<<<
14934
 
 *         """() => TypeID
14935
 
 * 
14936
 
 */
14937
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_get_super); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14938
 
  __Pyx_GOTREF(__pyx_2);
14939
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14940
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
14941
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
14942
 
  __Pyx_GIVEREF(__pyx_2);
14943
 
  __pyx_2 = 0;
14944
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14945
 
  __Pyx_GOTREF(__pyx_t_3);
14946
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
14947
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
14948
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_get_super, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14949
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14950
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14951
 
 
14952
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":455
14953
 
 *         return typewrap(H5Tget_super(self.id))
14954
 
 * 
14955
 
 *     @sync             # <<<<<<<<<<<<<<
14956
 
 *     def detect_class(self, int classtype):
14957
 
 *         """(INT classtype) => BOOL class_is_present
14958
 
 */
14959
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14960
 
  __Pyx_GOTREF(__pyx_2);
14961
 
 
14962
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":456
14963
 
 * 
14964
 
 *     @sync
14965
 
 *     def detect_class(self, int classtype):             # <<<<<<<<<<<<<<
14966
 
 *         """(INT classtype) => BOOL class_is_present
14967
 
 * 
14968
 
 */
14969
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp_detect_class); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14970
 
  __Pyx_GOTREF(__pyx_1);
14971
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14972
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
14973
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
14974
 
  __Pyx_GIVEREF(__pyx_1);
14975
 
  __pyx_1 = 0;
14976
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14977
 
  __Pyx_GOTREF(__pyx_t_2);
14978
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
14979
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
14980
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp_detect_class, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14981
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14982
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
14983
 
 
14984
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":464
14985
 
 *         return <bint>(H5Tdetect_class(self.id, <H5T_class_t>classtype))
14986
 
 * 
14987
 
 *     @sync             # <<<<<<<<<<<<<<
14988
 
 *     def _close(self):
14989
 
 *         """()
14990
 
 */
14991
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
14992
 
  __Pyx_GOTREF(__pyx_1);
14993
 
 
14994
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":465
14995
 
 * 
14996
 
 *     @sync
14997
 
 *     def _close(self):             # <<<<<<<<<<<<<<
14998
 
 *         """()
14999
 
 * 
15000
 
 */
15001
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID, __pyx_kp__close); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15002
 
  __Pyx_GOTREF(__pyx_2);
15003
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15004
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15005
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15006
 
  __Pyx_GIVEREF(__pyx_2);
15007
 
  __pyx_2 = 0;
15008
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15009
 
  __Pyx_GOTREF(__pyx_t_3);
15010
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15011
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15012
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeID->tp_dict, __pyx_kp__close, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15013
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15014
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeID);
15015
 
 
15016
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":517
15017
 
 *     """
15018
 
 * 
15019
 
 *     @sync             # <<<<<<<<<<<<<<
15020
 
 *     def get_array_ndims(self):
15021
 
 *         """() => INT rank
15022
 
 */
15023
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15024
 
  __Pyx_GOTREF(__pyx_2);
15025
 
 
15026
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":518
15027
 
 * 
15028
 
 *     @sync
15029
 
 *     def get_array_ndims(self):             # <<<<<<<<<<<<<<
15030
 
 *         """() => INT rank
15031
 
 * 
15032
 
 */
15033
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeArrayID, __pyx_kp_get_array_ndims); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15034
 
  __Pyx_GOTREF(__pyx_1);
15035
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15036
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15037
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15038
 
  __Pyx_GIVEREF(__pyx_1);
15039
 
  __pyx_1 = 0;
15040
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15041
 
  __Pyx_GOTREF(__pyx_t_2);
15042
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15043
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15044
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeArrayID->tp_dict, __pyx_kp_get_array_ndims, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15045
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15046
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeArrayID);
15047
 
 
15048
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":525
15049
 
 *         return H5Tget_array_ndims(self.id)
15050
 
 * 
15051
 
 *     @sync             # <<<<<<<<<<<<<<
15052
 
 *     def get_array_dims(self):
15053
 
 *         """() => TUPLE dimensions
15054
 
 */
15055
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15056
 
  __Pyx_GOTREF(__pyx_1);
15057
 
 
15058
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":526
15059
 
 * 
15060
 
 *     @sync
15061
 
 *     def get_array_dims(self):             # <<<<<<<<<<<<<<
15062
 
 *         """() => TUPLE dimensions
15063
 
 * 
15064
 
 */
15065
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeArrayID, __pyx_kp_get_array_dims); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15066
 
  __Pyx_GOTREF(__pyx_2);
15067
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15068
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15069
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15070
 
  __Pyx_GIVEREF(__pyx_2);
15071
 
  __pyx_2 = 0;
15072
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15073
 
  __Pyx_GOTREF(__pyx_t_3);
15074
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15075
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15076
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeArrayID->tp_dict, __pyx_kp_get_array_dims, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15077
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15078
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeArrayID);
15079
 
 
15080
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":560
15081
 
 *     """
15082
 
 * 
15083
 
 *     @sync             # <<<<<<<<<<<<<<
15084
 
 *     def set_tag(self, char* tag):
15085
 
 *         """(STRING tag)
15086
 
 */
15087
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15088
 
  __Pyx_GOTREF(__pyx_2);
15089
 
 
15090
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":561
15091
 
 * 
15092
 
 *     @sync
15093
 
 *     def set_tag(self, char* tag):             # <<<<<<<<<<<<<<
15094
 
 *         """(STRING tag)
15095
 
 * 
15096
 
 */
15097
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeOpaqueID, __pyx_kp_set_tag); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15098
 
  __Pyx_GOTREF(__pyx_1);
15099
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15100
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15101
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15102
 
  __Pyx_GIVEREF(__pyx_1);
15103
 
  __pyx_1 = 0;
15104
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15105
 
  __Pyx_GOTREF(__pyx_t_2);
15106
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15107
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15108
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeOpaqueID->tp_dict, __pyx_kp_set_tag, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15109
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15110
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeOpaqueID);
15111
 
 
15112
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":569
15113
 
 *         H5Tset_tag(self.id, tag)
15114
 
 * 
15115
 
 *     @sync             # <<<<<<<<<<<<<<
15116
 
 *     def get_tag(self):
15117
 
 *         """() => STRING tag
15118
 
 */
15119
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15120
 
  __Pyx_GOTREF(__pyx_1);
15121
 
 
15122
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":570
15123
 
 * 
15124
 
 *     @sync
15125
 
 *     def get_tag(self):             # <<<<<<<<<<<<<<
15126
 
 *         """() => STRING tag
15127
 
 * 
15128
 
 */
15129
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeOpaqueID, __pyx_kp_get_tag); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15130
 
  __Pyx_GOTREF(__pyx_2);
15131
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15132
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15133
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15134
 
  __Pyx_GIVEREF(__pyx_2);
15135
 
  __pyx_2 = 0;
15136
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15137
 
  __Pyx_GOTREF(__pyx_t_3);
15138
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15139
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15140
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeOpaqueID->tp_dict, __pyx_kp_get_tag, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15141
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15142
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeOpaqueID);
15143
 
 
15144
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":595
15145
 
 *     """
15146
 
 * 
15147
 
 *     @sync             # <<<<<<<<<<<<<<
15148
 
 *     def is_variable_str(self):
15149
 
 *         """() => BOOL is_variable
15150
 
 */
15151
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15152
 
  __Pyx_GOTREF(__pyx_2);
15153
 
 
15154
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":596
15155
 
 * 
15156
 
 *     @sync
15157
 
 *     def is_variable_str(self):             # <<<<<<<<<<<<<<
15158
 
 *         """() => BOOL is_variable
15159
 
 * 
15160
 
 */
15161
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID, __pyx_kp_is_variable_str); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15162
 
  __Pyx_GOTREF(__pyx_1);
15163
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15164
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15165
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15166
 
  __Pyx_GIVEREF(__pyx_1);
15167
 
  __pyx_1 = 0;
15168
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15169
 
  __Pyx_GOTREF(__pyx_t_2);
15170
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15171
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15172
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, __pyx_kp_is_variable_str, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15173
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15174
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeStringID);
15175
 
 
15176
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":603
15177
 
 *         return <bint>(H5Tis_variable_str(self.id))
15178
 
 * 
15179
 
 *     @sync             # <<<<<<<<<<<<<<
15180
 
 *     def get_cset(self):
15181
 
 *         """() => INT character_set
15182
 
 */
15183
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15184
 
  __Pyx_GOTREF(__pyx_1);
15185
 
 
15186
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":604
15187
 
 * 
15188
 
 *     @sync
15189
 
 *     def get_cset(self):             # <<<<<<<<<<<<<<
15190
 
 *         """() => INT character_set
15191
 
 * 
15192
 
 */
15193
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID, __pyx_kp_get_cset); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15194
 
  __Pyx_GOTREF(__pyx_2);
15195
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15196
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15197
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15198
 
  __Pyx_GIVEREF(__pyx_2);
15199
 
  __pyx_2 = 0;
15200
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15201
 
  __Pyx_GOTREF(__pyx_t_3);
15202
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15203
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15204
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, __pyx_kp_get_cset, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15205
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15206
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeStringID);
15207
 
 
15208
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":611
15209
 
 *         return <int>H5Tget_cset(self.id)
15210
 
 * 
15211
 
 *     @sync             # <<<<<<<<<<<<<<
15212
 
 *     def set_cset(self, int cset):
15213
 
 *         """(INT character_set)
15214
 
 */
15215
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15216
 
  __Pyx_GOTREF(__pyx_2);
15217
 
 
15218
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":612
15219
 
 * 
15220
 
 *     @sync
15221
 
 *     def set_cset(self, int cset):             # <<<<<<<<<<<<<<
15222
 
 *         """(INT character_set)
15223
 
 * 
15224
 
 */
15225
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID, __pyx_kp_set_cset); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 612; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15226
 
  __Pyx_GOTREF(__pyx_1);
15227
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15228
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15229
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15230
 
  __Pyx_GIVEREF(__pyx_1);
15231
 
  __pyx_1 = 0;
15232
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15233
 
  __Pyx_GOTREF(__pyx_t_2);
15234
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15235
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15236
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, __pyx_kp_set_cset, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 612; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15237
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15238
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeStringID);
15239
 
 
15240
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":619
15241
 
 *         H5Tset_cset(self.id, <H5T_cset_t>cset)
15242
 
 * 
15243
 
 *     @sync             # <<<<<<<<<<<<<<
15244
 
 *     def get_strpad(self):
15245
 
 *         """() => INT padding_type
15246
 
 */
15247
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15248
 
  __Pyx_GOTREF(__pyx_1);
15249
 
 
15250
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":620
15251
 
 * 
15252
 
 *     @sync
15253
 
 *     def get_strpad(self):             # <<<<<<<<<<<<<<
15254
 
 *         """() => INT padding_type
15255
 
 * 
15256
 
 */
15257
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID, __pyx_kp_get_strpad); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15258
 
  __Pyx_GOTREF(__pyx_2);
15259
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15260
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15261
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15262
 
  __Pyx_GIVEREF(__pyx_2);
15263
 
  __pyx_2 = 0;
15264
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15265
 
  __Pyx_GOTREF(__pyx_t_3);
15266
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15267
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15268
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, __pyx_kp_get_strpad, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15269
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15270
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeStringID);
15271
 
 
15272
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":636
15273
 
 *         return <int>H5Tget_strpad(self.id)
15274
 
 * 
15275
 
 *     @sync             # <<<<<<<<<<<<<<
15276
 
 *     def set_strpad(self, int pad):
15277
 
 *         """(INT pad)
15278
 
 */
15279
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15280
 
  __Pyx_GOTREF(__pyx_2);
15281
 
 
15282
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":637
15283
 
 * 
15284
 
 *     @sync
15285
 
 *     def set_strpad(self, int pad):             # <<<<<<<<<<<<<<
15286
 
 *         """(INT pad)
15287
 
 * 
15288
 
 */
15289
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID, __pyx_kp_set_strpad); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15290
 
  __Pyx_GOTREF(__pyx_1);
15291
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15292
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15293
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15294
 
  __Pyx_GIVEREF(__pyx_1);
15295
 
  __pyx_1 = 0;
15296
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15297
 
  __Pyx_GOTREF(__pyx_t_2);
15298
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15299
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15300
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeStringID->tp_dict, __pyx_kp_set_strpad, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15301
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15302
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeStringID);
15303
 
 
15304
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":697
15305
 
 *     """
15306
 
 * 
15307
 
 *     @sync             # <<<<<<<<<<<<<<
15308
 
 *     def get_order(self):
15309
 
 *         """() => INT order
15310
 
 */
15311
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15312
 
  __Pyx_GOTREF(__pyx_1);
15313
 
 
15314
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":698
15315
 
 * 
15316
 
 *     @sync
15317
 
 *     def get_order(self):             # <<<<<<<<<<<<<<
15318
 
 *         """() => INT order
15319
 
 * 
15320
 
 */
15321
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_get_order); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15322
 
  __Pyx_GOTREF(__pyx_2);
15323
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15324
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15325
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15326
 
  __Pyx_GIVEREF(__pyx_2);
15327
 
  __pyx_2 = 0;
15328
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15329
 
  __Pyx_GOTREF(__pyx_t_3);
15330
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15331
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15332
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_get_order, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15333
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15334
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15335
 
 
15336
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":708
15337
 
 *         return <int>H5Tget_order(self.id)
15338
 
 * 
15339
 
 *     @sync             # <<<<<<<<<<<<<<
15340
 
 *     def set_order(self, int order):
15341
 
 *         """(INT order)
15342
 
 */
15343
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15344
 
  __Pyx_GOTREF(__pyx_2);
15345
 
 
15346
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":709
15347
 
 * 
15348
 
 *     @sync
15349
 
 *     def set_order(self, int order):             # <<<<<<<<<<<<<<
15350
 
 *         """(INT order)
15351
 
 * 
15352
 
 */
15353
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_set_order); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15354
 
  __Pyx_GOTREF(__pyx_1);
15355
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15356
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15357
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15358
 
  __Pyx_GIVEREF(__pyx_1);
15359
 
  __pyx_1 = 0;
15360
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15361
 
  __Pyx_GOTREF(__pyx_t_2);
15362
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15363
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15364
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_set_order, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15365
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15366
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15367
 
 
15368
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":719
15369
 
 *         H5Tset_order(self.id, <H5T_order_t>order)
15370
 
 * 
15371
 
 *     @sync             # <<<<<<<<<<<<<<
15372
 
 *     def get_precision(self):
15373
 
 *         """() => UINT precision
15374
 
 */
15375
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15376
 
  __Pyx_GOTREF(__pyx_1);
15377
 
 
15378
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":720
15379
 
 * 
15380
 
 *     @sync
15381
 
 *     def get_precision(self):             # <<<<<<<<<<<<<<
15382
 
 *         """() => UINT precision
15383
 
 * 
15384
 
 */
15385
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_get_precision); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15386
 
  __Pyx_GOTREF(__pyx_2);
15387
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15388
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15389
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15390
 
  __Pyx_GIVEREF(__pyx_2);
15391
 
  __pyx_2 = 0;
15392
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15393
 
  __Pyx_GOTREF(__pyx_t_3);
15394
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15395
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15396
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_get_precision, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15397
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15398
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15399
 
 
15400
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":727
15401
 
 *         return H5Tget_precision(self.id)
15402
 
 * 
15403
 
 *     @sync             # <<<<<<<<<<<<<<
15404
 
 *     def set_precision(self, size_t precision):
15405
 
 *         """(UINT precision)
15406
 
 */
15407
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15408
 
  __Pyx_GOTREF(__pyx_2);
15409
 
 
15410
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":728
15411
 
 * 
15412
 
 *     @sync
15413
 
 *     def set_precision(self, size_t precision):             # <<<<<<<<<<<<<<
15414
 
 *         """(UINT precision)
15415
 
 * 
15416
 
 */
15417
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_set_precision); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15418
 
  __Pyx_GOTREF(__pyx_1);
15419
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15420
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15421
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15422
 
  __Pyx_GIVEREF(__pyx_1);
15423
 
  __pyx_1 = 0;
15424
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15425
 
  __Pyx_GOTREF(__pyx_t_2);
15426
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15427
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15428
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_set_precision, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15429
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15430
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15431
 
 
15432
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":735
15433
 
 *         H5Tset_precision(self.id, precision)
15434
 
 * 
15435
 
 *     @sync             # <<<<<<<<<<<<<<
15436
 
 *     def get_offset(self):
15437
 
 *         """() => INT offset
15438
 
 */
15439
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15440
 
  __Pyx_GOTREF(__pyx_1);
15441
 
 
15442
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":736
15443
 
 * 
15444
 
 *     @sync
15445
 
 *     def get_offset(self):             # <<<<<<<<<<<<<<
15446
 
 *         """() => INT offset
15447
 
 * 
15448
 
 */
15449
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_get_offset); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15450
 
  __Pyx_GOTREF(__pyx_2);
15451
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15452
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15453
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15454
 
  __Pyx_GIVEREF(__pyx_2);
15455
 
  __pyx_2 = 0;
15456
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15457
 
  __Pyx_GOTREF(__pyx_t_3);
15458
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15459
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15460
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_get_offset, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15461
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15462
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15463
 
 
15464
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":743
15465
 
 *         return H5Tget_offset(self.id)
15466
 
 * 
15467
 
 *     @sync             # <<<<<<<<<<<<<<
15468
 
 *     def set_offset(self, size_t offset):
15469
 
 *         """(UINT offset)
15470
 
 */
15471
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15472
 
  __Pyx_GOTREF(__pyx_2);
15473
 
 
15474
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":744
15475
 
 * 
15476
 
 *     @sync
15477
 
 *     def set_offset(self, size_t offset):             # <<<<<<<<<<<<<<
15478
 
 *         """(UINT offset)
15479
 
 * 
15480
 
 */
15481
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_set_offset); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15482
 
  __Pyx_GOTREF(__pyx_1);
15483
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15484
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15485
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15486
 
  __Pyx_GIVEREF(__pyx_1);
15487
 
  __pyx_1 = 0;
15488
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 743; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15489
 
  __Pyx_GOTREF(__pyx_t_2);
15490
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15491
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15492
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_set_offset, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15493
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15494
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15495
 
 
15496
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":751
15497
 
 *         H5Tset_offset(self.id, offset)
15498
 
 * 
15499
 
 *     @sync             # <<<<<<<<<<<<<<
15500
 
 *     def get_pad(self):
15501
 
 *         """() => (INT lsb_pad_code, INT msb_pad_code)
15502
 
 */
15503
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15504
 
  __Pyx_GOTREF(__pyx_1);
15505
 
 
15506
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":752
15507
 
 * 
15508
 
 *     @sync
15509
 
 *     def get_pad(self):             # <<<<<<<<<<<<<<
15510
 
 *         """() => (INT lsb_pad_code, INT msb_pad_code)
15511
 
 * 
15512
 
 */
15513
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_get_pad); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15514
 
  __Pyx_GOTREF(__pyx_2);
15515
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15516
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15517
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15518
 
  __Pyx_GIVEREF(__pyx_2);
15519
 
  __pyx_2 = 0;
15520
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15521
 
  __Pyx_GOTREF(__pyx_t_3);
15522
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15523
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15524
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_get_pad, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15525
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15526
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15527
 
 
15528
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":766
15529
 
 *         return (<int>lsb, <int>msb)
15530
 
 * 
15531
 
 *     @sync             # <<<<<<<<<<<<<<
15532
 
 *     def set_pad(self, int lsb, int msb):
15533
 
 *         """(INT lsb_pad_code, INT msb_pad_code)
15534
 
 */
15535
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15536
 
  __Pyx_GOTREF(__pyx_2);
15537
 
 
15538
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":767
15539
 
 * 
15540
 
 *     @sync
15541
 
 *     def set_pad(self, int lsb, int msb):             # <<<<<<<<<<<<<<
15542
 
 *         """(INT lsb_pad_code, INT msb_pad_code)
15543
 
 * 
15544
 
 */
15545
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID, __pyx_kp_set_pad); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15546
 
  __Pyx_GOTREF(__pyx_1);
15547
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15548
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15549
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15550
 
  __Pyx_GIVEREF(__pyx_1);
15551
 
  __pyx_1 = 0;
15552
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15553
 
  __Pyx_GOTREF(__pyx_t_2);
15554
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15555
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15556
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeAtomicID->tp_dict, __pyx_kp_set_pad, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 767; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15557
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15558
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeAtomicID);
15559
 
 
15560
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":785
15561
 
 *     """
15562
 
 * 
15563
 
 *     @sync             # <<<<<<<<<<<<<<
15564
 
 *     def get_sign(self):
15565
 
 *         """() => INT sign
15566
 
 */
15567
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15568
 
  __Pyx_GOTREF(__pyx_1);
15569
 
 
15570
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":786
15571
 
 * 
15572
 
 *     @sync
15573
 
 *     def get_sign(self):             # <<<<<<<<<<<<<<
15574
 
 *         """() => INT sign
15575
 
 * 
15576
 
 */
15577
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeIntegerID, __pyx_kp_get_sign); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15578
 
  __Pyx_GOTREF(__pyx_2);
15579
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15580
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15581
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15582
 
  __Pyx_GIVEREF(__pyx_2);
15583
 
  __pyx_2 = 0;
15584
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15585
 
  __Pyx_GOTREF(__pyx_t_3);
15586
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15587
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15588
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeIntegerID->tp_dict, __pyx_kp_get_sign, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 786; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15589
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15590
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeIntegerID);
15591
 
 
15592
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":799
15593
 
 *         return <int>H5Tget_sign(self.id)
15594
 
 * 
15595
 
 *     @sync             # <<<<<<<<<<<<<<
15596
 
 *     def set_sign(self, int sign):
15597
 
 *         """(INT sign)
15598
 
 */
15599
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15600
 
  __Pyx_GOTREF(__pyx_2);
15601
 
 
15602
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":800
15603
 
 * 
15604
 
 *     @sync
15605
 
 *     def set_sign(self, int sign):             # <<<<<<<<<<<<<<
15606
 
 *         """(INT sign)
15607
 
 * 
15608
 
 */
15609
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeIntegerID, __pyx_kp_set_sign); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15610
 
  __Pyx_GOTREF(__pyx_1);
15611
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15612
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15613
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15614
 
  __Pyx_GIVEREF(__pyx_1);
15615
 
  __pyx_1 = 0;
15616
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15617
 
  __Pyx_GOTREF(__pyx_t_2);
15618
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15619
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15620
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeIntegerID->tp_dict, __pyx_kp_set_sign, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15621
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15622
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeIntegerID);
15623
 
 
15624
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":825
15625
 
 *     """
15626
 
 * 
15627
 
 *     @sync             # <<<<<<<<<<<<<<
15628
 
 *     def get_fields(self):
15629
 
 *         """() => TUPLE field_info
15630
 
 */
15631
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15632
 
  __Pyx_GOTREF(__pyx_1);
15633
 
 
15634
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":826
15635
 
 * 
15636
 
 *     @sync
15637
 
 *     def get_fields(self):             # <<<<<<<<<<<<<<
15638
 
 *         """() => TUPLE field_info
15639
 
 * 
15640
 
 */
15641
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_get_fields); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15642
 
  __Pyx_GOTREF(__pyx_2);
15643
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15644
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15645
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15646
 
  __Pyx_GIVEREF(__pyx_2);
15647
 
  __pyx_2 = 0;
15648
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15649
 
  __Pyx_GOTREF(__pyx_t_3);
15650
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15651
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15652
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_get_fields, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15653
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15654
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15655
 
 
15656
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":842
15657
 
 *         return (spos, epos, esize, mpos, msize)
15658
 
 * 
15659
 
 *     @sync             # <<<<<<<<<<<<<<
15660
 
 *     def set_fields(self, size_t spos, size_t epos, size_t esize,
15661
 
 *                           size_t mpos, size_t msize):
15662
 
 */
15663
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15664
 
  __Pyx_GOTREF(__pyx_2);
15665
 
 
15666
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":843
15667
 
 * 
15668
 
 *     @sync
15669
 
 *     def set_fields(self, size_t spos, size_t epos, size_t esize,             # <<<<<<<<<<<<<<
15670
 
 *                           size_t mpos, size_t msize):
15671
 
 *         """(UINT spos, UINT epos, UINT esize, UINT mpos, UINT msize)
15672
 
 */
15673
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_set_fields); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15674
 
  __Pyx_GOTREF(__pyx_1);
15675
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15676
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15677
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15678
 
  __Pyx_GIVEREF(__pyx_1);
15679
 
  __pyx_1 = 0;
15680
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15681
 
  __Pyx_GOTREF(__pyx_t_2);
15682
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15683
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15684
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_set_fields, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15685
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15686
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15687
 
 
15688
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":852
15689
 
 *         H5Tset_fields(self.id, spos, epos, esize, mpos, msize)
15690
 
 * 
15691
 
 *     @sync             # <<<<<<<<<<<<<<
15692
 
 *     def get_ebias(self):
15693
 
 *         """() => UINT ebias
15694
 
 */
15695
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15696
 
  __Pyx_GOTREF(__pyx_1);
15697
 
 
15698
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":853
15699
 
 * 
15700
 
 *     @sync
15701
 
 *     def get_ebias(self):             # <<<<<<<<<<<<<<
15702
 
 *         """() => UINT ebias
15703
 
 * 
15704
 
 */
15705
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_get_ebias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15706
 
  __Pyx_GOTREF(__pyx_2);
15707
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15708
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15709
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15710
 
  __Pyx_GIVEREF(__pyx_2);
15711
 
  __pyx_2 = 0;
15712
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15713
 
  __Pyx_GOTREF(__pyx_t_3);
15714
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15715
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15716
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_get_ebias, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15717
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15718
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15719
 
 
15720
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":860
15721
 
 *         return H5Tget_ebias(self.id)
15722
 
 * 
15723
 
 *     @sync             # <<<<<<<<<<<<<<
15724
 
 *     def set_ebias(self, size_t ebias):
15725
 
 *         """(UINT ebias)
15726
 
 */
15727
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15728
 
  __Pyx_GOTREF(__pyx_2);
15729
 
 
15730
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":861
15731
 
 * 
15732
 
 *     @sync
15733
 
 *     def set_ebias(self, size_t ebias):             # <<<<<<<<<<<<<<
15734
 
 *         """(UINT ebias)
15735
 
 * 
15736
 
 */
15737
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_set_ebias); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15738
 
  __Pyx_GOTREF(__pyx_1);
15739
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15740
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15741
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15742
 
  __Pyx_GIVEREF(__pyx_1);
15743
 
  __pyx_1 = 0;
15744
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15745
 
  __Pyx_GOTREF(__pyx_t_2);
15746
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15747
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15748
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_set_ebias, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 861; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15749
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15750
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15751
 
 
15752
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":868
15753
 
 *         H5Tset_ebias(self.id, ebias)
15754
 
 * 
15755
 
 *     @sync             # <<<<<<<<<<<<<<
15756
 
 *     def get_norm(self):
15757
 
 *         """() => INT normalization_code
15758
 
 */
15759
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 868; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15760
 
  __Pyx_GOTREF(__pyx_1);
15761
 
 
15762
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":869
15763
 
 * 
15764
 
 *     @sync
15765
 
 *     def get_norm(self):             # <<<<<<<<<<<<<<
15766
 
 *         """() => INT normalization_code
15767
 
 * 
15768
 
 */
15769
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_get_norm); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15770
 
  __Pyx_GOTREF(__pyx_2);
15771
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 868; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15772
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15773
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15774
 
  __Pyx_GIVEREF(__pyx_2);
15775
 
  __pyx_2 = 0;
15776
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 868; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15777
 
  __Pyx_GOTREF(__pyx_t_3);
15778
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15779
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15780
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_get_norm, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 869; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15781
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15782
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15783
 
 
15784
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":880
15785
 
 *         return <int>H5Tget_norm(self.id)
15786
 
 * 
15787
 
 *     @sync             # <<<<<<<<<<<<<<
15788
 
 *     def set_norm(self, int norm):
15789
 
 *         """(INT normalization_code)
15790
 
 */
15791
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15792
 
  __Pyx_GOTREF(__pyx_2);
15793
 
 
15794
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":881
15795
 
 * 
15796
 
 *     @sync
15797
 
 *     def set_norm(self, int norm):             # <<<<<<<<<<<<<<
15798
 
 *         """(INT normalization_code)
15799
 
 * 
15800
 
 */
15801
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_set_norm); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15802
 
  __Pyx_GOTREF(__pyx_1);
15803
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15804
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15805
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15806
 
  __Pyx_GIVEREF(__pyx_1);
15807
 
  __pyx_1 = 0;
15808
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 880; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15809
 
  __Pyx_GOTREF(__pyx_t_2);
15810
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15811
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15812
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_set_norm, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15813
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15814
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15815
 
 
15816
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":892
15817
 
 *         H5Tset_norm(self.id, <H5T_norm_t>norm)
15818
 
 * 
15819
 
 *     @sync             # <<<<<<<<<<<<<<
15820
 
 *     def get_inpad(self):
15821
 
 *         """() => INT pad_code
15822
 
 */
15823
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15824
 
  __Pyx_GOTREF(__pyx_1);
15825
 
 
15826
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":893
15827
 
 * 
15828
 
 *     @sync
15829
 
 *     def get_inpad(self):             # <<<<<<<<<<<<<<
15830
 
 *         """() => INT pad_code
15831
 
 * 
15832
 
 */
15833
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_get_inpad); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15834
 
  __Pyx_GOTREF(__pyx_2);
15835
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15836
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15837
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15838
 
  __Pyx_GIVEREF(__pyx_2);
15839
 
  __pyx_2 = 0;
15840
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15841
 
  __Pyx_GOTREF(__pyx_t_3);
15842
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15843
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15844
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_get_inpad, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15845
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15846
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15847
 
 
15848
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":904
15849
 
 *         return <int>H5Tget_inpad(self.id)
15850
 
 * 
15851
 
 *     @sync             # <<<<<<<<<<<<<<
15852
 
 *     def set_inpad(self, int pad_code):
15853
 
 *         """(INT pad_code)
15854
 
 */
15855
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15856
 
  __Pyx_GOTREF(__pyx_2);
15857
 
 
15858
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":905
15859
 
 * 
15860
 
 *     @sync
15861
 
 *     def set_inpad(self, int pad_code):             # <<<<<<<<<<<<<<
15862
 
 *         """(INT pad_code)
15863
 
 * 
15864
 
 */
15865
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID, __pyx_kp_set_inpad); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15866
 
  __Pyx_GOTREF(__pyx_1);
15867
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15868
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15869
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15870
 
  __Pyx_GIVEREF(__pyx_1);
15871
 
  __pyx_1 = 0;
15872
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 904; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15873
 
  __Pyx_GOTREF(__pyx_t_2);
15874
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15875
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15876
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeFloatID->tp_dict, __pyx_kp_set_inpad, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15877
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15878
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeFloatID);
15879
 
 
15880
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":930
15881
 
 *     """
15882
 
 * 
15883
 
 *     @sync             # <<<<<<<<<<<<<<
15884
 
 *     def get_nmembers(self):
15885
 
 *         """() => INT number_of_members
15886
 
 */
15887
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15888
 
  __Pyx_GOTREF(__pyx_1);
15889
 
 
15890
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":931
15891
 
 * 
15892
 
 *     @sync
15893
 
 *     def get_nmembers(self):             # <<<<<<<<<<<<<<
15894
 
 *         """() => INT number_of_members
15895
 
 * 
15896
 
 */
15897
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID, __pyx_kp_get_nmembers); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 931; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15898
 
  __Pyx_GOTREF(__pyx_2);
15899
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15900
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15901
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15902
 
  __Pyx_GIVEREF(__pyx_2);
15903
 
  __pyx_2 = 0;
15904
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15905
 
  __Pyx_GOTREF(__pyx_t_3);
15906
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15907
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15908
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID->tp_dict, __pyx_kp_get_nmembers, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 931; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15909
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15910
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompositeID);
15911
 
 
15912
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":938
15913
 
 *         return H5Tget_nmembers(self.id)
15914
 
 * 
15915
 
 *     @sync             # <<<<<<<<<<<<<<
15916
 
 *     def get_member_name(self, int member):
15917
 
 *         """(INT member) => STRING name
15918
 
 */
15919
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 938; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15920
 
  __Pyx_GOTREF(__pyx_2);
15921
 
 
15922
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":939
15923
 
 * 
15924
 
 *     @sync
15925
 
 *     def get_member_name(self, int member):             # <<<<<<<<<<<<<<
15926
 
 *         """(INT member) => STRING name
15927
 
 * 
15928
 
 */
15929
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID, __pyx_kp_get_member_name); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15930
 
  __Pyx_GOTREF(__pyx_1);
15931
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 938; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15932
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15933
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15934
 
  __Pyx_GIVEREF(__pyx_1);
15935
 
  __pyx_1 = 0;
15936
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 938; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15937
 
  __Pyx_GOTREF(__pyx_t_2);
15938
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
15939
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
15940
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID->tp_dict, __pyx_kp_get_member_name, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15941
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15942
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompositeID);
15943
 
 
15944
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":960
15945
 
 *         return pyname
15946
 
 * 
15947
 
 *     @sync             # <<<<<<<<<<<<<<
15948
 
 *     def get_member_index(self, char* name):
15949
 
 *         """(STRING name) => INT index
15950
 
 */
15951
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15952
 
  __Pyx_GOTREF(__pyx_1);
15953
 
 
15954
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":961
15955
 
 * 
15956
 
 *     @sync
15957
 
 *     def get_member_index(self, char* name):             # <<<<<<<<<<<<<<
15958
 
 *         """(STRING name) => INT index
15959
 
 * 
15960
 
 */
15961
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID, __pyx_kp_get_member_index); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15962
 
  __Pyx_GOTREF(__pyx_2);
15963
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15964
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
15965
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
15966
 
  __Pyx_GIVEREF(__pyx_2);
15967
 
  __pyx_2 = 0;
15968
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15969
 
  __Pyx_GOTREF(__pyx_t_3);
15970
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
15971
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
15972
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompositeID->tp_dict, __pyx_kp_get_member_index, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15973
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15974
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompositeID);
15975
 
 
15976
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":977
15977
 
 * 
15978
 
 * 
15979
 
 *     @sync             # <<<<<<<<<<<<<<
15980
 
 *     def get_member_class(self, int member):
15981
 
 *         """(INT member) => INT class
15982
 
 */
15983
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15984
 
  __Pyx_GOTREF(__pyx_2);
15985
 
 
15986
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":978
15987
 
 * 
15988
 
 *     @sync
15989
 
 *     def get_member_class(self, int member):             # <<<<<<<<<<<<<<
15990
 
 *         """(INT member) => INT class
15991
 
 * 
15992
 
 */
15993
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID, __pyx_kp_get_member_class); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15994
 
  __Pyx_GOTREF(__pyx_1);
15995
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
15996
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
15997
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
15998
 
  __Pyx_GIVEREF(__pyx_1);
15999
 
  __pyx_1 = 0;
16000
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16001
 
  __Pyx_GOTREF(__pyx_t_2);
16002
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
16003
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
16004
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, __pyx_kp_get_member_class, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16005
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16006
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompoundID);
16007
 
 
16008
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":989
16009
 
 * 
16010
 
 * 
16011
 
 *     @sync             # <<<<<<<<<<<<<<
16012
 
 *     def get_member_offset(self, int member):
16013
 
 *         """(INT member) => INT offset
16014
 
 */
16015
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16016
 
  __Pyx_GOTREF(__pyx_1);
16017
 
 
16018
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":990
16019
 
 * 
16020
 
 *     @sync
16021
 
 *     def get_member_offset(self, int member):             # <<<<<<<<<<<<<<
16022
 
 *         """(INT member) => INT offset
16023
 
 * 
16024
 
 */
16025
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID, __pyx_kp_get_member_offset); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16026
 
  __Pyx_GOTREF(__pyx_2);
16027
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16028
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
16029
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
16030
 
  __Pyx_GIVEREF(__pyx_2);
16031
 
  __pyx_2 = 0;
16032
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 989; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16033
 
  __Pyx_GOTREF(__pyx_t_3);
16034
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
16035
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
16036
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, __pyx_kp_get_member_offset, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16037
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16038
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompoundID);
16039
 
 
16040
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1000
16041
 
 *         return H5Tget_member_offset(self.id, member)
16042
 
 * 
16043
 
 *     @sync             # <<<<<<<<<<<<<<
16044
 
 *     def get_member_type(self, int member):
16045
 
 *         """(INT member) => TypeID
16046
 
 */
16047
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16048
 
  __Pyx_GOTREF(__pyx_2);
16049
 
 
16050
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1001
16051
 
 * 
16052
 
 *     @sync
16053
 
 *     def get_member_type(self, int member):             # <<<<<<<<<<<<<<
16054
 
 *         """(INT member) => TypeID
16055
 
 * 
16056
 
 */
16057
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID, __pyx_kp_get_member_type); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16058
 
  __Pyx_GOTREF(__pyx_1);
16059
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16060
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
16061
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
16062
 
  __Pyx_GIVEREF(__pyx_1);
16063
 
  __pyx_1 = 0;
16064
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16065
 
  __Pyx_GOTREF(__pyx_t_2);
16066
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
16067
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
16068
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, __pyx_kp_get_member_type, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16069
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16070
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompoundID);
16071
 
 
16072
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1011
16073
 
 *         return typewrap(H5Tget_member_type(self.id, member))
16074
 
 * 
16075
 
 *     @sync             # <<<<<<<<<<<<<<
16076
 
 *     def insert(self, char* name, size_t offset, TypeID field not None):
16077
 
 *         """(STRING name, UINT offset, TypeID field)
16078
 
 */
16079
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16080
 
  __Pyx_GOTREF(__pyx_1);
16081
 
 
16082
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1012
16083
 
 * 
16084
 
 *     @sync
16085
 
 *     def insert(self, char* name, size_t offset, TypeID field not None):             # <<<<<<<<<<<<<<
16086
 
 *         """(STRING name, UINT offset, TypeID field)
16087
 
 * 
16088
 
 */
16089
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID, __pyx_kp_insert); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16090
 
  __Pyx_GOTREF(__pyx_2);
16091
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16092
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
16093
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
16094
 
  __Pyx_GIVEREF(__pyx_2);
16095
 
  __pyx_2 = 0;
16096
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16097
 
  __Pyx_GOTREF(__pyx_t_3);
16098
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
16099
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
16100
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, __pyx_kp_insert, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16101
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16102
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompoundID);
16103
 
 
16104
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1021
16105
 
 *         H5Tinsert(self.id, name, offset, field.id)
16106
 
 * 
16107
 
 *     @sync             # <<<<<<<<<<<<<<
16108
 
 *     def pack(self):
16109
 
 *         """()
16110
 
 */
16111
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16112
 
  __Pyx_GOTREF(__pyx_2);
16113
 
 
16114
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1022
16115
 
 * 
16116
 
 *     @sync
16117
 
 *     def pack(self):             # <<<<<<<<<<<<<<
16118
 
 *         """()
16119
 
 * 
16120
 
 */
16121
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID, __pyx_kp_pack); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16122
 
  __Pyx_GOTREF(__pyx_1);
16123
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16124
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
16125
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
16126
 
  __Pyx_GIVEREF(__pyx_1);
16127
 
  __pyx_1 = 0;
16128
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1021; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16129
 
  __Pyx_GOTREF(__pyx_t_2);
16130
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
16131
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
16132
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeCompoundID->tp_dict, __pyx_kp_pack, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16133
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16134
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeCompoundID);
16135
 
 
16136
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1094
16137
 
 *             H5Tclose(basetype)
16138
 
 * 
16139
 
 *     @sync             # <<<<<<<<<<<<<<
16140
 
 *     def enum_insert(self, char* name, long long value):
16141
 
 *         """(STRING name, INT/LONG value)
16142
 
 */
16143
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16144
 
  __Pyx_GOTREF(__pyx_1);
16145
 
 
16146
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1095
16147
 
 * 
16148
 
 *     @sync
16149
 
 *     def enum_insert(self, char* name, long long value):             # <<<<<<<<<<<<<<
16150
 
 *         """(STRING name, INT/LONG value)
16151
 
 * 
16152
 
 */
16153
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID, __pyx_kp_enum_insert); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16154
 
  __Pyx_GOTREF(__pyx_2);
16155
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16156
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
16157
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
16158
 
  __Pyx_GIVEREF(__pyx_2);
16159
 
  __pyx_2 = 0;
16160
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16161
 
  __Pyx_GOTREF(__pyx_t_3);
16162
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
16163
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
16164
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID->tp_dict, __pyx_kp_enum_insert, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16165
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16166
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeEnumID);
16167
 
 
16168
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1109
16169
 
 *         H5Tenum_insert(self.id, name, &buf)
16170
 
 * 
16171
 
 *     @sync             # <<<<<<<<<<<<<<
16172
 
 *     def enum_nameof(self, long long value):
16173
 
 *         """(LONG value) => STRING name
16174
 
 */
16175
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16176
 
  __Pyx_GOTREF(__pyx_2);
16177
 
 
16178
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1110
16179
 
 * 
16180
 
 *     @sync
16181
 
 *     def enum_nameof(self, long long value):             # <<<<<<<<<<<<<<
16182
 
 *         """(LONG value) => STRING name
16183
 
 * 
16184
 
 */
16185
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID, __pyx_kp_enum_nameof); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16186
 
  __Pyx_GOTREF(__pyx_1);
16187
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16188
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
16189
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
16190
 
  __Pyx_GIVEREF(__pyx_1);
16191
 
  __pyx_1 = 0;
16192
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16193
 
  __Pyx_GOTREF(__pyx_t_2);
16194
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
16195
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
16196
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID->tp_dict, __pyx_kp_enum_nameof, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16197
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16198
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeEnumID);
16199
 
 
16200
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1128
16201
 
 *         return retstring
16202
 
 * 
16203
 
 *     @sync             # <<<<<<<<<<<<<<
16204
 
 *     def enum_valueof(self, char* name):
16205
 
 *         """(STRING name) => LONG value
16206
 
 */
16207
 
  __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16208
 
  __Pyx_GOTREF(__pyx_1);
16209
 
 
16210
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1129
16211
 
 * 
16212
 
 *     @sync
16213
 
 *     def enum_valueof(self, char* name):             # <<<<<<<<<<<<<<
16214
 
 *         """(STRING name) => LONG value
16215
 
 * 
16216
 
 */
16217
 
  __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID, __pyx_kp_enum_valueof); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16218
 
  __Pyx_GOTREF(__pyx_2);
16219
 
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16220
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_2));
16221
 
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_2);
16222
 
  __Pyx_GIVEREF(__pyx_2);
16223
 
  __pyx_2 = 0;
16224
 
  __pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16225
 
  __Pyx_GOTREF(__pyx_t_3);
16226
 
  __Pyx_DECREF(__pyx_1); __pyx_1 = 0;
16227
 
  __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
16228
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID->tp_dict, __pyx_kp_enum_valueof, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16229
 
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16230
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeEnumID);
16231
 
 
16232
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1140
16233
 
 *         return buf
16234
 
 * 
16235
 
 *     @sync             # <<<<<<<<<<<<<<
16236
 
 *     def get_member_value(self, int idx):
16237
 
 *         """(UINT index) => LONG value
16238
 
 */
16239
 
  __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_sync); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16240
 
  __Pyx_GOTREF(__pyx_2);
16241
 
 
16242
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1141
16243
 
 * 
16244
 
 *     @sync
16245
 
 *     def get_member_value(self, int idx):             # <<<<<<<<<<<<<<
16246
 
 *         """(UINT index) => LONG value
16247
 
 * 
16248
 
 */
16249
 
  __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID, __pyx_kp_get_member_value); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16250
 
  __Pyx_GOTREF(__pyx_1);
16251
 
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16252
 
  __Pyx_GOTREF(((PyObject *)__pyx_t_3));
16253
 
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_1);
16254
 
  __Pyx_GIVEREF(__pyx_1);
16255
 
  __pyx_1 = 0;
16256
 
  __pyx_t_2 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16257
 
  __Pyx_GOTREF(__pyx_t_2);
16258
 
  __Pyx_DECREF(__pyx_2); __pyx_2 = 0;
16259
 
  __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
16260
 
  if (PyDict_SetItem((PyObject *)__pyx_ptype_4h5py_3h5t_TypeEnumID->tp_dict, __pyx_kp_get_member_value, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16261
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16262
 
  PyType_Modified(__pyx_ptype_4h5py_3h5t_TypeEnumID);
16263
 
 
16264
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1186
 
15980
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
15981
  __pyx_v_4h5py_3h5t__sign_map = __pyx_t_4;
 
15982
  __pyx_t_4 = 0;
 
15983
 
 
15984
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1160
16265
15985
 * # transient and unlocked.
16266
15986
 * 
16267
15987
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}             # <<<<<<<<<<<<<<
16268
15988
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}
16269
15989
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
16270
15990
 */
16271
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16272
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
16273
 
  __pyx_t_2 = PyInt_FromLong(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16274
 
  __Pyx_GOTREF(__pyx_t_2);
16275
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16276
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16277
 
  __pyx_t_2 = PyInt_FromLong(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16278
 
  __Pyx_GOTREF(__pyx_t_2);
16279
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16280
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
15991
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15992
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
15993
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15994
  __Pyx_GOTREF(__pyx_t_6);
 
15995
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15996
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
15997
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
15998
  __Pyx_GOTREF(__pyx_t_6);
 
15999
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16000
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16281
16001
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_le));
16282
16002
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_le));
16283
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
16284
 
  __pyx_v_4h5py_3h5t__float_le = __pyx_1;
16285
 
  __pyx_1 = 0;
 
16003
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16004
  __pyx_v_4h5py_3h5t__float_le = __pyx_t_4;
 
16005
  __pyx_t_4 = 0;
16286
16006
 
16287
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1187
 
16007
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1161
16288
16008
 * 
16289
16009
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}
16290
16010
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}             # <<<<<<<<<<<<<<
16291
16011
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
16292
16012
 * 
16293
16013
 */
16294
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16295
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
16296
 
  __pyx_t_2 = PyInt_FromLong(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16297
 
  __Pyx_GOTREF(__pyx_t_2);
16298
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16299
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16300
 
  __pyx_t_2 = PyInt_FromLong(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16301
 
  __Pyx_GOTREF(__pyx_t_2);
16302
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16303
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16014
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16015
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16016
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16017
  __Pyx_GOTREF(__pyx_t_6);
 
16018
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16019
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16020
  __pyx_t_6 = PyInt_FromLong(H5T_IEEE_F64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16021
  __Pyx_GOTREF(__pyx_t_6);
 
16022
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16023
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16304
16024
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_be));
16305
16025
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_be));
16306
 
  __Pyx_GIVEREF(((PyObject *)__pyx_2));
16307
 
  __pyx_v_4h5py_3h5t__float_be = __pyx_2;
16308
 
  __pyx_2 = 0;
 
16026
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16027
  __pyx_v_4h5py_3h5t__float_be = __pyx_t_4;
 
16028
  __pyx_t_4 = 0;
16309
16029
 
16310
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1188
 
16030
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1162
16311
16031
 * cdef dict _float_le = {4: H5T_IEEE_F32LE, 8: H5T_IEEE_F64LE}
16312
16032
 * cdef dict _float_be = {4: H5T_IEEE_F32BE, 8: H5T_IEEE_F64BE}
16313
16033
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}             # <<<<<<<<<<<<<<
16314
16034
 * 
16315
16035
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16316
16036
 */
16317
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16318
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
16319
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16320
 
  __Pyx_GOTREF(__pyx_t_2);
16321
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16322
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16323
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16324
 
  __Pyx_GOTREF(__pyx_t_2);
16325
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16326
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16037
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16038
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16039
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_FLOAT); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16040
  __Pyx_GOTREF(__pyx_t_6);
 
16041
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16042
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16043
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_DOUBLE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16044
  __Pyx_GOTREF(__pyx_t_6);
 
16045
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16046
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16327
16047
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__float_nt));
16328
16048
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__float_nt));
16329
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
16330
 
  __pyx_v_4h5py_3h5t__float_nt = __pyx_1;
16331
 
  __pyx_1 = 0;
 
16049
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16050
  __pyx_v_4h5py_3h5t__float_nt = __pyx_t_4;
 
16051
  __pyx_t_4 = 0;
16332
16052
 
16333
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1190
 
16053
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1164
16334
16054
 * cdef dict _float_nt = {4: H5T_NATIVE_FLOAT, 8: H5T_NATIVE_DOUBLE}
16335
16055
 * 
16336
16056
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}             # <<<<<<<<<<<<<<
16337
16057
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}
16338
16058
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
16339
16059
 */
16340
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16341
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
16342
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I8LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16343
 
  __Pyx_GOTREF(__pyx_t_2);
16344
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16345
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16346
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I16LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16347
 
  __Pyx_GOTREF(__pyx_t_2);
16348
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16349
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16350
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I32LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16351
 
  __Pyx_GOTREF(__pyx_t_2);
16352
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16353
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16354
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I64LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16355
 
  __Pyx_GOTREF(__pyx_t_2);
16356
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16357
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16060
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16061
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16062
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16063
  __Pyx_GOTREF(__pyx_t_6);
 
16064
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16065
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16066
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16067
  __Pyx_GOTREF(__pyx_t_6);
 
16068
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16069
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16070
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16071
  __Pyx_GOTREF(__pyx_t_6);
 
16072
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16073
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16074
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16075
  __Pyx_GOTREF(__pyx_t_6);
 
16076
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16077
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16358
16078
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
16359
16079
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_le));
16360
 
  __Pyx_GIVEREF(((PyObject *)__pyx_2));
16361
 
  __pyx_v_4h5py_3h5t__int_le = __pyx_2;
16362
 
  __pyx_2 = 0;
 
16080
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16081
  __pyx_v_4h5py_3h5t__int_le = __pyx_t_4;
 
16082
  __pyx_t_4 = 0;
16363
16083
 
16364
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1191
 
16084
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1165
16365
16085
 * 
16366
16086
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16367
16087
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}             # <<<<<<<<<<<<<<
16368
16088
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
16369
16089
 * 
16370
16090
 */
16371
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16372
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
16373
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I8BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16374
 
  __Pyx_GOTREF(__pyx_t_2);
16375
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16376
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16377
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I16BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16378
 
  __Pyx_GOTREF(__pyx_t_2);
16379
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16380
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16381
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I32BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16382
 
  __Pyx_GOTREF(__pyx_t_2);
16383
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16384
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16385
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_I64BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16386
 
  __Pyx_GOTREF(__pyx_t_2);
16387
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16388
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16091
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16092
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16093
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16094
  __Pyx_GOTREF(__pyx_t_6);
 
16095
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16096
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16097
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16098
  __Pyx_GOTREF(__pyx_t_6);
 
16099
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16100
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16101
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16102
  __Pyx_GOTREF(__pyx_t_6);
 
16103
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16104
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16105
  __pyx_t_6 = PyInt_FromLong(H5T_STD_I64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16106
  __Pyx_GOTREF(__pyx_t_6);
 
16107
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16108
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16389
16109
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
16390
16110
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_be));
16391
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
16392
 
  __pyx_v_4h5py_3h5t__int_be = __pyx_1;
16393
 
  __pyx_1 = 0;
 
16111
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16112
  __pyx_v_4h5py_3h5t__int_be = __pyx_t_4;
 
16113
  __pyx_t_4 = 0;
16394
16114
 
16395
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1192
 
16115
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1166
16396
16116
 * cdef dict _int_le = {1: H5T_STD_I8LE, 2: H5T_STD_I16LE, 4: H5T_STD_I32LE, 8: H5T_STD_I64LE}
16397
16117
 * cdef dict _int_be = {1: H5T_STD_I8BE, 2: H5T_STD_I16BE, 4: H5T_STD_I32BE, 8: H5T_STD_I64BE}
16398
16118
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}             # <<<<<<<<<<<<<<
16399
16119
 * 
16400
16120
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16401
16121
 */
16402
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16403
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
16404
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16405
 
  __Pyx_GOTREF(__pyx_t_2);
16406
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16407
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16408
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16409
 
  __Pyx_GOTREF(__pyx_t_2);
16410
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16411
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16412
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16413
 
  __Pyx_GOTREF(__pyx_t_2);
16414
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16415
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16416
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16417
 
  __Pyx_GOTREF(__pyx_t_2);
16418
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16419
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16122
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16123
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16124
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16125
  __Pyx_GOTREF(__pyx_t_6);
 
16126
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16127
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16128
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16129
  __Pyx_GOTREF(__pyx_t_6);
 
16130
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16131
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16132
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16133
  __Pyx_GOTREF(__pyx_t_6);
 
16134
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16135
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16136
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_INT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16137
  __Pyx_GOTREF(__pyx_t_6);
 
16138
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16139
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16420
16140
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__int_nt));
16421
16141
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__int_nt));
16422
 
  __Pyx_GIVEREF(((PyObject *)__pyx_2));
16423
 
  __pyx_v_4h5py_3h5t__int_nt = __pyx_2;
16424
 
  __pyx_2 = 0;
 
16142
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16143
  __pyx_v_4h5py_3h5t__int_nt = __pyx_t_4;
 
16144
  __pyx_t_4 = 0;
16425
16145
 
16426
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1194
 
16146
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1168
16427
16147
 * cdef dict _int_nt = {1: H5T_NATIVE_INT8, 2: H5T_NATIVE_INT16, 4: H5T_NATIVE_INT32, 8: H5T_NATIVE_INT64}
16428
16148
 * 
16429
16149
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}             # <<<<<<<<<<<<<<
16430
16150
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}
16431
16151
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
16432
16152
 */
16433
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16434
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
16435
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U8LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16436
 
  __Pyx_GOTREF(__pyx_t_2);
16437
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16438
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16439
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U16LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16440
 
  __Pyx_GOTREF(__pyx_t_2);
16441
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16442
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16443
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U32LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16444
 
  __Pyx_GOTREF(__pyx_t_2);
16445
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16446
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16447
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U64LE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16448
 
  __Pyx_GOTREF(__pyx_t_2);
16449
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16450
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16153
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16154
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16155
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16156
  __Pyx_GOTREF(__pyx_t_6);
 
16157
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16158
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16159
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16160
  __Pyx_GOTREF(__pyx_t_6);
 
16161
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16162
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16163
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16164
  __Pyx_GOTREF(__pyx_t_6);
 
16165
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16166
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16167
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64LE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16168
  __Pyx_GOTREF(__pyx_t_6);
 
16169
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16170
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16451
16171
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
16452
16172
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_le));
16453
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
16454
 
  __pyx_v_4h5py_3h5t__uint_le = __pyx_1;
16455
 
  __pyx_1 = 0;
 
16173
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16174
  __pyx_v_4h5py_3h5t__uint_le = __pyx_t_4;
 
16175
  __pyx_t_4 = 0;
16456
16176
 
16457
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1195
 
16177
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1169
16458
16178
 * 
16459
16179
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16460
16180
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}             # <<<<<<<<<<<<<<
16461
16181
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}
16462
16182
 * 
16463
16183
 */
16464
 
  __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16465
 
  __Pyx_GOTREF(((PyObject *)__pyx_2));
16466
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U8BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16467
 
  __Pyx_GOTREF(__pyx_t_2);
16468
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16469
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16470
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U16BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16471
 
  __Pyx_GOTREF(__pyx_t_2);
16472
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16473
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16474
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U32BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16475
 
  __Pyx_GOTREF(__pyx_t_2);
16476
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16477
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16478
 
  __pyx_t_2 = PyInt_FromLong(H5T_STD_U64BE); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16479
 
  __Pyx_GOTREF(__pyx_t_2);
16480
 
  if (PyDict_SetItem(__pyx_2, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16481
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16184
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16185
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16186
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U8BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16187
  __Pyx_GOTREF(__pyx_t_6);
 
16188
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16189
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16190
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U16BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16191
  __Pyx_GOTREF(__pyx_t_6);
 
16192
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16193
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16194
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U32BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16195
  __Pyx_GOTREF(__pyx_t_6);
 
16196
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16197
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16198
  __pyx_t_6 = PyInt_FromLong(H5T_STD_U64BE); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16199
  __Pyx_GOTREF(__pyx_t_6);
 
16200
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16201
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16482
16202
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
16483
16203
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_be));
16484
 
  __Pyx_GIVEREF(((PyObject *)__pyx_2));
16485
 
  __pyx_v_4h5py_3h5t__uint_be = __pyx_2;
16486
 
  __pyx_2 = 0;
 
16204
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16205
  __pyx_v_4h5py_3h5t__uint_be = __pyx_t_4;
 
16206
  __pyx_t_4 = 0;
16487
16207
 
16488
 
  /* "/home/tachyon/pydev/h5py/h5py/h5t.pyx":1196
 
16208
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1170
16489
16209
 * cdef dict _uint_le = {1: H5T_STD_U8LE, 2: H5T_STD_U16LE, 4: H5T_STD_U32LE, 8: H5T_STD_U64LE}
16490
16210
 * cdef dict _uint_be = {1: H5T_STD_U8BE, 2: H5T_STD_U16BE, 4: H5T_STD_U32BE, 8: H5T_STD_U64BE}
16491
16211
 * cdef dict _uint_nt = {1: H5T_NATIVE_UINT8, 2: H5T_NATIVE_UINT16, 4: H5T_NATIVE_UINT32, 8: H5T_NATIVE_UINT64}             # <<<<<<<<<<<<<<
16492
16212
 * 
16493
16213
 * cdef TypeFloatID _c_float(dtype dt):
16494
16214
 */
16495
 
  __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16496
 
  __Pyx_GOTREF(((PyObject *)__pyx_1));
16497
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16498
 
  __Pyx_GOTREF(__pyx_t_2);
16499
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16500
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16501
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16502
 
  __Pyx_GOTREF(__pyx_t_2);
16503
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16504
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16505
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16506
 
  __Pyx_GOTREF(__pyx_t_2);
16507
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16508
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16509
 
  __pyx_t_2 = PyInt_FromLong(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16510
 
  __Pyx_GOTREF(__pyx_t_2);
16511
 
  if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
16512
 
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
 
16215
  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16216
  __Pyx_GOTREF(((PyObject *)__pyx_t_4));
 
16217
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT8); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16218
  __Pyx_GOTREF(__pyx_t_6);
 
16219
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_1, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16220
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16221
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT16); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16222
  __Pyx_GOTREF(__pyx_t_6);
 
16223
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16224
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16225
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT32); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16226
  __Pyx_GOTREF(__pyx_t_6);
 
16227
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_4, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16228
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
16229
  __pyx_t_6 = PyInt_FromLong(H5T_NATIVE_UINT64); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16230
  __Pyx_GOTREF(__pyx_t_6);
 
16231
  if (PyDict_SetItem(__pyx_t_4, __pyx_int_8, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16232
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
16513
16233
  __Pyx_GOTREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt));
16514
16234
  __Pyx_DECREF(((PyObject *)__pyx_v_4h5py_3h5t__uint_nt));
16515
 
  __Pyx_GIVEREF(((PyObject *)__pyx_1));
16516
 
  __pyx_v_4h5py_3h5t__uint_nt = __pyx_1;
16517
 
  __pyx_1 = 0;
16518
 
 
16519
 
  /* "/home/tachyon/pydev/h5py/h5py/numpy.pxd":1
 
16235
  __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
 
16236
  __pyx_v_4h5py_3h5t__uint_nt = __pyx_t_4;
 
16237
  __pyx_t_4 = 0;
 
16238
 
 
16239
  /* "/home/tachyon/slave/unix-release/build/h5py/h5t.pyx":1556
 
16240
 * # Deprecated functions
 
16241
 * 
 
16242
 * import warnings             # <<<<<<<<<<<<<<
 
16243
 * 
 
16244
 * cpdef dtype py_new_enum(object dt_in, dict enum_vals):
 
16245
 */
 
16246
  __pyx_t_4 = __Pyx_Import(((PyObject *)__pyx_n_s__warnings), 0); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16247
  __Pyx_GOTREF(__pyx_t_4);
 
16248
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s__warnings, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 
16249
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
 
16250
 
 
16251
  /* "/home/tachyon/slave/unix-release/build/h5py/utils.pxd":1
16520
16252
 * #+             # <<<<<<<<<<<<<<
16521
16253
 * #
16522
16254
 * # This file is part of h5py, a low-level Python interface to the HDF5 library.
16523
16255
 */
16524
16256
  goto __pyx_L0;
16525
16257
  __pyx_L1_error:;
16526
 
  __Pyx_XDECREF(__pyx_1);
16527
 
  __Pyx_XDECREF(__pyx_2);
 
16258
  __Pyx_XDECREF(__pyx_t_1);
16528
16259
  __Pyx_XDECREF(__pyx_t_2);
16529
16260
  __Pyx_XDECREF(__pyx_t_3);
16530
 
  __Pyx_AddTraceback("h5py.h5t");
16531
 
  Py_DECREF(__pyx_m); __pyx_m = 0;
 
16261
  __Pyx_XDECREF(__pyx_t_4);
 
16262
  __Pyx_XDECREF(__pyx_t_6);
 
16263
  if (__pyx_m) {
 
16264
    __Pyx_AddTraceback("init h5py.h5t");
 
16265
    Py_DECREF(__pyx_m); __pyx_m = 0;
 
16266
  } else if (!PyErr_Occurred()) {
 
16267
    PyErr_SetString(PyExc_ImportError, "init h5py.h5t");
 
16268
  }
16532
16269
  __pyx_L0:;
16533
 
  __Pyx_FinishRefcountContext();
 
16270
  __Pyx_RefNannyFinishContext();
16534
16271
  #if PY_MAJOR_VERSION < 3
16535
16272
  return;
16536
16273
  #else
16543
16280
  "h5.pxd",
16544
16281
  "h5p.pxd",
16545
16282
  "numpy.pxd",
 
16283
  "h5r.pxd",
16546
16284
};
16547
16285
 
16548
16286
/* Runtime support code */
16551
16289
  __pyx_f = __pyx_filenames;
16552
16290
}
16553
16291
 
16554
 
static int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
16555
 
    if (!type) {
 
16292
static INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
 
16293
    if (unlikely(!type)) {
16556
16294
        PyErr_Format(PyExc_SystemError, "Missing type object");
16557
16295
        return 0;
16558
16296
    }
16559
 
    if (obj == Py_None || PyObject_TypeCheck(obj, type))
 
16297
    if (likely(PyObject_TypeCheck(obj, type)))
16560
16298
        return 1;
16561
 
    PyErr_Format(PyExc_TypeError, "Cannot convert %s to %s",
16562
 
        Py_TYPE(obj)->tp_name, type->tp_name);
 
16299
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
 
16300
                 Py_TYPE(obj)->tp_name, type->tp_name);
16563
16301
    return 0;
16564
16302
}
16565
16303
 
16689
16427
    PyObject *tmp_type, *tmp_value, *tmp_tb;
16690
16428
    PyThreadState *tstate = PyThreadState_GET();
16691
16429
 
16692
 
#if PY_MAJOR_VERSION >= 3
16693
 
    /* Note: this is a temporary work-around to prevent crashes in Python 3.0 */
16694
 
    if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
16695
 
        tmp_type = tstate->exc_type;
16696
 
        tmp_value = tstate->exc_value;
16697
 
        tmp_tb = tstate->exc_traceback;
16698
 
        PyErr_NormalizeException(&type, &value, &tb);
16699
 
        PyErr_NormalizeException(&tmp_type, &tmp_value, &tmp_tb);
16700
 
        tstate->exc_type = 0;
16701
 
        tstate->exc_value = 0;
16702
 
        tstate->exc_traceback = 0;
16703
 
        PyException_SetContext(value, tmp_value);
16704
 
        Py_DECREF(tmp_type);
16705
 
        Py_XDECREF(tmp_tb);
16706
 
    }
16707
 
#endif
16708
 
 
16709
16430
    tmp_type = tstate->curexc_type;
16710
16431
    tmp_value = tstate->curexc_value;
16711
16432
    tmp_tb = tstate->curexc_traceback;
16730
16451
 
16731
16452
 
16732
16453
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
 
16454
    PyObject *local_type, *local_value, *local_tb;
16733
16455
    PyObject *tmp_type, *tmp_value, *tmp_tb;
16734
16456
    PyThreadState *tstate = PyThreadState_GET();
16735
 
    *type = tstate->curexc_type;
16736
 
    *value = tstate->curexc_value;
16737
 
    *tb = tstate->curexc_traceback;
 
16457
    local_type = tstate->curexc_type;
 
16458
    local_value = tstate->curexc_value;
 
16459
    local_tb = tstate->curexc_traceback;
16738
16460
    tstate->curexc_type = 0;
16739
16461
    tstate->curexc_value = 0;
16740
16462
    tstate->curexc_traceback = 0;
16741
 
    PyErr_NormalizeException(type, value, tb);
16742
 
    if (PyErr_Occurred())
16743
 
        goto bad;
16744
 
    Py_INCREF(*type);
16745
 
    Py_INCREF(*value);
16746
 
    Py_INCREF(*tb);
 
16463
    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
 
16464
    if (unlikely(tstate->curexc_type))
 
16465
        goto bad;
 
16466
    #if PY_MAJOR_VERSION >= 3
 
16467
    if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
 
16468
        goto bad;
 
16469
    #endif
 
16470
    *type = local_type;
 
16471
    *value = local_value;
 
16472
    *tb = local_tb;
 
16473
    Py_INCREF(local_type);
 
16474
    Py_INCREF(local_value);
 
16475
    Py_INCREF(local_tb);
16747
16476
    tmp_type = tstate->exc_type;
16748
16477
    tmp_value = tstate->exc_value;
16749
16478
    tmp_tb = tstate->exc_traceback;
16750
 
    tstate->exc_type = *type;
16751
 
    tstate->exc_value = *value;
16752
 
    tstate->exc_traceback = *tb;
 
16479
    tstate->exc_type = local_type;
 
16480
    tstate->exc_value = local_value;
 
16481
    tstate->exc_traceback = local_tb;
16753
16482
    /* Make sure tstate is in a consistent state when we XDECREF
16754
 
    these objects (XDECREF may run arbitrary code). */
 
16483
       these objects (XDECREF may run arbitrary code). */
16755
16484
    Py_XDECREF(tmp_type);
16756
16485
    Py_XDECREF(tmp_value);
16757
16486
    Py_XDECREF(tmp_tb);
16758
16487
    return 0;
16759
16488
bad:
16760
 
    Py_XDECREF(*type);
16761
 
    Py_XDECREF(*value);
16762
 
    Py_XDECREF(*tb);
 
16489
    *type = 0;
 
16490
    *value = 0;
 
16491
    *tb = 0;
 
16492
    Py_XDECREF(local_type);
 
16493
    Py_XDECREF(local_value);
 
16494
    Py_XDECREF(local_tb);
16763
16495
    return -1;
16764
16496
}
16765
16497
 
16766
16498
 
16767
16499
 
 
16500
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
 
16501
    PyErr_Format(PyExc_ValueError,
 
16502
        #if PY_VERSION_HEX < 0x02050000
 
16503
                 "need more than %d value%s to unpack", (int)index,
 
16504
        #else
 
16505
                 "need more than %zd value%s to unpack", index,
 
16506
        #endif
 
16507
                 (index == 1) ? "" : "s");
 
16508
}
 
16509
 
 
16510
static INLINE void __Pyx_RaiseTooManyValuesError(void) {
 
16511
    PyErr_SetString(PyExc_ValueError, "too many values to unpack");
 
16512
}
 
16513
 
 
16514
static PyObject *__Pyx_UnpackItem(PyObject *iter, Py_ssize_t index) {
 
16515
    PyObject *item;
 
16516
    if (!(item = PyIter_Next(iter))) {
 
16517
        if (!PyErr_Occurred()) {
 
16518
            __Pyx_RaiseNeedMoreValuesError(index);
 
16519
        }
 
16520
    }
 
16521
    return item;
 
16522
}
 
16523
 
 
16524
static int __Pyx_EndUnpack(PyObject *iter) {
 
16525
    PyObject *item;
 
16526
    if ((item = PyIter_Next(iter))) {
 
16527
        Py_DECREF(item);
 
16528
        __Pyx_RaiseTooManyValuesError();
 
16529
        return -1;
 
16530
    }
 
16531
    else if (!PyErr_Occurred())
 
16532
        return 0;
 
16533
    else
 
16534
        return -1;
 
16535
}
 
16536
 
 
16537
static INLINE int __Pyx_CheckKeywordStrings(
 
16538
    PyObject *kwdict,
 
16539
    const char* function_name,
 
16540
    int kw_allowed)
 
16541
{
 
16542
    PyObject* key = 0;
 
16543
    Py_ssize_t pos = 0;
 
16544
    while (PyDict_Next(kwdict, &pos, &key, 0)) {
 
16545
        #if PY_MAJOR_VERSION < 3
 
16546
        if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
 
16547
        #else
 
16548
        if (unlikely(!PyUnicode_CheckExact(key)) && unlikely(!PyUnicode_Check(key)))
 
16549
        #endif
 
16550
            goto invalid_keyword_type;
 
16551
    }
 
16552
    if ((!kw_allowed) && unlikely(key))
 
16553
        goto invalid_keyword;
 
16554
    return 1;
 
16555
invalid_keyword_type:
 
16556
    PyErr_Format(PyExc_TypeError,
 
16557
        "%s() keywords must be strings", function_name);
 
16558
    return 0;
 
16559
invalid_keyword:
 
16560
    PyErr_Format(PyExc_TypeError,
 
16561
    #if PY_MAJOR_VERSION < 3
 
16562
        "%s() got an unexpected keyword argument '%s'",
 
16563
        function_name, PyString_AsString(key));
 
16564
    #else
 
16565
        "%s() got an unexpected keyword argument '%U'",
 
16566
        function_name, key);
 
16567
    #endif
 
16568
    return 0;
 
16569
}
 
16570
 
16768
16571
static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
16769
16572
    const char *name, int exact)
16770
16573
{
16850
16653
    return result;
16851
16654
}
16852
16655
 
 
16656
static INLINE hid_t __Pyx_PyInt_from_py_hid_t(PyObject* x) {
 
16657
    const hid_t neg_one = (hid_t)-1, const_zero = 0;
 
16658
    const int is_unsigned = neg_one > const_zero;
 
16659
    if (sizeof(hid_t) == sizeof(char)) {
 
16660
        if (is_unsigned)
 
16661
            return (hid_t)__Pyx_PyInt_AsUnsignedChar(x);
 
16662
        else
 
16663
            return (hid_t)__Pyx_PyInt_AsSignedChar(x);
 
16664
    } else if (sizeof(hid_t) == sizeof(short)) {
 
16665
        if (is_unsigned)
 
16666
            return (hid_t)__Pyx_PyInt_AsUnsignedShort(x);
 
16667
        else
 
16668
            return (hid_t)__Pyx_PyInt_AsSignedShort(x);
 
16669
    } else if (sizeof(hid_t) == sizeof(int)) {
 
16670
        if (is_unsigned)
 
16671
            return (hid_t)__Pyx_PyInt_AsUnsignedInt(x);
 
16672
        else
 
16673
            return (hid_t)__Pyx_PyInt_AsSignedInt(x);
 
16674
    } else if (sizeof(hid_t) == sizeof(long)) {
 
16675
        if (is_unsigned)
 
16676
            return (hid_t)__Pyx_PyInt_AsUnsignedLong(x);
 
16677
        else
 
16678
            return (hid_t)__Pyx_PyInt_AsSignedLong(x);
 
16679
    } else if (sizeof(hid_t) == sizeof(PY_LONG_LONG)) {
 
16680
        if (is_unsigned)
 
16681
            return (hid_t)__Pyx_PyInt_AsUnsignedLongLong(x);
 
16682
        else
 
16683
            return (hid_t)__Pyx_PyInt_AsSignedLongLong(x);
 
16684
#if 0
 
16685
    } else if (sizeof(hid_t) > sizeof(short) &&
 
16686
               sizeof(hid_t) < sizeof(int)) { /*  __int32 ILP64 ? */
 
16687
        if (is_unsigned)
 
16688
            return (hid_t)__Pyx_PyInt_AsUnsignedInt(x);
 
16689
        else
 
16690
            return (hid_t)__Pyx_PyInt_AsSignedInt(x);
 
16691
#endif
 
16692
    }
 
16693
    PyErr_SetString(PyExc_TypeError, "hid_t");
 
16694
    return (hid_t)-1;
 
16695
}
 
16696
 
 
16697
static INLINE PyObject *__Pyx_PyInt_to_py_hid_t(hid_t val) {
 
16698
    const hid_t neg_one = (hid_t)-1, const_zero = 0;
 
16699
    const int is_unsigned = neg_one > const_zero;
 
16700
    if (sizeof(hid_t) <  sizeof(long)) {
 
16701
        return PyInt_FromLong((long)val);
 
16702
    } else if (sizeof(hid_t) == sizeof(long)) {
 
16703
        if (is_unsigned)
 
16704
            return PyLong_FromUnsignedLong((unsigned long)val);
 
16705
        else
 
16706
            return PyInt_FromLong((long)val);
 
16707
    } else { /* (sizeof(hid_t) > sizeof(long)) */
 
16708
        if (is_unsigned)
 
16709
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
 
16710
        else
 
16711
            return PyLong_FromLongLong((PY_LONG_LONG)val);
 
16712
    }
 
16713
}
 
16714
 
 
16715
#if PY_MAJOR_VERSION < 3
16853
16716
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb) {
16854
16717
    Py_XINCREF(type);
16855
16718
    Py_XINCREF(value);
16905
16768
            }
16906
16769
        #endif
16907
16770
    }
 
16771
 
16908
16772
    __Pyx_ErrRestore(type, value, tb);
16909
16773
    return;
16910
16774
raise_error:
16914
16778
    return;
16915
16779
}
16916
16780
 
16917
 
static INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
16918
 
    PyErr_Format(PyExc_ValueError,
16919
 
        #if PY_VERSION_HEX < 0x02050000
16920
 
                 "need more than %d value%s to unpack", (int)index,
16921
 
        #else
16922
 
                 "need more than %zd value%s to unpack", index,
16923
 
        #endif
16924
 
                 (index == 1) ? "" : "s");
16925
 
}
16926
 
 
16927
 
static INLINE void __Pyx_RaiseTooManyValuesError(void) {
16928
 
    PyErr_SetString(PyExc_ValueError, "too many values to unpack");
16929
 
}
16930
 
 
16931
 
static PyObject *__Pyx_UnpackItem(PyObject *iter, Py_ssize_t index) {
16932
 
    PyObject *item;
16933
 
    if (!(item = PyIter_Next(iter))) {
16934
 
        if (!PyErr_Occurred()) {
16935
 
            __Pyx_RaiseNeedMoreValuesError(index);
16936
 
        }
16937
 
    }
16938
 
    return item;
16939
 
}
16940
 
 
16941
 
static int __Pyx_EndUnpack(PyObject *iter) {
16942
 
    PyObject *item;
16943
 
    if ((item = PyIter_Next(iter))) {
16944
 
        Py_DECREF(item);
16945
 
        __Pyx_RaiseTooManyValuesError();
16946
 
        return -1;
16947
 
    }
16948
 
    else if (!PyErr_Occurred())
16949
 
        return 0;
16950
 
    else
16951
 
        return -1;
16952
 
}
16953
 
 
16954
 
static INLINE int __Pyx_StrEq(const char *s1, const char *s2) {
16955
 
     while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
16956
 
     return *s1 == *s2;
 
16781
#else /* Python 3+ */
 
16782
 
 
16783
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb) {
 
16784
    if (tb == Py_None) {
 
16785
        tb = 0;
 
16786
    } else if (tb && !PyTraceBack_Check(tb)) {
 
16787
        PyErr_SetString(PyExc_TypeError,
 
16788
            "raise: arg 3 must be a traceback or None");
 
16789
        goto bad;
 
16790
    }
 
16791
    if (value == Py_None)
 
16792
        value = 0;
 
16793
 
 
16794
    if (PyExceptionInstance_Check(type)) {
 
16795
        if (value) {
 
16796
            PyErr_SetString(PyExc_TypeError,
 
16797
                "instance exception may not have a separate value");
 
16798
            goto bad;
 
16799
        }
 
16800
        value = type;
 
16801
        type = (PyObject*) Py_TYPE(value);
 
16802
    } else if (!PyExceptionClass_Check(type)) {
 
16803
        PyErr_SetString(PyExc_TypeError,
 
16804
            "raise: exception class must be a subclass of BaseException");
 
16805
        goto bad;
 
16806
    }
 
16807
 
 
16808
    PyErr_SetObject(type, value);
 
16809
 
 
16810
    if (tb) {
 
16811
        PyThreadState *tstate = PyThreadState_GET();
 
16812
        PyObject* tmp_tb = tstate->curexc_traceback;
 
16813
        if (tb != tmp_tb) {
 
16814
            Py_INCREF(tb);
 
16815
            tstate->curexc_traceback = tb;
 
16816
            Py_XDECREF(tmp_tb);
 
16817
        }
 
16818
    }
 
16819
 
 
16820
bad:
 
16821
    return;
 
16822
}
 
16823
#endif
 
16824
 
 
16825
static INLINE PyObject *__Pyx_PyInt_to_py_hsize_t(hsize_t val) {
 
16826
    const hsize_t neg_one = (hsize_t)-1, const_zero = 0;
 
16827
    const int is_unsigned = neg_one > const_zero;
 
16828
    if (sizeof(hsize_t) <  sizeof(long)) {
 
16829
        return PyInt_FromLong((long)val);
 
16830
    } else if (sizeof(hsize_t) == sizeof(long)) {
 
16831
        if (is_unsigned)
 
16832
            return PyLong_FromUnsignedLong((unsigned long)val);
 
16833
        else
 
16834
            return PyInt_FromLong((long)val);
 
16835
    } else { /* (sizeof(hsize_t) > sizeof(long)) */
 
16836
        if (is_unsigned)
 
16837
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
 
16838
        else
 
16839
            return PyLong_FromLongLong((PY_LONG_LONG)val);
 
16840
    }
16957
16841
}
16958
16842
 
16959
16843
static INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
 
16844
    const unsigned char neg_one = (unsigned char)-1, const_zero = 0;
 
16845
    const int is_unsigned = neg_one > const_zero;
16960
16846
    if (sizeof(unsigned char) < sizeof(long)) {
16961
16847
        long val = __Pyx_PyInt_AsLong(x);
16962
16848
        if (unlikely(val != (long)(unsigned char)val)) {
16963
 
            if (unlikely(val == -1 && PyErr_Occurred()))
16964
 
                return (unsigned char)-1;
16965
 
            if (unlikely(val < 0)) {
 
16849
            if (!unlikely(val == -1 && PyErr_Occurred())) {
16966
16850
                PyErr_SetString(PyExc_OverflowError,
16967
 
                                "can't convert negative value to unsigned char");
16968
 
                return (unsigned char)-1;
 
16851
                    (is_unsigned && unlikely(val < 0)) ?
 
16852
                    "can't convert negative value to unsigned char" :
 
16853
                    "value too large to convert to unsigned char");
16969
16854
            }
16970
 
            PyErr_SetString(PyExc_OverflowError,
16971
 
                           "value too large to convert to unsigned char");
16972
16855
            return (unsigned char)-1;
16973
16856
        }
16974
16857
        return (unsigned char)val;
16977
16860
}
16978
16861
 
16979
16862
static INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
 
16863
    const unsigned short neg_one = (unsigned short)-1, const_zero = 0;
 
16864
    const int is_unsigned = neg_one > const_zero;
16980
16865
    if (sizeof(unsigned short) < sizeof(long)) {
16981
16866
        long val = __Pyx_PyInt_AsLong(x);
16982
16867
        if (unlikely(val != (long)(unsigned short)val)) {
16983
 
            if (unlikely(val == -1 && PyErr_Occurred()))
16984
 
                return (unsigned short)-1;
16985
 
            if (unlikely(val < 0)) {
 
16868
            if (!unlikely(val == -1 && PyErr_Occurred())) {
16986
16869
                PyErr_SetString(PyExc_OverflowError,
16987
 
                                "can't convert negative value to unsigned short");
16988
 
                return (unsigned short)-1;
 
16870
                    (is_unsigned && unlikely(val < 0)) ?
 
16871
                    "can't convert negative value to unsigned short" :
 
16872
                    "value too large to convert to unsigned short");
16989
16873
            }
16990
 
            PyErr_SetString(PyExc_OverflowError,
16991
 
                           "value too large to convert to unsigned short");
16992
16874
            return (unsigned short)-1;
16993
16875
        }
16994
16876
        return (unsigned short)val;
16997
16879
}
16998
16880
 
16999
16881
static INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
 
16882
    const unsigned int neg_one = (unsigned int)-1, const_zero = 0;
 
16883
    const int is_unsigned = neg_one > const_zero;
17000
16884
    if (sizeof(unsigned int) < sizeof(long)) {
17001
16885
        long val = __Pyx_PyInt_AsLong(x);
17002
16886
        if (unlikely(val != (long)(unsigned int)val)) {
17003
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17004
 
                return (unsigned int)-1;
17005
 
            if (unlikely(val < 0)) {
 
16887
            if (!unlikely(val == -1 && PyErr_Occurred())) {
17006
16888
                PyErr_SetString(PyExc_OverflowError,
17007
 
                                "can't convert negative value to unsigned int");
17008
 
                return (unsigned int)-1;
 
16889
                    (is_unsigned && unlikely(val < 0)) ?
 
16890
                    "can't convert negative value to unsigned int" :
 
16891
                    "value too large to convert to unsigned int");
17009
16892
            }
17010
 
            PyErr_SetString(PyExc_OverflowError,
17011
 
                           "value too large to convert to unsigned int");
17012
16893
            return (unsigned int)-1;
17013
16894
        }
17014
16895
        return (unsigned int)val;
17017
16898
}
17018
16899
 
17019
16900
static INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
 
16901
    const char neg_one = (char)-1, const_zero = 0;
 
16902
    const int is_unsigned = neg_one > const_zero;
17020
16903
    if (sizeof(char) < sizeof(long)) {
17021
16904
        long val = __Pyx_PyInt_AsLong(x);
17022
16905
        if (unlikely(val != (long)(char)val)) {
17023
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17024
 
                return (char)-1;
17025
 
            PyErr_SetString(PyExc_OverflowError,
17026
 
                           "value too large to convert to char");
 
16906
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
16907
                PyErr_SetString(PyExc_OverflowError,
 
16908
                    (is_unsigned && unlikely(val < 0)) ?
 
16909
                    "can't convert negative value to char" :
 
16910
                    "value too large to convert to char");
 
16911
            }
17027
16912
            return (char)-1;
17028
16913
        }
17029
16914
        return (char)val;
17032
16917
}
17033
16918
 
17034
16919
static INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
 
16920
    const short neg_one = (short)-1, const_zero = 0;
 
16921
    const int is_unsigned = neg_one > const_zero;
17035
16922
    if (sizeof(short) < sizeof(long)) {
17036
16923
        long val = __Pyx_PyInt_AsLong(x);
17037
16924
        if (unlikely(val != (long)(short)val)) {
17038
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17039
 
                return (short)-1;
17040
 
            PyErr_SetString(PyExc_OverflowError,
17041
 
                           "value too large to convert to short");
 
16925
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
16926
                PyErr_SetString(PyExc_OverflowError,
 
16927
                    (is_unsigned && unlikely(val < 0)) ?
 
16928
                    "can't convert negative value to short" :
 
16929
                    "value too large to convert to short");
 
16930
            }
17042
16931
            return (short)-1;
17043
16932
        }
17044
16933
        return (short)val;
17047
16936
}
17048
16937
 
17049
16938
static INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
 
16939
    const int neg_one = (int)-1, const_zero = 0;
 
16940
    const int is_unsigned = neg_one > const_zero;
17050
16941
    if (sizeof(int) < sizeof(long)) {
17051
16942
        long val = __Pyx_PyInt_AsLong(x);
17052
16943
        if (unlikely(val != (long)(int)val)) {
17053
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17054
 
                return (int)-1;
17055
 
            PyErr_SetString(PyExc_OverflowError,
17056
 
                           "value too large to convert to int");
 
16944
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
16945
                PyErr_SetString(PyExc_OverflowError,
 
16946
                    (is_unsigned && unlikely(val < 0)) ?
 
16947
                    "can't convert negative value to int" :
 
16948
                    "value too large to convert to int");
 
16949
            }
17057
16950
            return (int)-1;
17058
16951
        }
17059
16952
        return (int)val;
17062
16955
}
17063
16956
 
17064
16957
static INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
 
16958
    const signed char neg_one = (signed char)-1, const_zero = 0;
 
16959
    const int is_unsigned = neg_one > const_zero;
17065
16960
    if (sizeof(signed char) < sizeof(long)) {
17066
16961
        long val = __Pyx_PyInt_AsLong(x);
17067
16962
        if (unlikely(val != (long)(signed char)val)) {
17068
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17069
 
                return (signed char)-1;
17070
 
            PyErr_SetString(PyExc_OverflowError,
17071
 
                           "value too large to convert to signed char");
 
16963
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
16964
                PyErr_SetString(PyExc_OverflowError,
 
16965
                    (is_unsigned && unlikely(val < 0)) ?
 
16966
                    "can't convert negative value to signed char" :
 
16967
                    "value too large to convert to signed char");
 
16968
            }
17072
16969
            return (signed char)-1;
17073
16970
        }
17074
16971
        return (signed char)val;
17077
16974
}
17078
16975
 
17079
16976
static INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
 
16977
    const signed short neg_one = (signed short)-1, const_zero = 0;
 
16978
    const int is_unsigned = neg_one > const_zero;
17080
16979
    if (sizeof(signed short) < sizeof(long)) {
17081
16980
        long val = __Pyx_PyInt_AsLong(x);
17082
16981
        if (unlikely(val != (long)(signed short)val)) {
17083
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17084
 
                return (signed short)-1;
17085
 
            PyErr_SetString(PyExc_OverflowError,
17086
 
                           "value too large to convert to signed short");
 
16982
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
16983
                PyErr_SetString(PyExc_OverflowError,
 
16984
                    (is_unsigned && unlikely(val < 0)) ?
 
16985
                    "can't convert negative value to signed short" :
 
16986
                    "value too large to convert to signed short");
 
16987
            }
17087
16988
            return (signed short)-1;
17088
16989
        }
17089
16990
        return (signed short)val;
17092
16993
}
17093
16994
 
17094
16995
static INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
 
16996
    const signed int neg_one = (signed int)-1, const_zero = 0;
 
16997
    const int is_unsigned = neg_one > const_zero;
17095
16998
    if (sizeof(signed int) < sizeof(long)) {
17096
16999
        long val = __Pyx_PyInt_AsLong(x);
17097
17000
        if (unlikely(val != (long)(signed int)val)) {
17098
 
            if (unlikely(val == -1 && PyErr_Occurred()))
17099
 
                return (signed int)-1;
17100
 
            PyErr_SetString(PyExc_OverflowError,
17101
 
                           "value too large to convert to signed int");
 
17001
            if (!unlikely(val == -1 && PyErr_Occurred())) {
 
17002
                PyErr_SetString(PyExc_OverflowError,
 
17003
                    (is_unsigned && unlikely(val < 0)) ?
 
17004
                    "can't convert negative value to signed int" :
 
17005
                    "value too large to convert to signed int");
 
17006
            }
17102
17007
            return (signed int)-1;
17103
17008
        }
17104
17009
        return (signed int)val;
17107
17012
}
17108
17013
 
17109
17014
static INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
 
17015
    const unsigned long neg_one = (unsigned long)-1, const_zero = 0;
 
17016
    const int is_unsigned = neg_one > const_zero;
17110
17017
#if PY_VERSION_HEX < 0x03000000
17111
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17018
    if (likely(PyInt_Check(x))) {
17112
17019
        long val = PyInt_AS_LONG(x);
17113
 
        if (unlikely(val < 0)) {
 
17020
        if (is_unsigned && unlikely(val < 0)) {
17114
17021
            PyErr_SetString(PyExc_OverflowError,
17115
17022
                            "can't convert negative value to unsigned long");
17116
17023
            return (unsigned long)-1;
17118
17025
        return (unsigned long)val;
17119
17026
    } else
17120
17027
#endif
17121
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17122
 
        if (unlikely(Py_SIZE(x) < 0)) {
17123
 
            PyErr_SetString(PyExc_OverflowError,
17124
 
                            "can't convert negative value to unsigned long");
17125
 
            return (unsigned long)-1;
 
17028
    if (likely(PyLong_Check(x))) {
 
17029
        if (is_unsigned) {
 
17030
            if (unlikely(Py_SIZE(x) < 0)) {
 
17031
                PyErr_SetString(PyExc_OverflowError,
 
17032
                                "can't convert negative value to unsigned long");
 
17033
                return (unsigned long)-1;
 
17034
            }
 
17035
            return PyLong_AsUnsignedLong(x);
 
17036
        } else {
 
17037
            return PyLong_AsLong(x);
17126
17038
        }
17127
 
        return PyLong_AsUnsignedLong(x);
17128
17039
    } else {
17129
17040
        unsigned long val;
17130
17041
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17136
17047
}
17137
17048
 
17138
17049
static INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
 
17050
    const unsigned PY_LONG_LONG neg_one = (unsigned PY_LONG_LONG)-1, const_zero = 0;
 
17051
    const int is_unsigned = neg_one > const_zero;
17139
17052
#if PY_VERSION_HEX < 0x03000000
17140
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17053
    if (likely(PyInt_Check(x))) {
17141
17054
        long val = PyInt_AS_LONG(x);
17142
 
        if (unlikely(val < 0)) {
 
17055
        if (is_unsigned && unlikely(val < 0)) {
17143
17056
            PyErr_SetString(PyExc_OverflowError,
17144
17057
                            "can't convert negative value to unsigned PY_LONG_LONG");
17145
17058
            return (unsigned PY_LONG_LONG)-1;
17147
17060
        return (unsigned PY_LONG_LONG)val;
17148
17061
    } else
17149
17062
#endif
17150
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17151
 
        if (unlikely(Py_SIZE(x) < 0)) {
17152
 
            PyErr_SetString(PyExc_OverflowError,
17153
 
                            "can't convert negative value to unsigned PY_LONG_LONG");
17154
 
            return (unsigned PY_LONG_LONG)-1;
 
17063
    if (likely(PyLong_Check(x))) {
 
17064
        if (is_unsigned) {
 
17065
            if (unlikely(Py_SIZE(x) < 0)) {
 
17066
                PyErr_SetString(PyExc_OverflowError,
 
17067
                                "can't convert negative value to unsigned PY_LONG_LONG");
 
17068
                return (unsigned PY_LONG_LONG)-1;
 
17069
            }
 
17070
            return PyLong_AsUnsignedLongLong(x);
 
17071
        } else {
 
17072
            return PyLong_AsLongLong(x);
17155
17073
        }
17156
 
        return PyLong_AsUnsignedLongLong(x);
17157
17074
    } else {
17158
17075
        unsigned PY_LONG_LONG val;
17159
17076
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17165
17082
}
17166
17083
 
17167
17084
static INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
 
17085
    const long neg_one = (long)-1, const_zero = 0;
 
17086
    const int is_unsigned = neg_one > const_zero;
17168
17087
#if PY_VERSION_HEX < 0x03000000
17169
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17088
    if (likely(PyInt_Check(x))) {
17170
17089
        long val = PyInt_AS_LONG(x);
 
17090
        if (is_unsigned && unlikely(val < 0)) {
 
17091
            PyErr_SetString(PyExc_OverflowError,
 
17092
                            "can't convert negative value to long");
 
17093
            return (long)-1;
 
17094
        }
17171
17095
        return (long)val;
17172
17096
    } else
17173
17097
#endif
17174
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17175
 
        return PyLong_AsLong(x);
 
17098
    if (likely(PyLong_Check(x))) {
 
17099
        if (is_unsigned) {
 
17100
            if (unlikely(Py_SIZE(x) < 0)) {
 
17101
                PyErr_SetString(PyExc_OverflowError,
 
17102
                                "can't convert negative value to long");
 
17103
                return (long)-1;
 
17104
            }
 
17105
            return PyLong_AsUnsignedLong(x);
 
17106
        } else {
 
17107
            return PyLong_AsLong(x);
 
17108
        }
17176
17109
    } else {
17177
17110
        long val;
17178
17111
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17184
17117
}
17185
17118
 
17186
17119
static INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
 
17120
    const PY_LONG_LONG neg_one = (PY_LONG_LONG)-1, const_zero = 0;
 
17121
    const int is_unsigned = neg_one > const_zero;
17187
17122
#if PY_VERSION_HEX < 0x03000000
17188
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17123
    if (likely(PyInt_Check(x))) {
17189
17124
        long val = PyInt_AS_LONG(x);
 
17125
        if (is_unsigned && unlikely(val < 0)) {
 
17126
            PyErr_SetString(PyExc_OverflowError,
 
17127
                            "can't convert negative value to PY_LONG_LONG");
 
17128
            return (PY_LONG_LONG)-1;
 
17129
        }
17190
17130
        return (PY_LONG_LONG)val;
17191
17131
    } else
17192
17132
#endif
17193
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17194
 
        return PyLong_AsLongLong(x);
 
17133
    if (likely(PyLong_Check(x))) {
 
17134
        if (is_unsigned) {
 
17135
            if (unlikely(Py_SIZE(x) < 0)) {
 
17136
                PyErr_SetString(PyExc_OverflowError,
 
17137
                                "can't convert negative value to PY_LONG_LONG");
 
17138
                return (PY_LONG_LONG)-1;
 
17139
            }
 
17140
            return PyLong_AsUnsignedLongLong(x);
 
17141
        } else {
 
17142
            return PyLong_AsLongLong(x);
 
17143
        }
17195
17144
    } else {
17196
17145
        PY_LONG_LONG val;
17197
17146
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17203
17152
}
17204
17153
 
17205
17154
static INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
 
17155
    const signed long neg_one = (signed long)-1, const_zero = 0;
 
17156
    const int is_unsigned = neg_one > const_zero;
17206
17157
#if PY_VERSION_HEX < 0x03000000
17207
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17158
    if (likely(PyInt_Check(x))) {
17208
17159
        long val = PyInt_AS_LONG(x);
 
17160
        if (is_unsigned && unlikely(val < 0)) {
 
17161
            PyErr_SetString(PyExc_OverflowError,
 
17162
                            "can't convert negative value to signed long");
 
17163
            return (signed long)-1;
 
17164
        }
17209
17165
        return (signed long)val;
17210
17166
    } else
17211
17167
#endif
17212
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17213
 
        return PyLong_AsLong(x);
 
17168
    if (likely(PyLong_Check(x))) {
 
17169
        if (is_unsigned) {
 
17170
            if (unlikely(Py_SIZE(x) < 0)) {
 
17171
                PyErr_SetString(PyExc_OverflowError,
 
17172
                                "can't convert negative value to signed long");
 
17173
                return (signed long)-1;
 
17174
            }
 
17175
            return PyLong_AsUnsignedLong(x);
 
17176
        } else {
 
17177
            return PyLong_AsLong(x);
 
17178
        }
17214
17179
    } else {
17215
17180
        signed long val;
17216
17181
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17222
17187
}
17223
17188
 
17224
17189
static INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
 
17190
    const signed PY_LONG_LONG neg_one = (signed PY_LONG_LONG)-1, const_zero = 0;
 
17191
    const int is_unsigned = neg_one > const_zero;
17225
17192
#if PY_VERSION_HEX < 0x03000000
17226
 
    if (likely(PyInt_CheckExact(x) || PyInt_Check(x))) {
 
17193
    if (likely(PyInt_Check(x))) {
17227
17194
        long val = PyInt_AS_LONG(x);
 
17195
        if (is_unsigned && unlikely(val < 0)) {
 
17196
            PyErr_SetString(PyExc_OverflowError,
 
17197
                            "can't convert negative value to signed PY_LONG_LONG");
 
17198
            return (signed PY_LONG_LONG)-1;
 
17199
        }
17228
17200
        return (signed PY_LONG_LONG)val;
17229
17201
    } else
17230
17202
#endif
17231
 
    if (likely(PyLong_CheckExact(x) || PyLong_Check(x))) {
17232
 
        return PyLong_AsLongLong(x);
 
17203
    if (likely(PyLong_Check(x))) {
 
17204
        if (is_unsigned) {
 
17205
            if (unlikely(Py_SIZE(x) < 0)) {
 
17206
                PyErr_SetString(PyExc_OverflowError,
 
17207
                                "can't convert negative value to signed PY_LONG_LONG");
 
17208
                return (signed PY_LONG_LONG)-1;
 
17209
            }
 
17210
            return PyLong_AsUnsignedLongLong(x);
 
17211
        } else {
 
17212
            return PyLong_AsLongLong(x);
 
17213
        }
17233
17214
    } else {
17234
17215
        signed PY_LONG_LONG val;
17235
17216
        PyObject *tmp = __Pyx_PyNumber_Int(x);
17241
17222
}
17242
17223
 
17243
17224
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig) {
17244
 
#if PY_VERSION_HEX < 0x02050000
17245
 
    char *api = (char *)"__pyx_capi__";
17246
 
#else
17247
 
    const char *api = "__pyx_capi__";
17248
 
#endif
17249
17225
    PyObject *d = 0;
17250
17226
    PyObject *cobj = 0;
17251
17227
    union {
17253
17229
        void *p;
17254
17230
    } tmp;
17255
17231
 
17256
 
 
17257
 
    d = PyObject_GetAttrString(__pyx_m, api);
 
17232
    d = PyObject_GetAttrString(__pyx_m, (char *)"__pyx_capi__");
17258
17233
    if (!d) {
17259
17234
        PyErr_Clear();
17260
17235
        d = PyDict_New();
17261
17236
        if (!d)
17262
17237
            goto bad;
17263
17238
        Py_INCREF(d);
17264
 
        if (PyModule_AddObject(__pyx_m, api, d) < 0)
 
17239
        if (PyModule_AddObject(__pyx_m, (char *)"__pyx_capi__", d) < 0)
17265
17240
            goto bad;
17266
17241
    }
17267
17242
    tmp.fp = f;
 
17243
#if PY_VERSION_HEX < 0x03010000
17268
17244
    cobj = PyCObject_FromVoidPtrAndDesc(tmp.p, (void *)sig, 0);
 
17245
#else
 
17246
    cobj = PyCapsule_New(tmp.p, sig, 0);
 
17247
#endif
17269
17248
    if (!cobj)
17270
17249
        goto bad;
17271
17250
    if (PyDict_SetItemString(d, name, cobj) < 0)
17348
17327
#endif
17349
17328
 
17350
17329
static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
17351
 
    PyObject *pycobj = 0;
17352
 
    int result;
17353
 
    
17354
 
    pycobj = PyCObject_FromVoidPtr(vtable, 0);
17355
 
    if (!pycobj)
17356
 
        goto bad;
17357
 
    if (PyDict_SetItemString(dict, "__pyx_vtable__", pycobj) < 0)
17358
 
        goto bad;
17359
 
    result = 0;
17360
 
    goto done;
17361
 
 
17362
 
bad:
17363
 
    result = -1;
17364
 
done:
17365
 
    Py_XDECREF(pycobj);
17366
 
    return result;
17367
 
}
17368
 
 
17369
 
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr) {
17370
 
    int result;
17371
 
    PyObject *pycobj;
17372
 
 
17373
 
    pycobj = PyMapping_GetItemString(dict, (char *)"__pyx_vtable__");
17374
 
    if (!pycobj)
17375
 
        goto bad;
17376
 
    *(void **)vtabptr = PyCObject_AsVoidPtr(pycobj);
17377
 
    if (!*(void **)vtabptr)
17378
 
        goto bad;
17379
 
    result = 0;
17380
 
    goto done;
17381
 
 
17382
 
bad:
17383
 
    result = -1;
17384
 
done:
17385
 
    Py_XDECREF(pycobj);
17386
 
    return result;
 
17330
#if PY_VERSION_HEX < 0x03010000
 
17331
    PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
 
17332
#else
 
17333
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
 
17334
#endif
 
17335
    if (!ob)
 
17336
        goto bad;
 
17337
    if (PyDict_SetItemString(dict, "__pyx_vtable__", ob) < 0)
 
17338
        goto bad;
 
17339
    Py_DECREF(ob);
 
17340
    return 0;
 
17341
bad:
 
17342
    Py_XDECREF(ob);
 
17343
    return -1;
17387
17344
}
17388
17345
 
17389
17346
#ifndef __PYX_HAVE_RT_ImportFunction
17390
17347
#define __PYX_HAVE_RT_ImportFunction
17391
17348
static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
17392
 
#if PY_VERSION_HEX < 0x02050000
17393
 
    char *api = (char *)"__pyx_capi__";
17394
 
#else
17395
 
    const char *api = "__pyx_capi__";
17396
 
#endif
17397
17349
    PyObject *d = 0;
17398
17350
    PyObject *cobj = 0;
17399
 
    const char *desc;
17400
 
    const char *s1, *s2;
17401
17351
    union {
17402
17352
        void (*fp)(void);
17403
17353
        void *p;
17404
17354
    } tmp;
 
17355
#if PY_VERSION_HEX < 0x03010000
 
17356
    const char *desc, *s1, *s2;
 
17357
#endif
17405
17358
 
17406
 
    d = PyObject_GetAttrString(module, api);
 
17359
    d = PyObject_GetAttrString(module, (char *)"__pyx_capi__");
17407
17360
    if (!d)
17408
17361
        goto bad;
17409
17362
    cobj = PyDict_GetItemString(d, funcname);
17413
17366
                PyModule_GetName(module), funcname);
17414
17367
        goto bad;
17415
17368
    }
 
17369
#if PY_VERSION_HEX < 0x03010000
17416
17370
    desc = (const char *)PyCObject_GetDesc(cobj);
17417
17371
    if (!desc)
17418
17372
        goto bad;
17425
17379
        goto bad;
17426
17380
    }
17427
17381
    tmp.p = PyCObject_AsVoidPtr(cobj);
 
17382
#else
 
17383
    if (!PyCapsule_IsValid(cobj, sig)) {
 
17384
        PyErr_Format(PyExc_TypeError,
 
17385
            "C function %s.%s has wrong signature (expected %s, got %s)",
 
17386
             PyModule_GetName(module), funcname, sig, PyCapsule_GetName(cobj));
 
17387
        goto bad;
 
17388
    }
 
17389
    tmp.p = PyCapsule_GetPointer(cobj, sig);
 
17390
#endif
17428
17391
    *f = tmp.fp;
 
17392
    if (!(*f))
 
17393
        goto bad;
17429
17394
    Py_DECREF(d);
17430
17395
    return 0;
17431
17396
bad:
17442
17407
    PyObject *py_srcfile = 0;
17443
17408
    PyObject *py_funcname = 0;
17444
17409
    PyObject *py_globals = 0;
17445
 
    PyObject *empty_string = 0;
17446
17410
    PyCodeObject *py_code = 0;
17447
17411
    PyFrameObject *py_frame = 0;
17448
17412
 
17469
17433
    if (!py_funcname) goto bad;
17470
17434
    py_globals = PyModule_GetDict(__pyx_m);
17471
17435
    if (!py_globals) goto bad;
17472
 
    #if PY_MAJOR_VERSION < 3
17473
 
    empty_string = PyString_FromStringAndSize("", 0);
17474
 
    #else
17475
 
    empty_string = PyBytes_FromStringAndSize("", 0);
17476
 
    #endif
17477
 
    if (!empty_string) goto bad;
17478
17436
    py_code = PyCode_New(
17479
17437
        0,            /*int argcount,*/
17480
17438
        #if PY_MAJOR_VERSION >= 3
17483
17441
        0,            /*int nlocals,*/
17484
17442
        0,            /*int stacksize,*/
17485
17443
        0,            /*int flags,*/
17486
 
        empty_string, /*PyObject *code,*/
 
17444
        __pyx_empty_bytes, /*PyObject *code,*/
17487
17445
        __pyx_empty_tuple,  /*PyObject *consts,*/
17488
17446
        __pyx_empty_tuple,  /*PyObject *names,*/
17489
17447
        __pyx_empty_tuple,  /*PyObject *varnames,*/
17492
17450
        py_srcfile,   /*PyObject *filename,*/
17493
17451
        py_funcname,  /*PyObject *name,*/
17494
17452
        __pyx_lineno,   /*int firstlineno,*/
17495
 
        empty_string  /*PyObject *lnotab*/
 
17453
        __pyx_empty_bytes  /*PyObject *lnotab*/
17496
17454
    );
17497
17455
    if (!py_code) goto bad;
17498
17456
    py_frame = PyFrame_New(
17507
17465
bad:
17508
17466
    Py_XDECREF(py_srcfile);
17509
17467
    Py_XDECREF(py_funcname);
17510
 
    Py_XDECREF(empty_string);
17511
17468
    Py_XDECREF(py_code);
17512
17469
    Py_XDECREF(py_frame);
17513
17470
}
17515
17472
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
17516
17473
    while (t->p) {
17517
17474
        #if PY_MAJOR_VERSION < 3
17518
 
        if (t->is_unicode && (!t->is_identifier)) {
 
17475
        if (t->is_unicode) {
17519
17476
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
17520
17477
        } else if (t->intern) {
17521
17478
            *t->p = PyString_InternFromString(t->s);
17523
17480
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
17524
17481
        }
17525
17482
        #else  /* Python 3+ has unicode identifiers */
17526
 
        if (t->is_identifier || (t->is_unicode && t->intern)) {
17527
 
            *t->p = PyUnicode_InternFromString(t->s);
17528
 
        } else if (t->is_unicode) {
17529
 
            *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
 
17483
        if (t->is_unicode | t->is_str) {
 
17484
            if (t->intern) {
 
17485
                *t->p = PyUnicode_InternFromString(t->s);
 
17486
            } else if (t->encoding) {
 
17487
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
 
17488
            } else {
 
17489
                *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
 
17490
            }
17530
17491
        } else {
17531
17492
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
17532
17493
        }
17628
17589
}
17629
17590
 
17630
17591
 
 
17592
#endif /* Py_PYTHON_H */