getting legacy grideye application to work on clixon
This commit is contained in:
parent
6169ea6bed
commit
c1c1670a74
22 changed files with 952 additions and 805 deletions
|
|
@ -784,14 +784,14 @@ xpath_each(cxobj *cxtop,
|
|||
*
|
||||
* @code
|
||||
* cxobj **xv;
|
||||
* int xlen;
|
||||
* if ((xv = xpath_vec(cxtop, "//symbol/foo", &xlen)) != NULL) {
|
||||
* for (i=0; i<xlen; i++){
|
||||
* xn = xv[i];
|
||||
* size_t xlen;
|
||||
* if (xpath_vec(cxtop, "//symbol/foo", &xv, &xlen) < 0)
|
||||
* got err;
|
||||
* for (i=0; i<xlen; i++){
|
||||
* xn = xv[i];
|
||||
* ...
|
||||
* }
|
||||
* free(xv);
|
||||
* }
|
||||
* free(xv);
|
||||
* @endcode
|
||||
* Note that although the returned vector must be freed after use, the returned xml
|
||||
* trees need not be.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue