Browse Source

Add `fmt.DEFAULT_BUFFER_SIZE` to be configurable with `#config(FMT_DEFAULT_BUFFER_SIZE, 1<<12)`

gingerBill 5 years ago
parent
commit
aeafed0218
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/fmt/fmt.odin

+ 1 - 2
core/fmt/fmt.odin

@@ -10,8 +10,7 @@ import "core:strings"
 import "core:reflect"
 import "intrinsics"
 
-@private
-DEFAULT_BUFFER_SIZE :: 1<<12;
+DEFAULT_BUFFER_SIZE :: #config(FMT_DEFAULT_BUFFER_SIZE, 1<<12);
 
 Info :: struct {
 	minus:     bool,