Sha256: 0dd94beb6b15eae684f27621fe9ad6236aef545fe454e973ba3147359fca51b2

Contents?: true

Size: 487 Bytes

Versions: 12

Compression:

Stored size: 487 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, ...);
int with_exception_errno(VALUE exception, const char *fmt, ...);

#endif

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
prometheus-client-mmap-0.10.0 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.10 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.9 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.8 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.7 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.6 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.5 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.4 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.3 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.2 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.1 ext/fast_mmaped_file/utils.h
prometheus-client-mmap-0.9.1.pre.rc.2 ext/fast_mmaped_file/utils.h