X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbemodule.h;h=6cb05ab0297a7d37cbe16ab913970fd3286df43a;hb=c6571686bfbfb3c87ae24ae1dc568e685d6cd49a;hp=95e6911e153021b99e2f112e8e41051f64b625ef;hpb=049e7746fb729a28e90e69f02899c76c7b98b275;p=libfirm diff --git a/ir/be/bemodule.h b/ir/be/bemodule.h index 95e6911e1..6cb05ab02 100644 --- a/ir/be/bemodule.h +++ b/ir/be/bemodule.h @@ -22,7 +22,6 @@ * @brief Backend module interface. * @author Matthias Braun * @date 11.12.2006 - * @version $Id$ */ #ifndef FIRM_BE_BEMODULE_H #define FIRM_BE_BEMODULE_H @@ -32,13 +31,17 @@ * Currently you have to add modules manually in the list in bemodule.c. * However future extensions might allow them to be automatically discovered * when they are marked with BE_REGISTER_MODULE_CONSTRUCTOR + * + * Add this before your constructor as it will declare the function */ -#define BE_REGISTER_MODULE_CONSTRUCTOR(func) +#define BE_REGISTER_MODULE_CONSTRUCTOR(func) void func(void); /** * Mark a function as module destructor. + * + * Add this before your constructor as it will declare the function */ -#define BE_REGISTER_MODULE_DESTRUCTOR(func) +#define BE_REGISTER_MODULE_DESTRUCTOR(func) void func(void); /** * Call all module constructors