forked from OctaForge/libcubescript
cleanups
parent
c62633c2aa
commit
a638e460c5
|
@ -11,7 +11,7 @@ namespace cscript {
|
|||
|
||||
char *cs_dup_ostr(ostd::ConstCharRange s);
|
||||
|
||||
char const *parsestring(char const *p) {
|
||||
static char const *parsestring(char const *p) {
|
||||
for (; *p; p++) switch (*p) {
|
||||
case '\r':
|
||||
case '\n':
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
namespace cscript {
|
||||
|
||||
CsFloat cs_parse_float(ostd::ConstCharRange s);
|
||||
|
||||
ostd::String intstr(CsInt v) {
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), IntFormat, v);
|
||||
|
|
Loading…
Reference in New Issue