some more functions, required by nsDialogs and probably more plug-ins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5834 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e1a741ef08
commit
7ee44a65dc
2 changed files with 141 additions and 0 deletions
|
@ -56,7 +56,13 @@ extern stack_t **g_stacktop;
|
|||
extern char *g_variables;
|
||||
|
||||
int NSISCALL popstring(char *str); // 0 on success, 1 on empty stack
|
||||
int NSISCALL popstringn(char *str, int maxlen); // with length limit, pass 0 for g_stringsize
|
||||
int NSISCALL popint(); // pops an integer
|
||||
int NSISCALL popint_or(); // with support for or'ing (2|4|8)
|
||||
int NSISCALL myatoi(const char *s); // converts a string to an integer
|
||||
int NSISCALL myatoi_or(const char *s); // with support for or'ing (2|4|8)
|
||||
void NSISCALL pushstring(const char *str);
|
||||
void NSISCALL pushint(int value);
|
||||
char * NSISCALL getuservariable(const int varnum);
|
||||
void NSISCALL setuservariable(const int varnum, const char *var);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue