diff options
Diffstat (limited to 'docs/source/development/reference')
| -rw-r--r-- | docs/source/development/reference/functions.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst index 1c363b88..983e8a50 100644 --- a/docs/source/development/reference/functions.rst +++ b/docs/source/development/reference/functions.rst @@ -289,11 +289,11 @@ Coordinate transformation ... proj_trans_generic ( - P, PJ_INV, sizeof(XYQS), + P, PJ_INV, &(survey[0].x), stride, 345, /* We have 345 eastings */ &(survey[0].y), stride, 345, /* ...and 345 northings. */ - &height, 1, /* The height is the constant 23.45 m */ - 0, 0 /* and the time is the constant 0.00 s */ + &height, sizeof(double), 1, /* The height is the constant 23.45 m */ + 0, 0, 0 /* and the time is the constant 0.00 s */ ); This is similar to the inner workings of the deprecated :c:func:`pj_transform` |
