From 200dcdb6d03a3ecceb1a93504f5d2a3ccfb82367 Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Fri, 22 Jul 2005 16:34:53 -0500 Subject: [svn-r11112] Purpose: Improvement Description: Add high level dll macro for windows Solution: Platforms tested: MSVS 6.0 on windows xp, cygwin, heping and copper Misc. update: --- hl/src/H5PT.h | 26 +++++++++++++------------- hl/src/H5TB.h | 38 +++++++++++++++++++------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/hl/src/H5PT.h b/hl/src/H5PT.h index 606814c..699419e 100644 --- a/hl/src/H5PT.h +++ b/hl/src/H5PT.h @@ -31,19 +31,19 @@ extern "C" { *------------------------------------------------------------------------- */ -hid_t H5PTcreate_fl ( hid_t loc_id, +H5_HLDLL hid_t H5PTcreate_fl ( hid_t loc_id, const char *dset_name, hid_t dtype_id, hsize_t chunk_size ); -hid_t H5PTcreate_vl ( hid_t loc_id, +H5_HLDLL hid_t H5PTcreate_vl ( hid_t loc_id, const char *dset_name, hsize_t chunk_size ); -hid_t H5PTopen( hid_t loc_id, +H5_HLDLL hid_t H5PTopen( hid_t loc_id, char *dset_name ); -herr_t H5PTclose( hid_t table_id ); +H5_HLDLL herr_t H5PTclose( hid_t table_id ); /*------------------------------------------------------------------------- @@ -53,7 +53,7 @@ herr_t H5PTclose( hid_t table_id ); *------------------------------------------------------------------------- */ -herr_t H5PTappend( hid_t table_id, +H5_HLDLL herr_t H5PTappend( hid_t table_id, hsize_t nrecords, const void * data ); @@ -65,11 +65,11 @@ herr_t H5PTappend( hid_t table_id, */ -herr_t H5PTget_next( hid_t table_id, +H5_HLDLL herr_t H5PTget_next( hid_t table_id, hsize_t nrecords, void * data ); -herr_t H5PTread_packets( hid_t table_id, +H5_HLDLL herr_t H5PTread_packets( hid_t table_id, hsize_t start, hsize_t nrecords, void *data ); @@ -82,12 +82,12 @@ herr_t H5PTread_packets( hid_t table_id, */ -herr_t H5PTget_num_packets( hid_t table_id, +H5_HLDLL herr_t H5PTget_num_packets( hid_t table_id, hsize_t *nrecords ); -herr_t H5PTis_valid( hid_t table_id ); +H5_HLDLL herr_t H5PTis_valid( hid_t table_id ); -herr_t H5PTis_varlen( hid_t table_id ); +H5_HLDLL herr_t H5PTis_varlen( hid_t table_id ); /*------------------------------------------------------------------------- * @@ -96,9 +96,9 @@ herr_t H5PTis_varlen( hid_t table_id ); *------------------------------------------------------------------------- */ -herr_t H5PTcreate_index( hid_t table_id ); +H5_HLDLL herr_t H5PTcreate_index( hid_t table_id ); -herr_t H5PTset_index( hid_t table_id, +H5_HLDLL herr_t H5PTset_index( hid_t table_id, hsize_t pt_index ); /*------------------------------------------------------------------------- @@ -108,7 +108,7 @@ herr_t H5PTset_index( hid_t table_id, *------------------------------------------------------------------------- */ -herr_t H5PTfree_vlen_readbuff( hid_t table_id, +H5_HLDLL herr_t H5PTfree_vlen_readbuff( hid_t table_id, hsize_t bufflen, void * buff ); diff --git a/hl/src/H5TB.h b/hl/src/H5TB.h index 5ce10f3..015c158 100644 --- a/hl/src/H5TB.h +++ b/hl/src/H5TB.h @@ -46,7 +46,7 @@ extern "C" { *------------------------------------------------------------------------- */ -herr_t H5TBmake_table( const char *table_title, +H5_HLDLL herr_t H5TBmake_table( const char *table_title, hid_t loc_id, const char *dset_name, hsize_t nfields, @@ -68,7 +68,7 @@ herr_t H5TBmake_table( const char *table_title, *------------------------------------------------------------------------- */ -herr_t H5TBappend_records( hid_t loc_id, +H5_HLDLL herr_t H5TBappend_records( hid_t loc_id, const char *dset_name, hsize_t nrecords, size_t type_size, @@ -76,7 +76,7 @@ herr_t H5TBappend_records( hid_t loc_id, const size_t *dst_sizes, const void *data ); -herr_t H5TBwrite_records( hid_t loc_id, +H5_HLDLL herr_t H5TBwrite_records( hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords, @@ -86,7 +86,7 @@ herr_t H5TBwrite_records( hid_t loc_id, const void *data ); -herr_t H5TBwrite_fields_name( hid_t loc_id, +H5_HLDLL herr_t H5TBwrite_fields_name( hid_t loc_id, const char *dset_name, const char *field_names, hsize_t start, @@ -96,7 +96,7 @@ herr_t H5TBwrite_fields_name( hid_t loc_id, const size_t *dst_sizes, const void *data ); -herr_t H5TBwrite_fields_index( hid_t loc_id, +H5_HLDLL herr_t H5TBwrite_fields_index( hid_t loc_id, const char *dset_name, hsize_t nfields, const int *field_index, @@ -117,7 +117,7 @@ herr_t H5TBwrite_fields_index( hid_t loc_id, -herr_t H5TBread_table( hid_t loc_id, +H5_HLDLL herr_t H5TBread_table( hid_t loc_id, const char *dset_name, size_t dst_size, const size_t *dst_offset, @@ -125,7 +125,7 @@ herr_t H5TBread_table( hid_t loc_id, void *dst_buf ); -herr_t H5TBread_fields_name( hid_t loc_id, +H5_HLDLL herr_t H5TBread_fields_name( hid_t loc_id, const char *dset_name, const char *field_names, hsize_t start, @@ -135,7 +135,7 @@ herr_t H5TBread_fields_name( hid_t loc_id, const size_t *dst_sizes, void *data ); -herr_t H5TBread_fields_index( hid_t loc_id, +H5_HLDLL herr_t H5TBread_fields_index( hid_t loc_id, const char *dset_name, hsize_t nfields, const int *field_index, @@ -147,7 +147,7 @@ herr_t H5TBread_fields_index( hid_t loc_id, void *data ); -herr_t H5TBread_records( hid_t loc_id, +H5_HLDLL herr_t H5TBread_records( hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords, @@ -164,12 +164,12 @@ herr_t H5TBread_records( hid_t loc_id, */ -herr_t H5TBget_table_info ( hid_t loc_id, +H5_HLDLL herr_t H5TBget_table_info ( hid_t loc_id, const char *dset_name, hsize_t *nfields, hsize_t *nrecords ); -herr_t H5TBget_field_info( hid_t loc_id, +H5_HLDLL herr_t H5TBget_field_info( hid_t loc_id, const char *dset_name, char *field_names[], size_t *field_sizes, @@ -185,13 +185,13 @@ herr_t H5TBget_field_info( hid_t loc_id, */ -herr_t H5TBdelete_record( hid_t loc_id, +H5_HLDLL herr_t H5TBdelete_record( hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords ); -herr_t H5TBinsert_record( hid_t loc_id, +H5_HLDLL herr_t H5TBinsert_record( hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords, @@ -200,20 +200,20 @@ herr_t H5TBinsert_record( hid_t loc_id, const size_t *dst_sizes, void *data ); -herr_t H5TBadd_records_from( hid_t loc_id, +H5_HLDLL herr_t H5TBadd_records_from( hid_t loc_id, const char *dset_name1, hsize_t start1, hsize_t nrecords, const char *dset_name2, hsize_t start2 ); -herr_t H5TBcombine_tables( hid_t loc_id1, +H5_HLDLL herr_t H5TBcombine_tables( hid_t loc_id1, const char *dset_name1, hid_t loc_id2, const char *dset_name2, const char *dset_name3 ); -herr_t H5TBinsert_field( hid_t loc_id, +H5_HLDLL herr_t H5TBinsert_field( hid_t loc_id, const char *dset_name, const char *field_name, hid_t field_type, @@ -221,7 +221,7 @@ herr_t H5TBinsert_field( hid_t loc_id, const void *fill_data, const void *data ); -herr_t H5TBdelete_field( hid_t loc_id, +H5_HLDLL herr_t H5TBdelete_field( hid_t loc_id, const char *dset_name, const char *field_name ); @@ -233,10 +233,10 @@ herr_t H5TBdelete_field( hid_t loc_id, *------------------------------------------------------------------------- */ -herr_t H5TBAget_title( hid_t loc_id, +H5_HLDLL herr_t H5TBAget_title( hid_t loc_id, char *table_title ); -herr_t H5TBAget_fill( hid_t loc_id, +H5_HLDLL herr_t H5TBAget_fill( hid_t loc_id, const char *dset_name, hid_t dset_id, unsigned char *dst_buf ); -- cgit v0.12