diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-06-05 17:34:14 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-06-05 17:34:14 -0400 |
| commit | 2760f43ce7d9c2c5cb3b055d7f8cd7a1d0c57bbd (patch) | |
| tree | 12b365f943bf6ba2d359c98d6c51ba19ca2db7a9 /core/math | |
| parent | 153f7af594f9ff3956ae22f3508620b645e9ad15 (diff) | |
Add deprecation warnings for `strconv.append_*`
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/fixed/fixed.odin | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/math/fixed/fixed.odin b/core/math/fixed/fixed.odin index eafdbe78e..9af6d7599 100644 --- a/core/math/fixed/fixed.odin +++ b/core/math/fixed/fixed.odin @@ -294,3 +294,8 @@ _power_of_two_table := [129]string{ "85070591730234615865843651857942052864", "170141183460469231731687303715884105728", } + +@(deprecated="Use write instead") +append :: proc(dst: []byte, x: $T/Fixed($Backing, $Fraction_Width)) -> string { + return write(dst, x) +} |