Move module object inside MODULE_INFO
This allows modules to only expose one entry point with a consistent signature. In the future, this could be used to implement declarations of module parameters.
This commit is contained in:
@ -193,7 +193,7 @@ protected:
|
||||
* The plugin function @c GetModuleObject is then implemented as follows:
|
||||
*
|
||||
* @code
|
||||
* extern "C" FILTER_OBJECT *GetModuleObject()
|
||||
* extern "C" MODULE_INFO* GetModuleObject()
|
||||
* {
|
||||
* return &MyFilter::s_object;
|
||||
* };
|
||||
|
Reference in New Issue
Block a user