Compare commits

...

2 Commits

Author SHA1 Message Date
oldme 8ac6d0627d
Merge 4e99ec9e63 into f1ffb55c9a 2024-11-20 12:59:27 -08:00
oldme 4e99ec9e63 up 2024-09-02 15:52:18 +08:00
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ func (w *Writer) WriteArg(v interface{}) error {
return w.uint(v) return w.uint(v)
case *uint64: case *uint64:
return w.uint(*v) return w.uint(*v)
case uintptr:
return w.uint(uint64(v))
case *uintptr:
return w.uint(uint64(*v))
case float32: case float32:
return w.float(float64(v)) return w.float(float64(v))
case *float32: case *float32: