MCPcopy Index your code
hub / github.com/MapServer/MapServer / lineObj_new

Function lineObj_new

mapscript/php/mapscript_i.c:925–936  ·  view source on GitHub ↗

* class extensions for lineObj (eg. a line or group of points), * useful many places **********************************************************************/

Source from the content-addressed store, hash-verified

923 * useful many places
924 **********************************************************************/
925lineObj *lineObj_new() {
926 lineObj *line;
927
928 line = (lineObj *)malloc(sizeof(lineObj));
929 if(!line)
930 return(NULL);
931
932 line->numpoints=0;
933 line->point=NULL;
934
935 return line;
936 }
937
938void lineObj_destroy(lineObj *self) {
939 free(self->point);

Callers 2

php_mapscript.cFile · 0.85
line.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected