~ubuntu-branches/ubuntu/natty/pytables/natty-updates

« back to all changes in this revision

Viewing changes to src/utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Fayolle
  • Date: 2006-06-28 10:45:03 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20060628104503-cc251q5o5j3e2k10
  * Fixed call to pyversions in debian/rules which failed on recent versions 
    of pyversions
  * Fixed clean rule in debian/rules which left the stamp files behind
  * Acknowledge NMU
  * Added Alexandre Fayolle to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#   define TRUE (!FALSE)
33
33
#endif
34
34
 
35
 
/* Maximum dimensions in an array */
36
 
/* This number has been taken from numarray/numarray.h */ 
37
 
#define MAXDIM  40
38
35
 
39
36
/* Use %ld to print the value because long should cover most cases. */
40
37
/* Used to make certain a return value _is_not_ a value */
47
44
    H5Eclear();                                                               \
48
45
} while(0)
49
46
 
 
47
int getLibrary(char *libname);
 
48
 
 
49
herr_t set_cache_size(hid_t file_id, size_t cache_size);
 
50
 
50
51
PyObject *_getTablesVersion(void);
51
52
 
52
53
/* PyObject *getZLIBVersionInfo(void); */
63
64
 
64
65
H5T_class_t getHDF5ClassID(hid_t loc_id,
65
66
                           const char *name,
66
 
                           H5D_layout_t *layout);
 
67
                           H5D_layout_t *layout,
 
68
                           hid_t *type_id,
 
69
                           hid_t *dataset_id);
67
70
 
68
 
PyObject *H5UIget_info( hid_t loc_id, 
 
71
PyObject *H5UIget_info( hid_t loc_id,
69
72
                        const char *dset_name,
70
73
                        char *byteorder);
71
74
 
72
 
int GetIndicesEx(PyObject *s, int length,
73
 
                 int *start, int *stop, int *step, int *slicelength);
74
 
 
75
 
PyObject *get_attribute_string_sys( hid_t loc_id,
76
 
                                    const char *obj_name,
77
 
                                    const char *attr_name);
78
 
 
 
75
hsize_t getIndicesExt(PyObject *s, hsize_t length,
 
76
                      hsize_t *start, hsize_t *stop, hsize_t *step,
 
77
                      hsize_t *slicelength);
79
78
 
80
79
herr_t set_order(hid_t type_id, const char *byteorder);
81
80
 
83
82
 
84
83
size_t get_complex_precision(hid_t type_id);
85
84
 
86
 
H5T_order_t get_order(hid_t type_id);
 
85
herr_t get_order(hid_t type_id, char *byteorder);
87
86
 
88
87
hid_t create_native_complex64(const char *byteorder);
89
88