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

Function classObj_clone

mapscript/php/mapscript_i.c:861–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859 }
860
861classObj *classObj_clone(classObj *class, layerObj *layer)
862{
863 classObj *dstClass;
864 dstClass = (classObj *)malloc(sizeof(classObj));
865
866 initClass(dstClass);
867 msCopyClass(dstClass, class, layer);
868
869 dstClass->type = layer->type;
870
871 return dstClass;
872}
873
874int classObj_moveStyleUp(classObj *self, int index)
875{

Callers 1

Calls 2

initClassFunction · 0.85
msCopyClassFunction · 0.85

Tested by

no test coverage detected