libcdsb/include/bits/__attributes.h

13 lines
497 B
C
Raw Permalink Normal View History

2022-06-02 14:20:55 +03:00
/* This software is licensed by the MIT License, see LICENSE file */
/* Copyright © 2022 Gregory Lirent */
2022-08-22 11:56:16 +03:00
#ifndef LIBCDSB_BITS_ATTRIBUTES_H
#define LIBCDSB_BITS_ATTRIBUTES_H
2022-06-02 14:20:55 +03:00
2022-08-16 01:36:37 +03:00
#define Pure__ __attribute__ ((pure))
#define Always_inline__ __attribute__ ((always_inline))
#define Warn_unused_result__ __attribute__ ((warn_unused_result))
#define Nonnull__(...) __attribute__ ((nonnull (__VA_ARGS__)))
2022-06-02 14:20:55 +03:00
2022-08-22 11:56:16 +03:00
#endif /* LIBCDSB_BITS_ATTRIBUTES_H */