DBcount.c: clarify function documentation of hiercount() callback
DBTreeCountPaint(def, count, hiercount, cleanup, cdata) callback hiercount() The K&R function prototype syntax in the documentation might confuse reader into which argument order is correct (as a modern developer might be out of practice with interpreting K&R syntax)
This commit is contained in:
parent
3a41bf6ae2
commit
7ebaba6b39
|
|
@ -52,10 +52,11 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
*
|
*
|
||||||
* int
|
* int
|
||||||
* hiercount(parent, uses, child, cdata)
|
* hiercount(parent, uses, child, cdata)
|
||||||
* CellDef *parent, *child;
|
* CellDef *parent;
|
||||||
* int uses; /# Scale factor: number of times child
|
* int uses; /# Scale factor: number of times child
|
||||||
* # is used by parent
|
* # is used by parent
|
||||||
* #/
|
* #/
|
||||||
|
* CellDef *child;
|
||||||
* ClientData cdata;
|
* ClientData cdata;
|
||||||
* {
|
* {
|
||||||
* }
|
* }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue