mirror of
https://github.com/janet-lang/janet
synced 2024-12-28 09:20:26 +00:00
Add %t formatter to janet.
Was not present in printf and family.
This commit is contained in:
parent
33283b1b6e
commit
3c64596ea1
@ -955,6 +955,9 @@ void janet_buffer_format(
|
|||||||
janet_description_b(b, argv[arg]);
|
janet_description_b(b, argv[arg]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 't':
|
||||||
|
janet_buffer_push_cstring(b, typestr(argv[arg]));
|
||||||
|
break;
|
||||||
case 'M':
|
case 'M':
|
||||||
case 'm':
|
case 'm':
|
||||||
case 'N':
|
case 'N':
|
||||||
|
Loading…
Reference in New Issue
Block a user