Sha256: f58b294593a4b5ede56ab55e5f984c22ea0c07c4bd19dfded38851f89d69e554

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

#ifndef UNUSED_H
#define UNUSED_H

#ifdef UNUSED
#elif defined(__GNUC__)
#define UNUSED(x) UNUSED_##x __attribute__((unused))
#elif defined(__LCLINT__)
#define UNUSED(x) /*@unused@*/ x
#else
#define UNUSED(x) x
#endif

#define SUCCESS 1
#define FAILURE 0

NORETURN(void raise_last_exception());
void save_exception(VALUE exception, const char *fmt, ...);
int with_exception(VALUE exception, const char *fmt, ...);

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
prometheus-client-mmap-0.9.1.pre.rc.1 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.0.pre.rc.1 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.0 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.7.0.beta45.10 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.7.0.beta45.9 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.7.0.beta45.8 ext/fast_mmaped_file/utils.h