File: myhdf5.h

package info (click to toggle)
r-bioc-rhdf5 2.34.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,644 kB
  • sloc: ansic: 6,278; cpp: 91; sh: 19; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _MYHDF5_H
#define _MYHDF5_H

#ifndef SEXP
#include <Rdefines.h>
#endif

#ifdef WINDOWS
#include "includeWin/hdf5.h"
#else
#include <hdf5.h>
#endif

#define STRSXP_2_HID(x) (atoll(CHAR(asChar(x))));

SEXP HID_2_CHARSXP(hid_t hid);
SEXP HID_2_STRSXP(hid_t hid);

#endif