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

Function classObj_setExpression

mapscript/php/mapscript_i.c:810–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808 }
809
810int classObj_setExpression(classObj *self, char *string) {
811 if (!string || strlen(string) == 0) {
812 freeExpression(&self->expression);
813 return MS_SUCCESS;
814 }
815 else return msLoadExpressionString(&self->expression, string);
816 }
817
818char *classObj_getExpressionString(classObj *self) {
819 return msGetExpressionString(&(self->expression));

Callers 1

class.cFile · 0.85

Calls 2

freeExpressionFunction · 0.85
msLoadExpressionStringFunction · 0.85

Tested by

no test coverage detected