fix ARRAY_TYPE decl
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5876b3cc70
commit
f5f0663bf1
|
@ -29,7 +29,7 @@
|
||||||
typedef struct pfx##_array_t { \
|
typedef struct pfx##_array_t { \
|
||||||
type_t *tab; \
|
type_t *tab; \
|
||||||
int len, size; \
|
int len, size; \
|
||||||
} pfx##_array_t
|
} pfx##_array_t;
|
||||||
|
|
||||||
#define ARRAY_FUNCS(type_t, pfx, dtor) \
|
#define ARRAY_FUNCS(type_t, pfx, dtor) \
|
||||||
static inline pfx##_array_t * pfx##_array_new(void) { \
|
static inline pfx##_array_t * pfx##_array_new(void) { \
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "common/array.h"
|
#include "common/array.h"
|
||||||
#include "keybinding.h"
|
#include "keybinding.h"
|
||||||
|
|
||||||
ARRAY_TYPE(keybinding_t *, keybinding);
|
ARRAY_TYPE(keybinding_t *, keybinding)
|
||||||
|
|
||||||
extern awesome_t globalconf;
|
extern awesome_t globalconf;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue