mirror of
https://github.com/janet-lang/janet
synced 2024-11-08 01:39:55 +00:00
Move janet_buffer_dtostr
This commit is contained in:
parent
634429cf61
commit
58ccb66659
@ -489,6 +489,8 @@ int janet_scan_uint64(const uint8_t *str, int32_t len, uint64_t *out) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void janet_buffer_dtostr(JanetBuffer *buffer, double x) {
|
||||
#define BUFSIZE 32
|
||||
janet_buffer_extra(buffer, BUFSIZE);
|
||||
@ -503,5 +505,3 @@ void janet_buffer_dtostr(JanetBuffer *buffer, double x) {
|
||||
}
|
||||
buffer->count += count;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user