Commit fb6a4ec2 authored by Nicolas Denoyelle's avatar Nicolas Denoyelle

macro indentation

parent bf373d5c
...@@ -82,18 +82,18 @@ int excit_get_func_table(excit_t it, struct excit_func_table_s **func_table) ...@@ -82,18 +82,18 @@ int excit_get_func_table(excit_t it, struct excit_func_table_s **func_table)
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
#define ALLOC_EXCIT(op) { \ #define ALLOC_EXCIT(op) {\
it = malloc(sizeof(struct excit_s) + sizeof(struct op## _it_s)); \ it = malloc(sizeof(struct excit_s) + sizeof(struct op## _it_s));\
if (!it) \ if (!it)\
return NULL; \ return NULL;\
it->data = (void *)((char *)it + sizeof(struct excit_s)); \ it->data = (void *)((char *)it + sizeof(struct excit_s));\
if (!excit_ ##op## _func_table.alloc) \ if (!excit_ ##op## _func_table.alloc)\
goto error; \ goto error;\
it->func_table = &excit_ ##op## _func_table; \ it->func_table = &excit_ ##op## _func_table;\
it->dimension = 0; \ it->dimension = 0;\
if (excit_ ##op## _func_table.alloc(it)) \ if (excit_ ##op## _func_table.alloc(it))\
goto error; \ goto error;\
} }
excit_t excit_alloc(enum excit_type_e type) excit_t excit_alloc(enum excit_type_e type)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment