diff options
Diffstat (limited to 'src/lib/fmt.go')
-rw-r--r-- | src/lib/fmt.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/fmt.go b/src/lib/fmt.go index a123931e5..f94a02776 100644 --- a/src/lib/fmt.go +++ b/src/lib/fmt.go @@ -13,7 +13,7 @@ package fmt // import sys "sys" -export Fmt, New; +//export Fmt, New; const NByte = 64; const NPows10 = 160; @@ -31,7 +31,7 @@ func init() { } } -type Fmt struct { +export type Fmt struct { buf string; wid int; wid_present bool; @@ -53,7 +53,7 @@ func (f *Fmt) init() { f.clearflags(); } -func New() *Fmt { +export func New() *Fmt { f := new(Fmt); f.init(); return f; |