PostGIS  2.1.10dev-r@@SVN_REVISION@@
void* lwalloc ( size_t  size)

Definition at line 175 of file lwutil.c.

References lwalloc_var, and LWDEBUGF.

Referenced by asgeojson_collection(), asgeojson_line(), asgeojson_multiline(), asgeojson_multipoint(), asgeojson_multipolygon(), asgeojson_point(), asgeojson_poly(), asgml2_collection(), asgml2_line(), asgml2_multi(), asgml2_point(), asgml2_poly(), asgml3_collection(), asgml3_line(), asgml3_multi(), asgml3_point(), asgml3_poly(), asgml3_psurface(), asgml3_tin(), asgml3_triangle(), assvg_collection(), assvg_line(), assvg_multiline(), assvg_multipoint(), assvg_multipolygon(), assvg_point(), assvg_polygon(), asx3d3_collection(), asx3d3_line(), asx3d3_multi(), asx3d3_point(), asx3d3_psurface(), asx3d3_tin(), asx3d3_triangle(), box2d_clone(), BOX2D_to_LWGEOM(), BOX2D_union(), box3d_from_gbox(), box3d_to_gbox(), bytes_from_hexbytes(), circ_node_internal_new(), circ_node_leaf_new(), circ_node_leaf_point_new(), circ_nodes_merge(), circ_tree_new(), collectFacesWithEvenAncestors(), gbox_clone(), gbox_copy(), gbox_new(), gbox_to_gml2(), gbox_to_gml3(), gbox_to_string(), geohash_point(), geometry_type_from_string(), GEOS2LWGEOM(), get_xlink_node(), gserialized_copy(), gserialized_from_lwgeom(), hexbytes_from_bytes(), lw_dist2d_fast_ptarray_ptarray(), lwcircstring_construct(), lwcircstring_construct_empty(), lwcircstring_from_gserialized_buffer(), lwcircstring_from_lwmpoint(), lwcircstring_from_lwpointarray(), lwcollection_add_lwgeom(), lwcollection_calculate_circ_tree(), lwcollection_clone(), lwcollection_clone_deep(), lwcollection_construct(), lwcollection_construct_empty(), lwcollection_extract(), lwcollection_force_dims(), lwcollection_from_gserialized_buffer(), lwcollection_locate_between_m(), lwcollection_make_geos_friendly(), lwcollection_remove_repeated_points(), lwcollection_segmentize(), lwcollection_segmentize2d(), lwcollection_split(), lwcollection_summary(), lwcurvepoly_add_ring(), lwcurvepoly_construct_empty(), lwcurvepoly_construct_from_lwpoly(), lwcurvepoly_segmentize(), lwdouble_to_dms(), lwdoubles_to_latlon(), lwgeom_as_multi(), LWGEOM_dump(), LWGEOM_dump_rings(), LWGEOM_dumppoints(), LWGEOM_envelope(), LWGEOM_expand(), lwgeom_from_geojson(), LWGEOM_GEOS_buildArea(), LWGEOM_GEOS_makeValidCollection(), LWGEOM_GEOS_makeValidMultiLine(), LWGEOM_interiorringn_polygon(), LWGEOM_line_substring(), lwgeom_make_valid(), LWGEOM_makepoly(), lwgeom_summary(), LWGEOM_to_BOX(), lwgeom_to_svg(), lwgeom_to_wkb(), lwline_clip_to_ordinate_range(), lwline_clone(), lwline_clone_deep(), lwline_construct(), lwline_construct_empty(), lwline_from_gserialized_buffer(), lwline_locate_between_m(), lwline_split_by_line(), lwline_summary(), lwmcurve_segmentize(), lwmessage_truncate(), lwmline_clip_to_ordinate_range(), lwmline_desegmentize(), lwmline_measured_from_lwmline(), lwmpoint_remove_repeated_points(), lwmpolygon_desegmentize(), lwmsurface_segmentize(), lwpoint_clone(), lwpoint_construct(), lwpoint_construct_empty(), lwpoint_from_gserialized_buffer(), lwpoint_summary(), lwpoly_calculate_circ_tree(), lwpoly_clone(), lwpoly_clone_deep(), lwpoly_construct(), lwpoly_construct_empty(), lwpoly_force_dims(), lwpoly_from_gserialized_buffer(), lwpoly_from_lwlines(), lwpoly_make_geos_friendly(), lwpoly_remove_repeated_points(), lwpoly_segmentize2d(), lwpoly_summary(), lwpolygon_desegmentize(), lwproj_from_string(), lwpsurface_is_closed(), lwtin_from_geos(), lwtin_is_closed(), lwtriangle_construct(), lwtriangle_construct_empty(), lwtriangle_from_gserialized_buffer(), newFace(), parse_geojson_polygon(), parse_gml_curve(), parse_gml_linearring(), parse_gml_patch(), parse_gml_polygon(), parse_gml_triangle(), parse_kml_polygon(), pta_desegmentize(), ptarray_clone(), ptarray_clone_deep(), ptarray_construct_copy_data(), ptarray_construct_empty(), ptarray_construct_reference_data(), ptarray_insert_point(), ptarray_locate_between_m(), ptarray_simplify(), rect_node_internal_new(), rect_node_leaf_new(), rect_tree_new(), RTreeBuilder(), RTreeCacheCreate(), RTreeCreate(), RTreeCreateInteriorNode(), RTreeCreateInterval(), RTreeCreateLeafNode(), RTreeFindLineSegments(), RTreeMergeIntervals(), RTreeMergeMultiLines(), SFCGAL2LWGEOM(), sfcgal_postgis_init(), stringbuffer_create_with_size(), stringbuffer_getstringcopy(), and wkt_parser_collection_new().

176 {
177  void *mem = lwalloc_var(size);
178  LWDEBUGF(5, "lwalloc: %d@%p", size, mem);
179  return mem;
180 }
lwallocator lwalloc_var
Definition: lwutil.c:15
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:55