Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
595509a7
Commit
595509a7
authored
Jul 29, 2015
by
Bernd Meyer
Committed by
Johny Mattsson
Jul 31, 2015
Browse files
More sensible cjson realloc strategy.
parent
719abca4
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/cjson/strbuf.h
View file @
595509a7
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "c_stdlib.h"
#include "c_stdlib.h"
#include "c_stdarg.h"
#include "c_stdarg.h"
#include "user_config.h"
/* Size: Total bytes allocated to *buf
/* Size: Total bytes allocated to *buf
* Length: String length, excluding optional NULL terminator.
* Length: String length, excluding optional NULL terminator.
...
...
app/include/user_config.h
View file @
595509a7
...
@@ -68,4 +68,6 @@
...
@@ -68,4 +68,6 @@
#define LED_LOW_COUNT_DEFAULT 0
#define LED_LOW_COUNT_DEFAULT 0
#endif
#endif
#define STRBUF_DEFAULT_INCREMENT 32
#endif
/* __USER_CONFIG_H__ */
#endif
/* __USER_CONFIG_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment