示例#1
0
	T_MIPS_U16 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_U16(), nil)
	T_MIPS_U32 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_U32(), nil)
	T_MIPS_U64 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_U64(), nil)
	T_MIPS_B8  *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_B8(), nil)
	T_MIPS_B16 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_B16(), nil)
	T_MIPS_B32 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_B32(), nil)
	T_MIPS_B64 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_B64(), nil)
	T_MIPS_F32 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_F32(), nil)
	T_MIPS_F64 *Datatype = NewDatatype(C._go_hdf5_H5T_MIPS_F64(), nil)

	T_NATIVE_CHAR   *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_CHAR(), nil)
	T_NATIVE_INT    *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_INT(), _go_int_t)
	T_NATIVE_FLOAT  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_FLOAT(), _go_float32_t)
	T_NATIVE_SCHAR  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_SCHAR(), nil)
	T_NATIVE_UCHAR  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_UCHAR(), nil)
	T_NATIVE_SHORT  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_SHORT(), nil)
	T_NATIVE_USHORT *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_USHORT(), nil)
	T_NATIVE_UINT   *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_UINT(), _go_uint_t)
	T_NATIVE_LONG   *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_LONG(), nil)
	T_NATIVE_ULONG  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_ULONG(), nil)
	T_NATIVE_LLONG  *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_LLONG(), nil)
	T_NATIVE_ULLONG *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_ULLONG(), nil)
	T_NATIVE_DOUBLE *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_DOUBLE(), _go_float64_t)
	//#if H5_SIZEOF_LONG_DOUBLE !=0
	T_NATIVE_LDOUBLE *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_LDOUBLE(), nil)
	//#endif
	T_NATIVE_B8     *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_B8(), nil)
	T_NATIVE_B16    *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_B16(), nil)
	T_NATIVE_B32    *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_B32(), nil)
	T_NATIVE_B64    *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_B64(), nil)
	T_NATIVE_OPAQUE *Datatype = NewDatatype(C._go_hdf5_H5T_NATIVE_OPAQUE(), nil)
示例#2
0
	T_MIPS_U16 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_U16(), nil)
	T_MIPS_U32 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_U32(), nil)
	T_MIPS_U64 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_U64(), nil)
	T_MIPS_B8  *DataType = new_dtype(C._go_hdf5_H5T_MIPS_B8(), nil)
	T_MIPS_B16 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_B16(), nil)
	T_MIPS_B32 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_B32(), nil)
	T_MIPS_B64 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_B64(), nil)
	T_MIPS_F32 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_F32(), nil)
	T_MIPS_F64 *DataType = new_dtype(C._go_hdf5_H5T_MIPS_F64(), nil)

	T_NATIVE_CHAR   *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_CHAR(), nil)
	T_NATIVE_INT    *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_INT(), _go_int_t)
	T_NATIVE_FLOAT  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_FLOAT(), _go_float32_t)
	T_NATIVE_SCHAR  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_SCHAR(), nil)
	T_NATIVE_UCHAR  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_UCHAR(), nil)
	T_NATIVE_SHORT  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_SHORT(), nil)
	T_NATIVE_USHORT *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_USHORT(), nil)
	T_NATIVE_UINT   *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_UINT(), _go_uint_t)
	T_NATIVE_LONG   *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_LONG(), nil)
	T_NATIVE_ULONG  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_ULONG(), nil)
	T_NATIVE_LLONG  *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_LLONG(), nil)
	T_NATIVE_ULLONG *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_ULLONG(), nil)
	T_NATIVE_DOUBLE *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_DOUBLE(), _go_float64_t)
	//#if H5_SIZEOF_LONG_DOUBLE !=0
	T_NATIVE_LDOUBLE *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_LDOUBLE(), nil)
	//#endif
	T_NATIVE_B8     *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_B8(), nil)
	T_NATIVE_B16    *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_B16(), nil)
	T_NATIVE_B32    *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_B32(), nil)
	T_NATIVE_B64    *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_B64(), nil)
	T_NATIVE_OPAQUE *DataType = new_dtype(C._go_hdf5_H5T_NATIVE_OPAQUE(), nil)