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

Function getInteger

mapfile.c:235–243  ·  view source on GitHub ↗

** Load a integer from the map file. (see lexer.l) */

Source from the content-addressed store, hash-verified

233** Load a integer from the map file. (see lexer.l)
234*/
235int getInteger(int *i) {
236 if(msyylex() == MS_NUMBER) {
237 *i = (int)msyynumber;
238 return(0); /* success */
239 }
240
241 msSetError(MS_SYMERR, "Parsing error near (%s):(line %d)", "getInteger()", msyystring_buffer, msyylineno);
242 return(-1);
243}
244
245int getCharacter(char *c) {
246 if(msyylex() == MS_STRING) {

Callers 12

loadColorFunction · 0.85
loadColorWithAlphaFunction · 0.85
loadLabelFunction · 0.85
loadClassFunction · 0.85
loadLayerFunction · 0.85
loadReferenceMapFunction · 0.85
loadLegendFunction · 0.85
loadScalebarFunction · 0.85
loadQueryMapFunction · 0.85
loadMapInternalFunction · 0.85
msUpdateMapFromURLFunction · 0.85
loadSymbolFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected