Renamed my_alloc to my_GlobalAlloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@954 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f92b6409f1
commit
3a65507878
5 changed files with 12 additions and 12 deletions
|
@ -636,7 +636,7 @@ static int NSISCALL ExecuteEntry(entry *entries, int pos)
|
|||
}
|
||||
else
|
||||
{
|
||||
s=(stack_t*)my_alloc(sizeof(stack_t));
|
||||
s=(stack_t*)my_GlobalAlloc(sizeof(stack_t));
|
||||
process_string_fromtab(s->text,parm0);
|
||||
s->next=g_st;
|
||||
g_st=s;
|
||||
|
@ -783,7 +783,7 @@ static int NSISCALL ExecuteEntry(entry *entries, int pos)
|
|||
if (s1)
|
||||
{
|
||||
void *b1;
|
||||
b1=my_alloc(s1);
|
||||
b1=my_GlobalAlloc(s1);
|
||||
if (b1)
|
||||
{
|
||||
UINT uLen;
|
||||
|
@ -1269,7 +1269,7 @@ static int NSISCALL ExecuteEntry(entry *entries, int pos)
|
|||
{
|
||||
unsigned char *filebuf;
|
||||
DWORD l;
|
||||
filebuf=(unsigned char *)my_alloc(g_filehdrsize);
|
||||
filebuf=(unsigned char *)my_GlobalAlloc(g_filehdrsize);
|
||||
if (filebuf)
|
||||
{
|
||||
int fixoffs=0;
|
||||
|
@ -1278,7 +1278,7 @@ static int NSISCALL ExecuteEntry(entry *entries, int pos)
|
|||
if (g_inst_header->uninstdata_offset != -1)
|
||||
{
|
||||
// Changed by Amir Szekely 11th July 2002
|
||||
unsigned char* unicon_data = (unsigned char*)my_alloc(g_inst_header->uninsticon_size);
|
||||
unsigned char* unicon_data = (unsigned char*)my_GlobalAlloc(g_inst_header->uninsticon_size);
|
||||
if (unicon_data) {
|
||||
DWORD i;
|
||||
unsigned char* seeker = unicon_data + sizeof(DWORD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue