mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: make Time struct public
This commit is contained in:
parent
8364130a1f
commit
b6fa252fc9
@ -44,7 +44,7 @@ const (
|
||||
|
||||
#include <time.h>
|
||||
|
||||
struct Time {
|
||||
pub struct Time {
|
||||
pub:
|
||||
year int
|
||||
month int
|
||||
@ -61,7 +61,7 @@ fn C.localtime(int) &C.tm
|
||||
fn remove_me_when_c_bug_is_fixed() { // TODO
|
||||
}
|
||||
|
||||
struct C.time_t {}
|
||||
pub struct C.time_t {}
|
||||
|
||||
struct C.tm {
|
||||
tm_year int
|
||||
|
Loading…
Reference in New Issue
Block a user