Skip to content

Commit

Permalink
changed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jul 18, 2024
1 parent beb3c13 commit 7c953f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ux/ux.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ func newToolbar() *toolbar {

go func() {
mylog.Call(func() {
sdk.SetTextMessageCallbackUsingSharedBuffer(unsafe.Pointer(reflect.ValueOf(sdk.LogCallback).Pointer()), unsafe.Pointer(&sdk.LogBuffer[0]))
buffer := sdk.SetTextMessageCallbackUsingSharedBuffer(unsafe.Pointer(reflect.ValueOf(sdk.LogCallback).Pointer()))
gobuffer := sdk.BytePointerToString((*byte)(buffer))
println(gobuffer)
})
}()
}))
Expand Down

0 comments on commit 7c953f9

Please sign in to comment.