added notes about complexity.

Wed Aug 16 13:55:39 2006  Tim Janik  <timj@imendio.com>

        * glib/tmpl/trash_stack.sgml: added notes about complexity.
This commit is contained in:
Tim Janik 2006-08-16 12:10:41 +00:00 committed by Tim Janik
parent 13fe93378e
commit f1f0177b9e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Aug 16 13:55:39 2006 Tim Janik <timj@imendio.com>
* glib/tmpl/trash_stack.sgml: added notes about complexity.
2006-08-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.12.2 ===

View File

@ -54,7 +54,7 @@ Pops a piece of memory off a #GTrashStack.
<!-- ##### FUNCTION g_trash_stack_peek ##### -->
<para>
Returns the element at the top of a #GTrashStack.
Returns the element at the top of a #GTrashStack which may be %NULL.
</para>
@stack_p: a pointer to a #GTrashStack.
@ -64,6 +64,8 @@ Returns the element at the top of a #GTrashStack.
<!-- ##### FUNCTION g_trash_stack_height ##### -->
<para>
Returns the height of a #GTrashStack.
Note that execution of this function is of O(N) complexity
where N denotes the number of items on the stack.
</para>
@stack_p: a pointer to a #GTrashStack.