-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathwrap.c
More file actions
368 lines (363 loc) · 19.7 KB
/
wrap.c
File metadata and controls
368 lines (363 loc) · 19.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
#include <R.h>
#include <Rdefines.h>
#include <R_ext/Rdynload.h>
#include <R_ext/Error.h>
#include "H5constants.h"
#include "H5.h"
#include "H5A.h"
#include "H5D.h"
#include "H5E.h"
#include "H5F.h"
#include "H5G.h"
#include "H5I.h"
#include "H5L.h"
#include "H5O.h"
#include "H5R.h"
#include "H5S.h"
#include "H5T.h"
#include "H5P.h"
#include "H5PL.h"
#include "H5Z.h"
#include "h5ls.h"
#include "HandleList.h"
#include "h5dump.h"
#include "H5constants.h"
#include "h5writeDataFrame.h"
#include "printdatatype.h"
#include "h5testLock.h"
#include "external_filters.h"
SEXP _H5open(void);
SEXP _H5close(void);
SEXP _H5garbage_collect(void);
SEXP _H5get_libversion(void);
static R_CallMethodDef libraryRCalls[] = {
{"_H5open", (DL_FUNC) &_H5open, 0},
{"_H5close", (DL_FUNC) &_H5close, 0},
{"_H5garbage_collect", (DL_FUNC) &_H5garbage_collect, 0},
{"_H5get_libversion", (DL_FUNC) &_H5get_libversion, 0},
{"_H5constants", (DL_FUNC) &_H5constants, 0},
{"_H5Acreate", (DL_FUNC) &_H5Acreate, 4},
{"_H5Aopen", (DL_FUNC) &_H5Aopen, 2},
{"_H5Aopen_by_name", (DL_FUNC) &_H5Aopen_by_name, 3},
{"_H5Aopen_by_idx", (DL_FUNC) &_H5Aopen_by_idx, 5},
{"_H5Aexists", (DL_FUNC) &_H5Aexists, 2},
{"_H5Aread", (DL_FUNC) &_H5Aread, 3},
{"_H5Awrite", (DL_FUNC) &_H5Awrite, 2},
{"_H5Aclose", (DL_FUNC) &_H5Aclose, 1},
{"_H5Adelete", (DL_FUNC) &_H5Adelete, 2},
{"_H5Aget_name", (DL_FUNC) &_H5Aget_name, 1},
{"_H5Aget_space", (DL_FUNC) &_H5Aget_space, 1},
{"_H5Aget_type", (DL_FUNC) &_H5Aget_type, 1},
{"_H5Dcreate", (DL_FUNC) &_H5Dcreate, 7},
{"_H5Dopen", (DL_FUNC) &_H5Dopen, 3},
{"_H5Dclose", (DL_FUNC) &_H5Dclose, 1},
{"_H5Dget_type", (DL_FUNC) &_H5Dget_type, 1},
{"_H5Dget_create_plist", (DL_FUNC) &_H5Dget_create_plist, 1},
{"_H5Dget_space", (DL_FUNC) &_H5Dget_space, 1},
{"_H5Dget_storage_size", (DL_FUNC) &_H5Dget_storage_size, 1},
{"_H5Dread", (DL_FUNC) &_H5Dread, 8},
{"_H5Dwrite", (DL_FUNC) &_H5Dwrite, 6},
{"_H5Dset_extent", (DL_FUNC) &_H5Dset_extent, 2},
{"_H5Dget_num_chunks", (DL_FUNC) &_H5Dget_num_chunks, 2},
{"_H5Fcreate", (DL_FUNC) &_H5Fcreate, 4},
{"_H5Fopen", (DL_FUNC) &_H5Fopen, 3},
{"_H5Freopen", (DL_FUNC) &_H5Freopen, 1},
{"_H5Fclose", (DL_FUNC) &_H5Fclose, 1},
{"_H5Fflush", (DL_FUNC) &_H5Fflush, 2},
{"_H5Fis_hdf5", (DL_FUNC) &_H5Fis_hdf5, 1},
{"_H5Fget_filesize", (DL_FUNC) &_H5Fget_filesize, 1},
{"_H5Fget_create_plist", (DL_FUNC) &_H5Fget_create_plist, 1},
{"_H5Fget_access_plist", (DL_FUNC) &_H5Fget_access_plist, 1},
{"_H5Fget_name", (DL_FUNC) &_H5Fget_name, 1},
{"_H5Fget_intent", (DL_FUNC) &_H5Fget_intent, 1},
{"_H5Gcreate", (DL_FUNC) &_H5Gcreate, 2},
{"_H5Gcreate_anon", (DL_FUNC) &_H5Gcreate_anon, 1},
{"_H5Gopen", (DL_FUNC) &_H5Gopen, 2},
{"_H5Gclose", (DL_FUNC) &_H5Gclose, 1},
{"_H5Gget_info", (DL_FUNC) &_H5Gget_info, 1},
{"_H5Gget_info_by_name", (DL_FUNC) &_H5Gget_info_by_name, 2},
{"_H5Gget_info_by_idx", (DL_FUNC) &_H5Gget_info_by_idx, 5},
/* {"_H5Lget_info", (DL_FUNC) &_H5Lget_info, 2}, */
/* {"_H5Ldump", (DL_FUNC) &_H5Ldump, 1}, */
{"_H5Iget_name", (DL_FUNC) &_H5Iget_name, 1},
{"_H5Iget_type", (DL_FUNC) &_H5Iget_type, 1},
{"_H5Iis_valid", (DL_FUNC) &_H5Iis_valid, 1},
{"_H5Oopen", (DL_FUNC) &_H5Oopen, 2},
{"_H5Oclose", (DL_FUNC) &_H5Oclose, 1},
{"_H5Olink", (DL_FUNC) &_H5Olink, 5},
{"_H5Ocopy", (DL_FUNC) &_H5Ocopy, 6},
{"_H5Oget_num_attrs", (DL_FUNC) &_H5Oget_num_attrs, 1},
{"_H5Oget_info", (DL_FUNC) &_H5Oget_info, 1},
// {"_H5Oget_info_by_name", (DL_FUNC) &_H5Oget_info_by_name, 2},
{"_H5Lcreate_external", (DL_FUNC) &_H5Lcreate_external, 4},
{"_H5Lexists", (DL_FUNC) &_H5Lexists, 2},
{"_H5Ldelete", (DL_FUNC) &_H5Ldelete, 2},
{"_H5Lmove", (DL_FUNC) &_H5Lmove, 6},
{"_H5Lcopy", (DL_FUNC) &_H5Lcopy, 6},
{"_H5Lget_info", (DL_FUNC) &_H5Lget_info, 2},
{"_H5Rcreate", (DL_FUNC) &_H5Rcreate, 4},
{"_H5Rget_obj_type", (DL_FUNC) &_H5Rget_obj_type, 3},
{"_H5Rdereference", (DL_FUNC) &_H5Rdereference, 3},
{"_H5Rget_name", (DL_FUNC) &_H5Rget_name, 3},
{"_H5Rget_region", (DL_FUNC) &_H5Rget_region, 3},
{"_H5Screate", (DL_FUNC) &_H5Screate, 1},
{"_H5Scopy", (DL_FUNC) &_H5Scopy, 1},
{"_H5Sclose", (DL_FUNC) &_H5Sclose, 1},
{"_H5Screate_simple", (DL_FUNC) &_H5Screate_simple, 2},
{"_H5Sis_simple", (DL_FUNC) &_H5Sis_simple, 1},
{"_H5Sget_simple_extent_dims", (DL_FUNC) &_H5Sget_simple_extent_dims, 1},
{"_H5Sset_extent_simple", (DL_FUNC) &_H5Sset_extent_simple, 3},
{"_H5Sget_select_npoints", (DL_FUNC) &_H5Sget_select_npoints, 1},
{"_H5Sget_select_hyper_nblocks", (DL_FUNC) &_H5Sget_select_hyper_nblocks, 1},
{"_H5Sget_select_hyper_blocklist", (DL_FUNC) &_H5Sget_select_hyper_blocklist, 4},
{"_H5Sselect_all", (DL_FUNC) &_H5Sselect_all, 1},
{"_H5Sselect_none", (DL_FUNC) &_H5Sselect_none, 1},
{"_H5Sselect_valid", (DL_FUNC) &_H5Sselect_valid, 1},
{"_H5Sselect_elements", (DL_FUNC) &_H5Sselect_elements, 4},
{"_H5Sselect_hyperslab", (DL_FUNC) &_H5Sselect_hyperslab, 6},
{"_H5Scombine_hyperslab", (DL_FUNC) &_H5Scombine_hyperslab, 6},
{"_H5Scombine_select", (DL_FUNC) &_H5Scombine_select, 3},
{"_H5Sselect_index", (DL_FUNC) &_H5Sselect_index, 3},
{"_H5Tget_class", (DL_FUNC) &_H5Tget_class, 1},
{"_H5Tcreate", (DL_FUNC) &_H5Tcreate, 2},
{"_H5Tcopy", (DL_FUNC) &_H5Tcopy, 1},
{"_H5Tclose", (DL_FUNC) &_H5Tclose, 1},
{"_H5Tset_size", (DL_FUNC) &_H5Tset_size, 2},
{"_H5Tget_size", (DL_FUNC) &_H5Tget_size, 1},
{"_H5Tset_strpad", (DL_FUNC) &_H5Tset_strpad, 2},
{"_H5Tget_strpad", (DL_FUNC) &_H5Tget_strpad, 1},
{"_H5Tset_cset", (DL_FUNC) &_H5Tset_cset, 2},
{"_H5Tget_cset", (DL_FUNC) &_H5Tget_cset, 1},
{"_H5Tis_variable_str", (DL_FUNC) &_H5Tis_variable_str, 1},
{"_H5Tset_precision", (DL_FUNC) &_H5Tset_precision, 2},
{"_H5Tget_precision", (DL_FUNC) &_H5Tget_precision, 1},
{"_H5Tset_offset", (DL_FUNC) &_H5Tset_offset, 2},
{"_H5Tget_offset", (DL_FUNC) &_H5Tget_offset, 1},
{"_H5Tenum_create", (DL_FUNC) &_H5Tenum_create, 1},
{"_H5Tenum_insert", (DL_FUNC) &_H5Tenum_insert, 3},
{"_H5Tget_nmembers", (DL_FUNC) &_H5Tget_nmembers, 1},
{"_h5createComplexDataType", (DL_FUNC) &_h5createComplexDataType, 0},
{"_H5Pcreate", (DL_FUNC) &_H5Pcreate, 1},
{"_H5Pget_class", (DL_FUNC) &_H5Pget_class, 1},
{"_H5Pcopy", (DL_FUNC) &_H5Pcopy, 1},
{"_H5Pclose", (DL_FUNC) &_H5Pclose, 1},
{"_H5Pclose_class", (DL_FUNC) &_H5Pclose_class, 1},
{"_H5Pget_version", (DL_FUNC) &_H5Pget_version, 1},
{"_H5Pset_userblock", (DL_FUNC) &_H5Pset_userblock, 2},
{"_H5Pget_userblock", (DL_FUNC) &_H5Pget_userblock, 1},
{"_H5Pset_sizes", (DL_FUNC) &_H5Pset_sizes, 3},
{"_H5Pget_sizes", (DL_FUNC) &_H5Pget_sizes, 1},
{"_H5Pset_sym_k", (DL_FUNC) &_H5Pset_sym_k, 3},
{"_H5Pget_sym_k", (DL_FUNC) &_H5Pget_sym_k, 1},
{"_H5Pset_istore_k", (DL_FUNC) &_H5Pset_istore_k, 2},
{"_H5Pget_istore_k", (DL_FUNC) &_H5Pget_istore_k, 1},
{"_H5Pset_shared_mesg_nindexes", (DL_FUNC) &_H5Pset_shared_mesg_nindexes, 2},
{"_H5Pget_shared_mesg_nindexes", (DL_FUNC) &_H5Pget_shared_mesg_nindexes, 1},
{"_H5Pset_shared_mesg_index", (DL_FUNC) &_H5Pset_shared_mesg_index, 4},
{"_H5Pget_shared_mesg_index", (DL_FUNC) &_H5Pget_shared_mesg_index, 2},
{"_H5Pset_shared_mesg_phase_change", (DL_FUNC) &_H5Pset_shared_mesg_phase_change, 3},
{"_H5Pget_shared_mesg_phase_change", (DL_FUNC) &_H5Pget_shared_mesg_phase_change, 1},
/* {"_H5Pset_driver", (DL_FUNC) &_H5Pset_driver, 3}, */
/* {"_H5Pget_driver", (DL_FUNC) &_H5Pget_driver, 1}, */
/* {"_H5Pget_driver_info", (DL_FUNC) &_H5Pget_driver_info, 1}, */
/* {"_H5Pset_fclose_degree", (DL_FUNC) &_H5Pset_fclose_degree, 2}, */
/* {"_H5Pget_fclose_degree", (DL_FUNC) &_H5Pget_fclose_degree, 2}, */
/* {"_H5Pset_fapl_core", (DL_FUNC) &_H5Pset_fapl_core, 3}, */
/* {"_H5Pget_fapl_core", (DL_FUNC) &_H5Pget_fapl_core, 3}, */
/* {"_H5Pset_core_write_tracking", (DL_FUNC) &_H5Pset_core_write_tracking, 3}, */
/* {"_H5Pget_core_write_tracking", (DL_FUNC) &_H5Pget_core_write_tracking, 3}, */
/* {"_H5Pset_fapl_direct", (DL_FUNC) &_H5Pset_fapl_direct, 4}, */
/* {"_H5Pget_fapl_direct", (DL_FUNC) &_H5Pget_fapl_direct, 4}, */
/* {"_H5Pset_fapl_family", (DL_FUNC) &_H5Pset_fapl_family, 3}, */
/* {"_H5Pget_fapl_family", (DL_FUNC) &_H5Pget_fapl_family, 3}, */
/* {"_H5Pset_family_offset", (DL_FUNC) &_H5Pset_family_offset, 2}, */
/* {"_H5Pget_family_offset", (DL_FUNC) &_H5Pget_family_offset, 2}, */
/* {"_H5Pset_fapl_log", (DL_FUNC) &_H5Pset_fapl_log, 4}, */
/* {"_H5Pset_fapl_mpio", (DL_FUNC) &_H5Pset_fapl_mpio, 3}, */
/* {"_H5Pget_fapl_mpio", (DL_FUNC) &_H5Pget_fapl_mpio, 3}, */
/* {"_H5Pset_fapl_mpiposix", (DL_FUNC) &_H5Pset_fapl_mpiposix, 3}, */
/* {"_H5Pget_fapl_mpiposix", (DL_FUNC) &_H5Pget_fapl_mpiposix, 3}, */
/* {"_H5Pset_fapl_multi", (DL_FUNC) &_H5Pset_fapl_multi, 6}, */
/* {"_H5Pget_fapl_multi", (DL_FUNC) &_H5Pget_fapl_multi, 6}, */
/* {"_H5Pset_multi_type", (DL_FUNC) &_H5Pset_multi_type, 2}, */
/* {"_H5Pget_multi_type", (DL_FUNC) &_H5Pget_multi_type, 2}, */
/* {"_H5Pset_fapl_split", (DL_FUNC) &_H5Pset_fapl_split, 5}, */
/* {"_H5Pset_fapl_sec2", (DL_FUNC) &_H5Pset_fapl_sec2, 1}, */
/* {"_H5Pset_fapl_stdio", (DL_FUNC) &_H5Pset_fapl_stdio, 1}, */
/* {"_H5Pset_fapl_windows", (DL_FUNC) &_H5Pset_fapl_windows, 1}, */
/* {"_H5Pset_file_image", (DL_FUNC) &_H5Pset_file_image, 3}, */
/* {"_H5Pget_file_image", (DL_FUNC) &_H5Pget_file_image, 3}, */
/* {"_H5Pset_file_image_callbacks", (DL_FUNC) &_H5Pset_file_image_callbacks, 2}, */
/* {"_H5Pget_file_image_callbacks", (DL_FUNC) &_H5Pget_file_image_callbacks, 2}, */
/* {"_H5Pset_meta_block_size", (DL_FUNC) &_H5Pset_meta_block_size, 2}, */
/* {"_H5Pget_meta_block_size", (DL_FUNC) &_H5Pget_meta_block_size, 2}, */
/* {"_H5Pset_sieve_buf_size", (DL_FUNC) &_H5Pset_sieve_buf_size, 2}, */
/* {"_H5Pget_sieve_buf_size", (DL_FUNC) &_H5Pget_sieve_buf_size, 2}, */
/* {"_H5Pset_alignment", (DL_FUNC) &_H5Pset_alignment, 3}, */
/* {"_H5Pget_alignment", (DL_FUNC) &_H5Pget_alignment, 3}, */
/* {"_H5Pset_cache", (DL_FUNC) &_H5Pset_cache, 5}, */
/* {"_H5Pget_cache", (DL_FUNC) &_H5Pget_cache, 5}, */
/* {"_H5Pset_elink_file_cache_size", (DL_FUNC) &_H5Pset_elink_file_cache_size, 2}, */
/* {"_H5Pget_elink_file_cache_size", (DL_FUNC) &_H5Pget_elink_file_cache_size, 2}, */
/* {"_H5Pset_mdc_config", (DL_FUNC) &_H5Pset_mdc_config, 2}, */
/* {"_H5Pget_mdc_config", (DL_FUNC) &_H5Pget_mdc_config, 2}, */
/* {"_H5Pset_gc_reference", (DL_FUNC) &_H5Pset_gc_reference, 2}, */
/* {"_H5Pget_gc_references", (DL_FUNC) &_H5Pget_gc_references, 2}, */
/* {"_H5Pset_small_data_block_size", (DL_FUNC) &_H5Pset_small_data_block_size, 2}, */
/* {"_H5Pget_small_data_block_size", (DL_FUNC) &_H5Pget_small_data_block_size, 2}, */
{"_H5Pset_libver_bounds", (DL_FUNC) &_H5Pset_libver_bounds, 3},
{"_H5Pget_libver_bounds", (DL_FUNC) &_H5Pget_libver_bounds, 1},
{"_H5Pset_fapl_ros3", (DL_FUNC) &_H5Pset_fapl_ros3, 5},
/* {"_H5Pset_local_heap_size_hint", (DL_FUNC) &_H5Pset_local_heap_size_hint, 2}, */
/* {"_H5Pget_local_heap_size_hint", (DL_FUNC) &_H5Pget_local_heap_size_hint, 2}, */
/* {"_H5Pset_link_creation_order", (DL_FUNC) &_H5Pset_link_creation_order, 2}, */
/* {"_H5Pget_link_creation_order", (DL_FUNC) &_H5Pget_link_creation_order, 2}, */
/* {"_H5Pset_est_link_info", (DL_FUNC) &_H5Pset_est_link_info, 3}, */
/* {"_H5Pget_est_link_info", (DL_FUNC) &_H5Pget_est_link_info, 3}, */
/* {"_H5Pset_link_phase_change", (DL_FUNC) &_H5Pset_link_phase_change, 3}, */
/* {"_H5Pget_link_phase_change", (DL_FUNC) &_H5Pget_link_phase_change, 3}, */
{"_H5Pset_char_encoding", (DL_FUNC) &_H5Pset_char_encoding, 2},
{"_H5Pget_char_encoding", (DL_FUNC) &_H5Pget_char_encoding, 1},
{"_H5Pset_create_intermediate_group", (DL_FUNC) &_H5Pset_create_intermediate_group, 2},
{"_H5Pget_create_intermediate_group", (DL_FUNC) &_H5Pget_create_intermediate_group, 1},
/* {"_H5Pset_nlinks", (DL_FUNC) &_H5Pset_nlinks, 2}, */
/* {"_H5Pget_nlinks", (DL_FUNC) &_H5Pget_nlinks, 2}, */
/* {"_H5Pset_elink_cb", (DL_FUNC) &_H5Pset_elink_cb, 3}, */
/* {"_H5Pget_elink_cb", (DL_FUNC) &_H5Pget_elink_cb, 3}, */
/* {"_H5Pset_elink_prefix", (DL_FUNC) &_H5Pset_elink_prefix, 2}, */
/* {"_H5Pget_elink_prefix", (DL_FUNC) &_H5Pget_elink_prefix, 3}, */
/* {"_H5Pset_elink_fapl", (DL_FUNC) &_H5Pset_elink_fapl, 2}, */
/* {"_H5Pget_elink_fapl", (DL_FUNC) &_H5Pget_elink_fapl, 1}, */
/* {"_H5Pset_elink_acc_flags", (DL_FUNC) &_H5Pset_elink_acc_flags, 2}, */
/* {"_H5Pget_elink_acc_flags", (DL_FUNC) &_H5Pget_elink_acc_flags, 2}, */
{"_H5Pset_layout", (DL_FUNC) &_H5Pset_layout, 2},
{"_H5Pget_layout", (DL_FUNC) &_H5Pget_layout, 1},
{"_H5Pset_chunk", (DL_FUNC) &_H5Pset_chunk, 2},
{"_H5Pget_chunk", (DL_FUNC) &_H5Pget_chunk, 1},
{"_H5Pset_deflate", (DL_FUNC) &_H5Pset_deflate, 2},
{"_H5Pset_fill_value", (DL_FUNC) &_H5Pset_fill_value, 3},
/* {"_H5Pget_fill_value", (DL_FUNC) &_H5Pget_fill_value, 3}, */
{"_H5Pfill_value_defined", (DL_FUNC) &_H5Pfill_value_defined, 1},
{"_H5Pset_fill_time", (DL_FUNC) &_H5Pset_fill_time, 2},
{"_H5Pget_fill_time", (DL_FUNC) &_H5Pget_fill_time, 1},
{"_H5Pset_alloc_time", (DL_FUNC) &_H5Pset_alloc_time, 2},
{"_H5Pget_alloc_time", (DL_FUNC) &_H5Pget_alloc_time, 1},
{"_H5Pset_filter", (DL_FUNC) &_H5Pset_filter, 4},
{"_H5Pall_filters_avail", (DL_FUNC) &_H5Pall_filters_avail, 1},
{"_H5Pget_nfilters", (DL_FUNC) &_H5Pget_nfilters, 1},
/* {"_H5Pget_filter1", (DL_FUNC) &_H5Pget_filter1, 7}, */
{"_H5Pget_filter", (DL_FUNC) &_H5Pget_filter, 2},
/* {"_H5Pget_filter_by_id1", (DL_FUNC) &_H5Pget_filter_by_id1, 7}, */
/* {"_H5Pget_filter_by_id2", (DL_FUNC) &_H5Pget_filter_by_id2, 8}, */
/* {"_H5Pmodify_filter", (DL_FUNC) &_H5Pmodify_filter, 5}, */
/* {"_H5Premove_filter", (DL_FUNC) &_H5Premove_filter, 2}, */
/* {"_H5Pset_fletcher32", (DL_FUNC) &_H5Pset_fletcher32, 1}, */
{"_H5Pset_nbit", (DL_FUNC) &_H5Pset_nbit, 1},
/* {"_H5Pset_scaleoffset", (DL_FUNC) &_H5Pset_scaleoffset, 3}, */
{"_H5Pset_shuffle", (DL_FUNC) &_H5Pset_shuffle, 1},
{"_H5Pset_szip", (DL_FUNC) &_H5Pset_szip, 3},
/* {"_H5Pset_external", (DL_FUNC) &_H5Pset_external, 4}, */
/* {"_H5Pget_external_count", (DL_FUNC) &_H5Pget_external_count, 1}, */
/* {"_H5Pget_external", (DL_FUNC) &_H5Pget_external, 6}, */
{"_H5Pset_chunk_cache", (DL_FUNC) &_H5Pset_chunk_cache, 4},
/* {"_H5Pget_chunk_cache", (DL_FUNC) &_H5Pget_chunk_cache, 1}, */
/* {"_H5Pset_buffer", (DL_FUNC) &_H5Pset_buffer, 4}, */
/* {"_H5Pget_buffer", (DL_FUNC) &_H5Pget_buffer, 3}, */
/* {"_H5Pset_preserve", (DL_FUNC) &_H5Pset_preserve, 2}, */
/* {"_H5Pget_preserve", (DL_FUNC) &_H5Pget_preserve, 1}, */
/* {"_H5Pset_edc_check", (DL_FUNC) &_H5Pset_edc_check, 2}, */
/* {"_H5Pget_edc_check", (DL_FUNC) &_H5Pget_edc_check, 1}, */
/* {"_H5Pset_filter_callback", (DL_FUNC) &_H5Pset_filter_callback, 3}, */
/* {"_H5Pset_data_transform", (DL_FUNC) &_H5Pset_data_transform, 2}, */
/* {"_H5Pget_data_transform", (DL_FUNC) &_H5Pget_data_transform, 3}, */
/* {"_H5Pset_type_conv_cb", (DL_FUNC) &_H5Pset_type_conv_cb, 3}, */
/* {"_H5Pget_type_conv_cb", (DL_FUNC) &_H5Pget_type_conv_cb, 3}, */
/* {"_H5Pset_hyper_vector_size", (DL_FUNC) &_H5Pset_hyper_vector_size, 2}, */
/* {"_H5Pget_hyper_vector_size", (DL_FUNC) &_H5Pget_hyper_vector_size, 2}, */
/* {"_H5Pset_btree_ratios", (DL_FUNC) &_H5Pset_btree_ratios, 4}, */
/* {"_H5Pget_btree_ratios", (DL_FUNC) &_H5Pget_btree_ratios, 4}, */
/* {"_H5Pset_vlen_mem_manager", (DL_FUNC) &_H5Pset_vlen_mem_manager, 5}, */
/* {"_H5Pget_vlen_mem_manager", (DL_FUNC) &_H5Pget_vlen_mem_manager, 5}, */
/* {"_H5Pset_dxpl_mpio", (DL_FUNC) &_H5Pset_dxpl_mpio, 2}, */
/* {"_H5Pset_dxpl_mpio_chunk_opt", (DL_FUNC) &_H5Pset_dxpl_mpio_chunk_opt, 2}, */
/* {"_H5Pset_dxpl_mpio_chunk_opt_num", (DL_FUNC) &_H5Pset_dxpl_mpio_chunk_opt_num, 2}, */
/* {"_H5Pset_dxpl_mpio_chunk_opt_ratio", (DL_FUNC) &_H5Pset_dxpl_mpio_chunk_opt_ratio, 2}, */
/* {"_H5Pset_dxpl_mpio_collective_opt", (DL_FUNC) &_H5Pset_dxpl_mpio_collective_opt, 2}, */
/* {"_H5Pget_dxpl_mpio", (DL_FUNC) &_H5Pget_dxpl_mpio, 2}, */
/* {"_H5Pget_mpio_actual_chunk_opt_mode", (DL_FUNC) &_H5Pget_mpio_actual_chunk_opt_mode, 2}, */
/* {"_H5Pget_mpio_actual_io_mode", (DL_FUNC) &_H5Pget_mpio_actual_io_mode, 2}, */
/* {"_H5Pget_mpio_no_collective_cause", (DL_FUNC) &_H5Pget_mpio_no_collective_cause, 3}, */
/* {"_H5Pset_create_intermediate_group", (DL_FUNC) &_H5Pset_create_intermediate_group, 2}, */
/* {"_H5Pget_create_intermediate_group", (DL_FUNC) &_H5Pget_create_intermediate_group, 2}, */
{"_H5Pset_obj_track_times", (DL_FUNC) &_H5Pset_obj_track_times, 2},
{"_H5Pget_obj_track_times", (DL_FUNC) &_H5Pget_obj_track_times, 1},
/* {"_H5Pset_attr_phase_change", (DL_FUNC) &_H5Pset_attr_phase_change, 3}, */
/* {"_H5Pget_attr_phase_change", (DL_FUNC) &_H5Pget_attr_phase_change, 3}, */
/* {"_H5Pset_attr_creation_order", (DL_FUNC) &_H5Pset_attr_creation_order, 2}, */
/* {"_H5Pget_attr_creation_order", (DL_FUNC) &_H5Pget_attr_creation_order, 2}, */
/* {"_H5Pset_copy_object", (DL_FUNC) &_H5Pset_copy_object, 2}, */
/* {"_H5Pget_copy_object", (DL_FUNC) &_H5Pget_copy_object, 2}, */
/* {"_H5Padd_merge_committed_dtype_path", (DL_FUNC) &_H5Padd_merge_committed_dtype_path, 2}, */
/* {"_H5Pfree_merge_committed_dtype_paths", (DL_FUNC) &_H5Pfree_merge_committed_dtype_paths, 1}, */
/* {"_H5Pset_mcdt_search_cb", (DL_FUNC) &_H5Pset_mcdt_search_cb, 3}, */
/* {"_H5Pget_mcdt_search_cb", (DL_FUNC) &_H5Pget_mcdt_search_cb, 3}, */
/* {"_H5Pset_char_encoding", (DL_FUNC) &_H5Pset_char_encoding, 2}, */
/* {"_H5Pget_char_encoding", (DL_FUNC) &_H5Pget_char_encoding, 2}, */
/* {"_H5Pcreate_class", (DL_FUNC) &_H5Pcreate_class, 8}, */
/* {"_H5Pregister1", (DL_FUNC) &_H5Pregister1, 10}, */
/* {"_H5Pregister2", (DL_FUNC) &_H5Pregister2, 11}, */
/* {"_H5Pinsert1", (DL_FUNC) &_H5Pinsert1, 9}, */
/* {"_H5Pinsert2", (DL_FUNC) &_H5Pinsert2, 10}, */
/* {"_H5Pset", (DL_FUNC) &_H5Pset, 3}, */
/* {"_H5Pexist", (DL_FUNC) &_H5Pexist, 2}, */
/* {"_H5Pget_size", (DL_FUNC) &_H5Pget_size, 3}, */
/* {"_H5Pget_nprops", (DL_FUNC) &_H5Pget_nprops, 2}, */
/* {"_H5Pget_class_name", (DL_FUNC) &_H5Pget_class_name, 1}, */
/* {"_H5Pget_class_parent", (DL_FUNC) &_H5Pget_class_parent, 1}, */
/* {"_H5Pisa_class", (DL_FUNC) &_H5Pisa_class, 2}, */
/* {"_H5Pget", (DL_FUNC) &_H5Pget, 3}, */
{"_H5Pequal", (DL_FUNC) &_H5Pequal, 2},
/* {"_H5Piterate", (DL_FUNC) &_H5Piterate, 4}, */
/* {"_H5Pcopy_prop", (DL_FUNC) &_H5Pcopy_prop, 3}, */
/* {"_H5Premove", (DL_FUNC) &_H5Premove, 2}, */
/* {"_H5Punregister", (DL_FUNC) &_H5Punregister, 2}, */
{"_H5Zfilter_avail", (DL_FUNC) &_H5Zfilter_avail, 1},
{"_h5ls", (DL_FUNC) &_h5ls, 6},
{"_h5dump", (DL_FUNC) &_h5dump, 4},
{"_h5listIdentifier", (DL_FUNC) &_h5listIdentifier, 0},
{"_h5validObjects", (DL_FUNC) &_h5validObjects, 0},
/* {"_listHandles", (DL_FUNC) &_listHandles, 0}, */
{"_handleInfo", (DL_FUNC) &_handleInfo, 1},
{"_getDatatypeName", (DL_FUNC) &_getDatatypeName, 1},
{"_getDatatypeClass", (DL_FUNC) &_getDatatypeClass, 1},
{"_h5writeDataFrame", (DL_FUNC) &_h5writeDataFrame, 2},
{"_h5createDataFrame", (DL_FUNC) &_h5createDataFrame, 5},
{"_h5errorHandling", (DL_FUNC) &_h5errorHandling, 1},
{"_h5fileLock", (DL_FUNC) &_h5fileLock, 1},
{"_h5listOpenObjects", (DL_FUNC) &_h5listOpenObjects, 1},
{"_h5getEnumNames", (DL_FUNC) &_h5getEnumNames, 1},
{"_h5getEnumValues", (DL_FUNC) &_h5getEnumValues, 1},
{"_H5PLprepend", (DL_FUNC) &_H5PLprepend, 1},
{"_H5PLsize", (DL_FUNC) &_H5PLsize, 0},
{"_H5PLget", (DL_FUNC) &_H5PLget, 1},
#ifdef _H5P_filters
{"_H5Pset_lzf", (DL_FUNC) &_H5Pset_lzf, 2},
{"_H5Pset_bzip2", (DL_FUNC) &_H5Pset_bzip2, 2},
{"_H5Pset_blosc", (DL_FUNC) &_H5Pset_blosc, 6},
#endif
{NULL, NULL, 0}
};
void R_init_rhdf5 (DllInfo * winDll) {
R_registerRoutines (winDll, NULL, libraryRCalls, NULL, NULL);
R_useDynamicSymbols (winDll, FALSE);
}
SEXP HID_2_CHARSXP(hid_t hid) {
char tmp_string[21];
snprintf(tmp_string, 21, "%lld", (long long) hid);
return(mkChar(tmp_string));
}
SEXP HID_2_STRSXP(hid_t hid) {
char tmp_string[21];
snprintf(tmp_string, 21, "%lld", (long long) hid);
return(mkString(tmp_string));
}