MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / buffreplace

Function buffreplace

other_src/lua/src/llex.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170
171static void buffreplace (LexState *ls, char from, char to) {
172 size_t n = luaZ_bufflen(ls->buff);
173 char *p = luaZ_buffer(ls->buff);
174 while (n--)
175 if (p[n] == from) p[n] = to;
176}
177
178
179static void trydecpoint (LexState *ls, SemInfo *seminfo) {

Callers 2

trydecpointFunction · 0.70
read_numeralFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected