(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:os"
|
||||||
import "core:fmt"
|
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()
|
main :: proc()
|
||||||
{
|
{
|
||||||
tags := reflect.struct_field_tags( test_t );
|
fmt.fprintf( os.stderr, "hello there is error\n" );
|
||||||
|
fmt.fprintf( os.stdout, "blargh!\n" );
|
||||||
fmt.println( typeid_of( type_of( tags ) ) )
|
|
||||||
fmt.println( tags );
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user