[][src]Function spatialite_sys::gaiaAllocLinestringXYM

pub unsafe extern "C" fn gaiaAllocLinestringXYM(
    vert: c_int
) -> gaiaLinestringPtr

Allocates a 2D LINESTRING [XYM]

\param vert number of points [aka vertices] into the Linestring

\return the pointer to newly created LINESTRING object: NULL on failure

\sa gaiaFreeLinestring, gaiaLineSetPoint, gaiaLineGetPoint, gaiaSetPointXYM, gaiaGetPointXYM

\note you are responsible to destroy (before or after) any allocated LINESTRING, unless you've passed ownership of the LINESTRING object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.