mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
enum_to_string fix; enum count, min_value, max_value
This commit is contained in:
@@ -354,7 +354,6 @@ __enum_to_string :: proc(info: ^Type_Info, value: i64) -> string {
|
||||
|
||||
match type ti : info {
|
||||
case Type_Info.Enum:
|
||||
fmt.println("Here: ", ti.values.count)
|
||||
for i := 0; i < ti.values.count; i++ {
|
||||
if ti.values[i] == value {
|
||||
return ti.names[i]
|
||||
|
||||
Reference in New Issue
Block a user