github.com/arnodel/golua@v0.0.0-20230215163904-e0b5347eaaa1/runtime/valuetype.go (about) 1 package runtime 2 3 // ValueType represents the type of a lua Value. 4 type ValueType uint8 5 6 // Known ValueType values. 7 const ( 8 NilType ValueType = iota 9 IntType 10 FloatType 11 BoolType 12 StringType 13 CodeType 14 TableType 15 FunctionType 16 ThreadType 17 UserDataType 18 UnknownType 19 ) 20 21 // ConstTypeMaj Constant types must be less that this. 22 const ConstTypeMaj = CodeType + 1