mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Fix typo
This commit is contained in:
@@ -56,7 +56,7 @@ to_bytes :: proc "contextless" (s: []$T) -> []byte {
|
|||||||
*/
|
*/
|
||||||
@(require_results)
|
@(require_results)
|
||||||
reinterpret :: proc "contextless" ($T: typeid/[]$U, s: []$V) -> []U {
|
reinterpret :: proc "contextless" ($T: typeid/[]$U, s: []$V) -> []U {
|
||||||
when size_of(U) == 0 || size_of(B) == 0 {
|
when size_of(U) == 0 || size_of(V) == 0 {
|
||||||
return nil
|
return nil
|
||||||
} else {
|
} else {
|
||||||
bytes := to_bytes(s)
|
bytes := to_bytes(s)
|
||||||
|
|||||||
Reference in New Issue
Block a user