/usr/lib/R/site-library/IRanges/include/IRanges_defines.h is in r-bioc-iranges 2.12.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /*****************************************************************************
IRanges C interface: typedefs and defines
-----------------------------------------
The IRanges C interface is split in 2 files:
1. IRanges_defines.h (this file): contains the typedefs and defines
of the interface.
2. IRanges_interface.h (in this directory): contains the prototypes
of the IRanges C routines that are part of the interface.
Please consult IRanges_interface.h for how to use this interface in your
package.
*****************************************************************************/
#ifndef IRANGES_DEFINES_H
#define IRANGES_DEFINES_H
#include "S4Vectors_defines.h"
#include <Rdefines.h>
#include <R_ext/Rdynload.h>
/*
* *_holder structs.
*/
typedef struct compressed_chars_list_holder {
int length;
const char *unlisted;
const int *breakpoints;
} CompressedCharsList_holder;
typedef struct compressed_ints_list_holder {
int length;
const int *unlisted;
const int *breakpoints;
} CompressedIntsList_holder;
typedef struct compressed_doubles_list_holder {
int length;
const double *unlisted;
const int *breakpoints;
} CompressedDoublesList_holder;
typedef struct iranges_holder {
const char *classname;
int is_constant_width;
int length;
const int *width;
const int *start;
const int *end;
int SEXP_offset; /* offset in 'names' member below */
SEXP names;
} IRanges_holder;
typedef struct compressed_iranges_list_holder {
const char *classname;
int length;
const int *end;
IRanges_holder unlistData_holder;
} CompressedIRangesList_holder;
#endif
|