(odin) stdout/err test
This commit is contained in:
1 parent
d9ec57037d
commit
204b6f345d
1 file changed
+2
-12
+2
-12
@@ -2,19 +2,9 @@ package test_project
|
||||
|
||||
import "core:os"
|
||||
import "core:fmt"
|
||||
import "core:math"
|
||||
import "core:reflect"
|
||||
|
||||
test_t :: struct
|
||||
{
|
||||
x: int `x coordinate and stuff`,
|
||||
y: int `y coordinate you know`
|
||||
}
|
||||
|
||||
main :: proc()
|
||||
{
|
||||
tags := reflect.struct_field_tags( test_t );
|
||||
|
||||
fmt.println( typeid_of( type_of( tags ) ) )
|
||||
fmt.println( tags );
|
||||
fmt.fprintf( os.stderr, "hello there is error\n" );
|
||||
fmt.fprintf( os.stdout, "blargh!\n" );
|
||||
}
|
||||
Reference in new issue
Block a user