libcdsb/include/__attributes.h

13 lines
497 B
C
Raw 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 */
#ifndef LIBCDSB_CORE_ATTRIBUTES_H
#define LIBCDSB_CORE_ATTRIBUTES_H
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
#endif /* LIBCDSB_CORE_ATTRIBUTES_H */