libsqsh v1.5.2
Loading...
Searching...
No Matches
sqsh_common.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Include dependency graph for sqsh_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SQSH_STATIC_ASSERT(cond)   _Static_assert(cond, #cond)
 Static assert.
 
#define SQSH_NO_UNUSED   __attribute__((warn_unused_result))
 Warn if return value is unused.
 
#define SQSH_NO_EXPORT   __attribute__((visibility("hidden")))
 Do not export symbol.
 

Typedefs

typedef size_t sqsh_index_t
 typedef used for indexing
 

Detailed Description

Author
Enno Boland (mail@.nosp@m.ebol.nosp@m.and.d.nosp@m.e)

Definition in file sqsh_common.h.

Macro Definition Documentation

◆ SQSH_NO_EXPORT

#define SQSH_NO_EXPORT   __attribute__((visibility("hidden")))

Do not export symbol.

Definition at line 64 of file sqsh_common.h.

◆ SQSH_NO_UNUSED

#define SQSH_NO_UNUSED   __attribute__((warn_unused_result))

Warn if return value is unused.

Definition at line 59 of file sqsh_common.h.

◆ SQSH_STATIC_ASSERT

#define SQSH_STATIC_ASSERT ( cond)    _Static_assert(cond, #cond)

Static assert.

Parameters
condCondition to assert

Definition at line 53 of file sqsh_common.h.

Typedef Documentation

◆ sqsh_index_t

typedef size_t sqsh_index_t

typedef used for indexing

Definition at line 69 of file sqsh_common.h.