|
From: | Jean-Christophe PLAGNIOL-VILLARD |
Subject: | Re: [Qemu-devel] [PATCH 1/4] Add module infrastructure to QEMU |
Date: | Mon, 11 May 2009 23:53:25 +0200 |
User-agent: | Mutt/1.5.18 (2008-05-17) |
> +#ifndef QEMU_MODULE_H > +#define QEMU_MODULE_H > + > +#define module_init(function, priority) \ > +static void __attribute__((constructor)) qemu_init_ ## function(void) { \ > + register_module_init(function, priority); \ > +} why not use the constructor priority? Best Regards, J.
[Prev in Thread] | Current Thread | [Next in Thread] |