blosc2-src 0.1.4

FFI bindings for c-blosc2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef TEMPLATE_H
#define TEMPLATE_H


/* concatenation */
#define _cat2(x, y)    x ## _ ## y

#define _cat3(x, y, z) x ## _ ## y ## _ ## z


/* 1- and 2-argument function templates */
#define _t1(function, arg)        _cat2(function, arg)

#define _t2(function, type, dims) _cat3(function, type, dims)


#endif