提交 28712f1c 编写于 作者: yanghye's avatar yanghye

Optimize code usage

上级 129602cf
......@@ -45,6 +45,7 @@ type _uint8 uint8
type _uint16 uint16
type _uint32 uint32
type _uint64 uint64
type _uint uint
type _uintptr uintptr
type _string string
type _boolean bool
......@@ -86,6 +87,11 @@ func (m _uint32) ToPtr() uintptr {
func (m _uint64) ToPtr() uintptr {
return uintptr(m)
}
func (m _uint) ToPtr() uintptr {
return uintptr(m)
}
func (m _uintptr) ToPtr() uintptr {
return uintptr(m)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册