[−][src]Function spatialite_sys::gaiaAllocPoint
pub unsafe extern "C" fn gaiaAllocPoint(x: f64, y: f64) -> gaiaPointPtr
Allocates a 2D POINT [XY]
\param x the X coordinate. \param y the Y coordinate.
\return the pointer to the newly created POINT object: NULL on failure
\sa gaiaFreePoint
\note you are responsible to destroy (before or after) any allocated POINT, unless you've passed ownership of the POINT object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.