1
/***********************************************************************
4
* Created: December 21, 2004
5
* Author: Ivan Vilata i Balaguer - reverse:com.carabos@ivilata
7
* $Source: /home/ivan/_/programari/pytables/svn/cvs/pytables/pytables/src/typeconv.h,v $
8
* $Id: typeconv.h 739 2005-03-17 10:33:05Z ivilata $
10
***********************************************************************/
12
/* Type conversion functions for PyTables types which are stored
13
* with a different representation between Numarray and HDF5.
16
#ifndef __TYPECONV_H__
17
#define __TYPECONV_H__ 1
21
/* Meaning for common arguments:
22
* * base: pointer to data
23
* * byteoffset: offset of first field/element into the data
24
* * bytestride: distance in bytes from a field/record to the next one
25
* * nrecords: number of fields/records to translate
26
* * nelements: number of elements in a field/record
27
* * sense: 0 for Numarray -> HDF5, otherwise HDF5 -> Numarray
30
void conv_float64_timeval32(void *base,
31
unsigned long byteoffset,
32
unsigned long bytestride,
33
PY_LONG_LONG nrecords,
34
unsigned long nelements,
37
#endif /* def __TYPECONV_H__ */