move definitions common to both plug-ins and stubs to api.h (part of patch #2359978)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f6e4fefbf5
commit
4859b8702e
5 changed files with 5 additions and 60 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "plugin.h"
|
||||
#include "lang.h"
|
||||
#include "resource.h"
|
||||
#include "api.h"
|
||||
|
||||
#define EXEC_ERROR 0x7FFFFFFF
|
||||
|
||||
|
@ -45,12 +46,7 @@ static stack_t *g_st;
|
|||
exec_flags g_exec_flags;
|
||||
exec_flags g_exec_flags_last_used;
|
||||
|
||||
struct {
|
||||
exec_flags *flags;
|
||||
void *ExecuteCodeSegment;
|
||||
void *validate_filename;
|
||||
void *RegisterPluginCallback;
|
||||
} plugin_extra_parameters = {
|
||||
extra_parameters plugin_extra_parameters = {
|
||||
&g_exec_flags,
|
||||
&ExecuteCodeSegment,
|
||||
&validate_filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue