libcdsb/include/bits/__attributes.h
2022-08-22 11:56:16 +03:00

13 lines
497 B
C

/* This software is licensed by the MIT License, see LICENSE file */
/* Copyright © 2022 Gregory Lirent */
#ifndef LIBCDSB_BITS_ATTRIBUTES_H
#define LIBCDSB_BITS_ATTRIBUTES_H
#define Pure__ __attribute__ ((pure))
#define Always_inline__ __attribute__ ((always_inline))
#define Warn_unused_result__ __attribute__ ((warn_unused_result))
#define Nonnull__(...) __attribute__ ((nonnull (__VA_ARGS__)))
#endif /* LIBCDSB_BITS_ATTRIBUTES_H */