author | Dan |
Thu, 17 Dec 2009 05:32:39 -0500 | |
changeset 19 | 6c9560a32dc7 |
parent 0 | d5ce4c64ef88 |
permissions | -rwxr-xr-x |
0
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
1 |
##################################################### |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
2 |
# NSISArray.nsh by Afrow UK |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
3 |
# Array script header for NSISArray plugin by Afrow UK |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
4 |
# For usage, see Docs\NSISArray\Readme.html |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
5 |
# |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
6 |
# Script header v1.3 (RC3) |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
7 |
# Only for use with the same plugin version. |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
8 |
# |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
9 |
# Last modified: 28th April 2005 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
10 |
# |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
11 |
# |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
12 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
13 |
!ifndef NSISArray |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
14 |
!define NSISArray |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
15 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
16 |
!macro Array Name Size StrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
17 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
18 |
!ifndef Array_ScriptHeaderInited |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
19 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
20 |
!ifdef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
21 |
!define ArrayPluginDLL `${ArrayCallInstDLL}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
22 |
!else ifndef ArrayPluginDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
23 |
!define ArrayPluginDLL `NSISArray` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
24 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
25 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
26 |
!ifndef ArrayValVar |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
27 |
Var ArrayVal |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
28 |
!define ArrayValVar $ArrayVal |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
29 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
30 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
31 |
!ifndef ArrayErrVar |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
32 |
Var ArrayErr |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
33 |
!define ArrayErrVar $ArrayErr |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
34 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
35 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
36 |
!define Array_ScriptHeaderInited |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
37 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
38 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
39 |
!ifndef `Array_${Name}_Declared` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
40 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
41 |
!ifdef Array_Obj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
42 |
!undef Array_Obj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
43 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
44 |
!define Array_Obj `->` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
45 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
46 |
!ifdef ArrayObj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
47 |
!undef ArrayObj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
48 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
49 |
!define ArrayObj `!insertmacro ArrayObj` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
50 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
51 |
!ifdef Array_Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
52 |
!undef Array_Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
53 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
54 |
!define Array_Name "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
55 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
56 |
!ifdef Array_Size |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
57 |
!undef Array_Size |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
58 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
59 |
!define Array_Size "${Size}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
60 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
61 |
!ifdef Array_StrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
62 |
!undef Array_StrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
63 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
64 |
!define Array_StrLen "${StrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
65 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
66 |
!define `Array_${Name}_Declared` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
67 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
68 |
!error "NSISArray: You cannot declare more than one array with the same name." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
69 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
70 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
71 |
!define Array `!insertmacro Array` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
72 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
73 |
!macro ArrayObj Obj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
74 |
!ifdef Array_Obj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
75 |
!undef Array_Obj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
76 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
77 |
!define Array_Obj `${Obj}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
78 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
79 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
80 |
!macro Array_ObjErr Null |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
81 |
!error "NSISArray: You can only set the array object style once." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
82 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
83 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
84 |
!macro ArrayFunc Func |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
85 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
86 |
!define `Func_${Func}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
87 |
!ifdef Func_Inited \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
88 |
| Func_Print \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
89 |
| Func_Write \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
90 |
| Func_WriteList \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
91 |
| Func_WriteListC \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
92 |
| Func_Put \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
93 |
| Func_Read \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
94 |
| Func_ReadToStack \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
95 |
| Func_Cut \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
96 |
| Func_Push \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
97 |
| Func_Pop \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
98 |
| Func_Shift \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
99 |
| Func_Unshift \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
100 |
| Func_Reverse \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
101 |
| Func_Sort \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
102 |
| Func_Clear \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
103 |
| Func_Splice \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
104 |
| Func_Swap \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
105 |
| Func_Copy \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
106 |
| Func_Join \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
107 |
| Func_Concat \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
108 |
| Func_Exists \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
109 |
| Func_ExistsI \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
110 |
| Func_Search \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
111 |
| Func_SearchI \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
112 |
| Func_SizeOf \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
113 |
| Func_ReadFirst \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
114 |
| Func_ReadNext \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
115 |
| Func_ReadClose \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
116 |
| Func_Debug \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
117 |
| Func_SetSize \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
118 |
| Func_ReDim \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
119 |
| Func_FreeUnusedMem |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
120 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
121 |
!ifndef Array_Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
122 |
!error "NSISArray: Please declare an array before declaring functions." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
123 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
124 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
125 |
!ifndef `Array_FuncDefined_${Array_Name}${Func}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
126 |
!define `Array_FuncDefined_${Array_Name}${Func}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
127 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
128 |
!error "NSISArray: You cannot declare a function more than once." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
129 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
130 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
131 |
!ifdef ArrayObj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
132 |
!undef ArrayObj |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
133 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
134 |
!define ArrayObj `!insertmacro Array_ObjErr` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
135 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
136 |
!ifndef "${Array_Name}${Array_Obj}Init" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
137 |
!define "${Array_Name}${Array_Obj}Init" `!insertmacro Array_Init "${Array_Name}" "${Array_Size}" "${Array_StrLen}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
138 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
139 |
!ifndef "${Array_Name}${Array_Obj}Delete" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
140 |
!define "${Array_Name}${Array_Obj}Delete" `!insertmacro Array_Delete "${Array_Name}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
141 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
142 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
143 |
!ifdef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
144 |
!ifdef Func_WriteList |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
145 |
!define "${Array_Name}${Array_Obj}WriteListBegin" `!insertmacro Array_WriteListBegin ` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
146 |
!define "${Array_Name}${Array_Obj}WriteListItem" `!insertmacro Array_WriteListItem` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
147 |
!define "${Array_Name}${Array_Obj}WriteListEnd" `!insertmacro Array_WriteListEnd "${Array_Name}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
148 |
!else \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
149 |
ifdef Func_Splice |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
150 |
!define "${Array_Name}${Array_Obj}SpliceBegin" `!insertmacro Array_SpliceBegin ` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
151 |
!define "${Array_Name}${Array_Obj}SpliceItem" `!insertmacro Array_SpliceItem` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
152 |
!define "${Array_Name}${Array_Obj}SpliceEnd" `!insertmacro Array_SpliceEnd "${Array_Name}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
153 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
154 |
!define "${Array_Name}${Array_Obj}${Func}" `!insertmacro Array_${Func} "${Array_Name}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
155 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
156 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
157 |
!define "${Array_Name}${Array_Obj}${Func}" `!insertmacro Array_${Func} "${Array_Name}"` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
158 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
159 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
160 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
161 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
162 |
!else \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
163 |
ifdef Func_Init \ |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
164 |
| Func_Delete |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
165 |
!error "NSISArray: You do not need to declare the Init and Delete functions." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
166 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
167 |
!error "NSISArray: An invalid function Name has been declared." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
168 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
169 |
!undef `Func_${Func}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
170 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
171 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
172 |
!define ArrayFunc `!insertmacro ArrayFunc` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
173 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
174 |
!macro Array_ErrorStyle ErrorStyle |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
175 |
!define `ErrorStyle_${ErrorStyle}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
176 |
!ifdef ErrorStyle_logwin |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
177 |
!define ErrorStyleNum 5 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
178 |
!else ifdef ErrorStyle_msgbox |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
179 |
!define ErrorStyleNum 3 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
180 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
181 |
!define ErrorStyleNum 1 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
182 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
183 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
184 |
${ArrayPluginDLL}::ErrorStyle /NOUNLOAD "${ErrorStyleNum}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
185 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
186 |
Push "${ErrorStyleNum}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
187 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ErrorStyle |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
188 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
189 |
!undef ErrorStyleNum |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
190 |
!undef `ErrorStyle_${ErrorStyle}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
191 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
192 |
!define ArrayErrorStyle `!insertmacro Array_ErrorStyle` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
193 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
194 |
!macro Array_PopErrVar |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
195 |
Pop "${ArrayErrVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
196 |
!ifdef ArraySetErrors |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
197 |
StrCmp "${ArrayErrVar}" 0 +2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
198 |
SetErrors |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
199 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
200 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
201 |
!define Array_PopErrVar `!insertmacro Array_PopErrVar` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
202 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
203 |
!macro Array_Init Name Size StrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
204 |
!ifndef `Array_${Name}_Inited` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
205 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
206 |
${ArrayPluginDLL}::ErrorStyle /NOUNLOAD "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
207 |
Pop "${ArrayErrVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
208 |
StrCmp "${ArrayErrVar}" 3 +3 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
209 |
StrCmp "${ArrayErrVar}" 5 +2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
210 |
${ArrayPluginDLL}::ErrorStyle /NOUNLOAD "1" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
211 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
212 |
Push "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
213 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ErrorStyle |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
214 |
Pop "${ArrayErrVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
215 |
StrCmp "${ArrayErrVar}" 3 +4 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
216 |
StrCmp "${ArrayErrVar}" 5 +3 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
217 |
Push "1" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
218 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ErrorStyle |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
219 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
220 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
221 |
${ArrayPluginDLL}::New /NOUNLOAD "${Name}" "${Size}" "${StrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
222 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
223 |
Push "${StrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
224 |
Push "${Size}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
225 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
226 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD New |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
227 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
228 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
229 |
!define `Array_${Name}_Inited` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
230 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
231 |
!error "NSISArray: An array can only be initialised once." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
232 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
233 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
234 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
235 |
!macro Array_Delete Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
236 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
237 |
${ArrayPluginDLL}::Delete /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
238 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
239 |
${ArrayPluginDLL}::ArrayCount /NOUNLOAD |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
240 |
Pop "${ArrayValVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
241 |
StrCmp "${ArrayValVar}" 0 0 +2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
242 |
${ArrayPluginDLL}::Unload |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
243 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
244 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
245 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Delete |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
246 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
247 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ArrayCount |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
248 |
Pop "${ArrayValVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
249 |
StrCmp "${ArrayValVar}" 0 0 +2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
250 |
CallInstDLL `${ArrayPluginDLL}` Unload |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
251 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
252 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
253 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
254 |
!macro Array_ReDim Name Size StrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
255 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
256 |
${ArrayPluginDLL}::ReDim /NOUNLOAD "${Name}" "${Size}" "${StrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
257 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
258 |
Push "${StrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
259 |
Push "${Size}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
260 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
261 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ReDim |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
262 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
263 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
264 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
265 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
266 |
!macro Array_FreeUnusedMem Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
267 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
268 |
${ArrayPluginDLL}::FreeUnusedMem /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
269 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
270 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
271 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD FreeUnusedMem |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
272 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
273 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
274 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
275 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
276 |
!macro Array_Inited Name JumpInited JumpNotInited |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
277 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
278 |
${ArrayPluginDLL}::ArrayExists /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
279 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
280 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
281 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ArrayExists |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
282 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
283 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
284 |
Pop "${ArrayValVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
285 |
StrCmp "${ArrayValVar}" 1 "${JumpInited}" "${JumpNotInited}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
286 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
287 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
288 |
!macro Array_Write Name Index Value |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
289 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
290 |
${ArrayPluginDLL}::Write /NOUNLOAD "${Name}" "${Index}" "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
291 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
292 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
293 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
294 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
295 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Write |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
296 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
297 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
298 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
299 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
300 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
301 |
!macro Array_WriteList Name List |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
302 |
${ArrayPluginDLL}::WriteList /NOUNLOAD "${Name}" ${List} "/END" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
303 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
304 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
305 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
306 |
!macro Array_WriteListBegin |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
307 |
Push "/END" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
308 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
309 |
!macro Array_WriteListItem Item |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
310 |
Push `${Item}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
311 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
312 |
!macro Array_WriteListEnd Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
313 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
314 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD WriteList |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
315 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
316 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
317 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
318 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
319 |
!macro Array_WriteListC Name List Char |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
320 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
321 |
${ArrayPluginDLL}::WriteListC /NOUNLOAD "${Name}" "${List}" "${Char}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
322 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
323 |
Push "${Char}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
324 |
Push "${List}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
325 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
326 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD WriteListC |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
327 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
328 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
329 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
330 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
331 |
!macro Array_Put Name Index Value |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
332 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
333 |
${ArrayPluginDLL}::Put /NOUNLOAD "${Name}" "${Index}" "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
334 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
335 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
336 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
337 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
338 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Put |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
339 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
340 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
341 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
342 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
343 |
!macro Array_Read Name Var Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
344 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
345 |
${ArrayPluginDLL}::Read /NOUNLOAD "${Name}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
346 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
347 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
348 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
349 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Read |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
350 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
351 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
352 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
353 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
354 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
355 |
!macro Array_ReadToStack Name IndexA IndexB |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
356 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
357 |
${ArrayPluginDLL}::ReadToStack /NOUNLOAD "${Name}" "${IndexA}" "${IndexB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
358 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
359 |
Push "${IndexB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
360 |
Push "${IndexA}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
361 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
362 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ReadToStack |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
363 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
364 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
365 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
366 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
367 |
!macro Array_Cut Name Var Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
368 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
369 |
${ArrayPluginDLL}::Cut /NOUNLOAD "${Name}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
370 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
371 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
372 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
373 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Cut |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
374 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
375 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
376 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
377 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
378 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
379 |
!macro Array_Push Name Value |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
380 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
381 |
${ArrayPluginDLL}::Push /NOUNLOAD "${Name}" "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
382 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
383 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
384 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
385 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Push |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
386 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
387 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
388 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
389 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
390 |
!macro Array_Pop Name Var |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
391 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
392 |
${ArrayPluginDLL}::Pop /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
393 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
394 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
395 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Pop |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
396 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
397 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
398 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
399 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
400 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
401 |
!macro Array_Shift Name Value |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
402 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
403 |
${ArrayPluginDLL}::Shift /NOUNLOAD "${Name}" "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
404 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
405 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
406 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
407 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Shift |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
408 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
409 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
410 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
411 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
412 |
!macro Array_Unshift Name Var |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
413 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
414 |
${ArrayPluginDLL}::Unshift /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
415 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
416 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
417 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Unshift |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
418 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
419 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
420 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
421 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
422 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
423 |
!macro Array_Reverse Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
424 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
425 |
${ArrayPluginDLL}::Reverse /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
426 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
427 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
428 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Reverse |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
429 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
430 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
431 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
432 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
433 |
!macro Array_Sort NameA NameB |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
434 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
435 |
${ArrayPluginDLL}::Sort /NOUNLOAD "${NameA}" "${NameB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
436 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
437 |
Push "${NameB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
438 |
Push "${NameA}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
439 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Sort |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
440 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
441 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
442 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
443 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
444 |
!macro Array_Clear Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
445 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
446 |
${ArrayPluginDLL}::Clear /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
447 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
448 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
449 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Clear |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
450 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
451 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
452 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
453 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
454 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
455 |
!macro Array_Splice Name IndexA IndexB List |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
456 |
${ArrayPluginDLL}::Splice /NOUNLOAD "${Name}" "${IndexA}" "${IndexB}" ${List} "/END" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
457 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
458 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
459 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
460 |
!macro Array_SpliceBegin IndexA IndexB |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
461 |
!define Array_Splice_IndexA `${IndexA}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
462 |
!define Array_Splice_IndexB `${IndexB}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
463 |
Push "/END" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
464 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
465 |
!macro Array_SpliceItem Item |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
466 |
Push `${Item}` |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
467 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
468 |
!macro Array_SpliceEnd Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
469 |
Push "${Array_Splice_IndexB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
470 |
Push "${Array_Splice_IndexA}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
471 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
472 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Splice |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
473 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
474 |
!undef Array_Splice_IndexB |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
475 |
!undef Array_Splice_IndexA |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
476 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
477 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
478 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
479 |
!macro Array_Swap Name IndexA IndexB |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
480 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
481 |
${ArrayPluginDLL}::Swap /NOUNLOAD "${Name}" "${IndexA}" "${IndexB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
482 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
483 |
Push "${IndexB}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
484 |
Push "${IndexA}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
485 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
486 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Swap |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
487 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
488 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
489 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
490 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
491 |
!macro Array_Copy Name ToArray |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
492 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
493 |
${ArrayPluginDLL}::Copy /NOUNLOAD "${Name}" "${ToArray}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
494 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
495 |
Push "${ToArray}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
496 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
497 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Copy |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
498 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
499 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
500 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
501 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
502 |
!macro Array_Join Name ToArray |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
503 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
504 |
${ArrayPluginDLL}::Join /NOUNLOAD "${Name}" "${ToArray}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
505 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
506 |
Push "${ToArray}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
507 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
508 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Join |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
509 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
510 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
511 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
512 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
513 |
!macro Array_Concat Name Var Chars |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
514 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
515 |
${ArrayPluginDLL}::Concat /NOUNLOAD "${Name}" "${Chars}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
516 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
517 |
Push "${Chars}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
518 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
519 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Concat |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
520 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
521 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
522 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
523 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
524 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
525 |
!macro Array_Exists Name Var Value Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
526 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
527 |
${ArrayPluginDLL}::Exists /NOUNLOAD "${Name}" "${Value}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
528 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
529 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
530 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
531 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
532 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Exists |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
533 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
534 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
535 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
536 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
537 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
538 |
!macro Array_ExistsI Name Var Value Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
539 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
540 |
${ArrayPluginDLL}::ExistsI /NOUNLOAD "${Name}" "${Value}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
541 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
542 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
543 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
544 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
545 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD ExistsI |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
546 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
547 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
548 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
549 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
550 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
551 |
!macro Array_Search Name Var Value Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
552 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
553 |
${ArrayPluginDLL}::Search /NOUNLOAD "${Name}" "${Value}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
554 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
555 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
556 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
557 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
558 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Search |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
559 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
560 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
561 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
562 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
563 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
564 |
!macro Array_SearchI Name Var Value Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
565 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
566 |
${ArrayPluginDLL}::SearchI /NOUNLOAD "${Name}" "${Value}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
567 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
568 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
569 |
Push "${Value}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
570 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
571 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD SearchI |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
572 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
573 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
574 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
575 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
576 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
577 |
!macro Array_SizeOf Name VarItems VarSize VarStrLen |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
578 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
579 |
${ArrayPluginDLL}::SizeOf /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
580 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
581 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
582 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD SizeOf |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
583 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
584 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
585 |
Pop "${VarStrLen}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
586 |
Pop "${VarSize}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
587 |
Pop "${VarItems}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
588 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
589 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
590 |
!macro Array_Debug Name |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
591 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
592 |
${ArrayPluginDLL}::Debug /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
593 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
594 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
595 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Debug |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
596 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
597 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
598 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
599 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
600 |
!macro Array_SetSize Name Size |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
601 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
602 |
${ArrayPluginDLL}::SetSize /NOUNLOAD "${Name}" "${Size}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
603 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
604 |
Push "${Size}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
605 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
606 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD SetSize |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
607 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
608 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
609 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
610 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
611 |
!macro Array_ReadFirst Name Handle Var |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
612 |
!tempfile F |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
613 |
!delfile ${F} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
614 |
!define Local ${__LINE__}-${F} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
615 |
!undef F |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
616 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
617 |
${ArrayPluginDLL}::SizeOf /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
618 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
619 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
620 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD SizeOf |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
621 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
622 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
623 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
624 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
625 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
626 |
StrCmp "${Var}" 0 0 +4 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
627 |
StrCpy "${Var}" "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
628 |
SetErrors |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
629 |
Goto Done_${Local} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
630 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
631 |
${ArrayPluginDLL}::Read /NOUNLOAD "${Name}" "0" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
632 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
633 |
Push "0" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
634 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
635 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Read |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
636 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
637 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
638 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
639 |
StrCpy "${Handle}" 1 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
640 |
Done_${Local}: |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
641 |
!undef Local |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
642 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
643 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
644 |
!macro Array_ReadNext Name Handle Var |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
645 |
!tempfile F |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
646 |
!delfile ${F} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
647 |
!define Local ${__LINE__}-${F} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
648 |
!undef F |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
649 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
650 |
${ArrayPluginDLL}::SizeOf /NOUNLOAD "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
651 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
652 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
653 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD SizeOf |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
654 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
655 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
656 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
657 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
658 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
659 |
StrCmp "${Var}" "${Handle}" 0 +4 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
660 |
StrCpy "${Var}" "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
661 |
SetErrors |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
662 |
Goto Done_${Local} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
663 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
664 |
${ArrayPluginDLL}::Read /NOUNLOAD "${Name}" "${Handle}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
665 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
666 |
Push "${Handle}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
667 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
668 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Read |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
669 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
670 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
671 |
Pop "${Var}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
672 |
IntOp "${Handle}" "${Handle}" + 1 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
673 |
Done_${Local}: |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
674 |
!undef Local |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
675 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
676 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
677 |
!macro Array_ReadClose Name Handle |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
678 |
StrCpy "${Handle}" "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
679 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
680 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
681 |
!macro Array_Print Name Index |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
682 |
!ifndef ArrayCallInstDLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
683 |
${ArrayPluginDLL}::Read /NOUNLOAD "${Name}" "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
684 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
685 |
Push "${Index}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
686 |
Push "${Name}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
687 |
CallInstDLL `${ArrayPluginDLL}` /NOUNLOAD Read |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
688 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
689 |
${Array_PopErrVar} |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
690 |
Pop "${ArrayValVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
691 |
DetailPrint "${ArrayValVar}" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
692 |
!macroend |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
693 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
694 |
!endif |