Stack plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
Instructor (talk | contribs) No edit summary |
m (Added some more wiki formatting.) |
||
Line 2: | Line 2: | ||
== Links == | == Links == | ||
Download v1.2:<br> | Download v1.2:<br> | ||
<attach>Stack.zip</attach> | <attach>Stack.zip</attach> | ||
Line 12: | Line 11: | ||
This is NSIS plug-in for stack. | This is NSIS plug-in for stack. | ||
== DLL Functions == | |||
=== For NSIS stack (linear) === | |||
;ns_push_front | |||
:Adds an element to the top of the NSIS stack (same as Push) | |||
;ns_pop_front | |||
:Removes the element from the top of the NSIS stack and puts it in the variable (same as Pop) | |||
;ns_push_back | |||
:Adds an element to the beginning of the NSIS stack. | |||
;ns_stack_read | |||
:Finds the NSIS element with index and puts it in the variable. | |||
;ns_stack_write | |||
:Finds the NSIS element with index and rewrite it. | |||
;ns_stack_size | |||
:Gets the number of elements in the NSIS stack. | |||
;ns_stack_clear | |||
:Clears all NSIS stack | |||
=== For private plug-in stack (bilinear) === | |||
;dll_push_front | |||
:Adds an element to the top of the private stack. | |||
;dll_pop_front | |||
:Removes the element from the top of the private stack and puts it in the variable. | |||
;dll_push_back | |||
:Adds an element to the beginning of the private stack. | |||
;dll_pop_back | |||
:Removes the element from the beginning of the private stack and puts it in the variable. | |||
;dll_stack_read | |||
:Finds the private element with index and puts it in the variable. | |||
;dll_stack_write | |||
:Finds the private element with index and rewrite it. | |||
;dll_stack_insert | |||
:Finds the private element with index and inserts new element in it index. | |||
;dll_stack_exchange | |||
:Finds the elements with indexes and exchanges them. | |||
;dll_stack_reverse_range | |||
:Reverse range of elements. | |||
;dll_stack_delete | |||
:Finds the private element with index, puts it in the variable and removes it. | |||
;dll_stack_delete_range | |||
:Finds the elements between indexes and removes. | |||
;dll_stack_move | |||
:Finds the element with index and move it to the new index. | |||
;dll_stack_move_range | |||
:Finds the elements by indexes and move them to the new index. | |||
;dll_push_sort | |||
:Pushs element to the stack and sorts alphabetically in ascending or descending. | |||
;dll_stack_sort | |||
:Sorts the stack alphabetically in ascending or descending. | |||
;dll_stack_size | |||
:Gets the number of elements in the private stack. | |||
;dll_stack_clear | |||
:Clears all private stack | |||
[[Category:Plugins]] | [[Category:Plugins]] |
Revision as of 12:15, 2 September 2005
Author: Instructor (talk, contrib) |
Links
Download v1.2:
Stack.zip (70 KB)
Discussion:
Forum thread
Description
This is NSIS plug-in for stack.
DLL Functions
For NSIS stack (linear)
- ns_push_front
- Adds an element to the top of the NSIS stack (same as Push)
- ns_pop_front
- Removes the element from the top of the NSIS stack and puts it in the variable (same as Pop)
- ns_push_back
- Adds an element to the beginning of the NSIS stack.
- ns_stack_read
- Finds the NSIS element with index and puts it in the variable.
- ns_stack_write
- Finds the NSIS element with index and rewrite it.
- ns_stack_size
- Gets the number of elements in the NSIS stack.
- ns_stack_clear
- Clears all NSIS stack
For private plug-in stack (bilinear)
- dll_push_front
- Adds an element to the top of the private stack.
- dll_pop_front
- Removes the element from the top of the private stack and puts it in the variable.
- dll_push_back
- Adds an element to the beginning of the private stack.
- dll_pop_back
- Removes the element from the beginning of the private stack and puts it in the variable.
- dll_stack_read
- Finds the private element with index and puts it in the variable.
- dll_stack_write
- Finds the private element with index and rewrite it.
- dll_stack_insert
- Finds the private element with index and inserts new element in it index.
- dll_stack_exchange
- Finds the elements with indexes and exchanges them.
- dll_stack_reverse_range
- Reverse range of elements.
- dll_stack_delete
- Finds the private element with index, puts it in the variable and removes it.
- dll_stack_delete_range
- Finds the elements between indexes and removes.
- dll_stack_move
- Finds the element with index and move it to the new index.
- dll_stack_move_range
- Finds the elements by indexes and move them to the new index.
- dll_push_sort
- Pushs element to the stack and sorts alphabetically in ascending or descending.
- dll_stack_sort
- Sorts the stack alphabetically in ascending or descending.
- dll_stack_size
- Gets the number of elements in the private stack.
- dll_stack_clear
- Clears all private stack