git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reader/writer are now typedefs
[swftools.git]
/
pdf2swf
/
xpdf
/
GList.h
diff --git
a/pdf2swf/xpdf/GList.h
b/pdf2swf/xpdf/GList.h
index
4c52489
..
e4d8ff8
100644
(file)
--- a/
pdf2swf/xpdf/GList.h
+++ b/
pdf2swf/xpdf/GList.h
@@
-58,6
+58,11
@@
public:
// Assumes 0 <= i < length.
void *del(int i);
// Assumes 0 <= i < length.
void *del(int i);
+ // Sort the list accoring to the given comparison function.
+ // NB: this sorts an array of pointers, so the pointer args need to
+ // be double-dereferenced.
+ void sort(int (*cmp)(const void *ptr1, const void *ptr2));
+
//----- control
// Set allocation increment to <inc>. If inc > 0, that many
//----- control
// Set allocation increment to <inc>. If inc > 0, that many