So I'm debating whether to keep Golang's typing instead of adapting it to SourcePawn's (e.g. using Golang int32 to be equivalent to SourcePawn int, float32 being equivalent to SP float. bool the same. uint8 for char.
Here's the current chart I'm scheming up:
Format: Golang-version = SP-version
So I'm debating whether to keep Golang's typing instead of adapting it to SourcePawn's (e.g. using Golang
int32
to be equivalent to SourcePawnint
,float32
being equivalent to SPfloat
.bool
the same.uint8
forchar
.Here's the current chart I'm scheming up: Format: Golang-version = SP-version
int32
=int
float64
=float
bool
=bool
uint8/byte
=char
uintptr
=Handle
Entity
=int
(type alias)Vec3, QAngle
=float[3]
__function__
=Function
(SrcGo builtin)any
=any