projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f493114
)
garray: Note lack of bounds checking in g_ptr_array_index() documentation
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Tue, 5 Nov 2013 16:43:26 +0000
(16:43 +0000)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Tue, 5 Nov 2013 16:43:26 +0000
(16:43 +0000)
glib/garray.c
patch
|
blob
|
history
diff --git
a/glib/garray.c
b/glib/garray.c
index
3bfbe9d
..
a93044b
100644
(file)
--- a/
glib/garray.c
+++ b/
glib/garray.c
@@
-865,6
+865,10
@@
struct _GRealPtrArray
*
* Returns the pointer at the given index of the pointer array.
*
*
* Returns the pointer at the given index of the pointer array.
*
+ * <note><para>
+ * This does not perform bounds checking on the given @index_, so you are
+ * responsible for checking it against the array length.</para></note>
+ *
* Returns: the pointer at the given index.
**/
* Returns: the pointer at the given index.
**/