libcdsb/include/__attributes.h

13 lines
497 B
C
Raw Normal View History

2022-06-02 11:20:55 +00:00
/* This software is licensed by the MIT License, see LICENSE file */
/* Copyright © 2022 Gregory Lirent */
#ifndef LIBCDSB_CORE_ATTRIBUTES_H
#define LIBCDSB_CORE_ATTRIBUTES_H
2022-08-15 22:36:37 +00: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 11:20:55 +00:00
#endif /* LIBCDSB_CORE_ATTRIBUTES_H */