mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 05:23:40 +00:00
all: format code according to Go 1.19 rules
Go 1.19 started reformatting code in a way that makes it more obvious how it will be rendered on pkg.go.dev. It gets it almost right, but not entirely. Therefore, I had to modify some of the comments so that they are formatted correctly.
This commit is contained in:
@@ -18,6 +18,7 @@ func _VirtualAlloc(lpAddress unsafe.Pointer, dwSize uintptr, flAllocationType, f
|
||||
func _QueryUnbiasedInterruptTime(UnbiasedTime *uint64) bool
|
||||
|
||||
// The parameter is really a LPFILETIME, but *uint64 should be compatible.
|
||||
//
|
||||
//export GetSystemTimeAsFileTime
|
||||
func _GetSystemTimeAsFileTime(lpSystemTimeAsFileTime *uint64)
|
||||
|
||||
@@ -56,6 +57,7 @@ func mainCRTStartup() int {
|
||||
}
|
||||
|
||||
// Must be a separate function to get the correct stack pointer.
|
||||
//
|
||||
//go:noinline
|
||||
func runMain() {
|
||||
run()
|
||||
|
||||
Reference in New Issue
Block a user