Stack plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 75: Line 75:
<br><br>
<br><br>
*dll_stack_move_range
*dll_stack_move_range
-Finds the element with index and move it to the new index.
-Finds the elements by indexes and move them to the new index.
<br><br>
<br><br>
*dll_push_sort
*dll_push_sort

Revision as of 17:41, 1 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.


Functions for working with 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

Functions for working with private 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