Roberto Ierusalimschy
|
4542fb9f78
comments (a few extra quotes around identifiers)
|
10 anni fa |
Roberto Ierusalimschy
|
61c3c80177
detail
|
10 anni fa |
Roberto Ierusalimschy
|
fa4d5c8689
pack/unpack do not handle final '\0' as an "option" (it streches
|
10 anni fa |
Roberto Ierusalimschy
|
bdf566a8a3
`name' in comments changed to 'name'
|
10 anni fa |
Roberto Ierusalimschy
|
ff9ca88aa6
added some casts to avoid warnings in some compilers
|
10 anni fa |
Roberto Ierusalimschy
|
57559547a3
in 'pack'/'unpack', endianness and alignment treated like options +
|
10 anni fa |
Roberto Ierusalimschy
|
f97c64d7bf
macros 'LUA_QL'/'LUA_QL' deprecated
|
10 anni fa |
Roberto Ierusalimschy
|
c172a4f7c2
'dumpint' and related functions replaced by 'string.pack'/'string.unpack'
|
10 anni fa |
Roberto Ierusalimschy
|
798660c9cd
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
|
11 anni fa |
Roberto Ierusalimschy
|
4fba117433
[un]'dumpint' -> [un]'dumpinteger'
|
11 anni fa |
Roberto Ierusalimschy
|
1aa5262634
do not assume numbers are coercible to strings
|
11 anni fa |
Roberto Ierusalimschy
|
3ccbae84d2
added some casts between integral types (to avoid warnings)
|
11 anni fa |
Roberto Ierusalimschy
|
68616c6669
using lua_Unsigned (instead of lua_Integer) for bit manipulation
|
11 anni fa |
Roberto Ierusalimschy
|
3d4913f703
back to larger sizes for 'dumpint/undumpint' (small Lua should
|
11 anni fa |
Roberto Ierusalimschy
|
a2c094fe2d
size of strings in 'string.rep' should be limited by the size of
|
11 anni fa |
Roberto Ierusalimschy
|
ef789d4161
new global macro 'LUA_MAXUNSIGNED'
|
11 anni fa |
Roberto Ierusalimschy
|
115fa77009
maximum size for dump of integers is size of lua_Integer (which
|
11 anni fa |
Roberto Ierusalimschy
|
561030c211
pack/unpack functions renamed dump/undump
|
11 anni fa |
Roberto Ierusalimschy
|
48c745a611
avoid constant overflow when shifting left signed integers until
|
11 anni fa |
Roberto Ierusalimschy
|
8ef9117924
fancier way to do sign extension
|
11 anni fa |
Roberto Ierusalimschy
|
420cc62fac
missplelling in comments/function names (endianess -> endianness)
|
11 anni fa |
Roberto Ierusalimschy
|
2d5e2212d4
native lua_Number may be neither float nor double (in pack/unpackfloat)
|
11 anni fa |
Roberto Ierusalimschy
|
da4811238a
details (typos in comments)
|
11 anni fa |
Roberto Ierusalimschy
|
ad40bb1181
detail in string.rep: allow large repetitions of the empty string (no
|
11 anni fa |
Roberto Ierusalimschy
|
6318de80d3
added 'strip' parameter to lua_dump/string.dump
|
11 anni fa |
Roberto Ierusalimschy
|
916bd874ad
added explicit default options to string.pack/unpack functions
|
11 anni fa |
Roberto Ierusalimschy
|
cd848cab6b
first implementation for string.pack/unpackfloat + try not to assume
|
11 anni fa |
Roberto Ierusalimschy
|
29256e8960
first implementation of string.packint/string.unpackint
|
11 anni fa |
Roberto Ierusalimschy
|
7c4cc505db
added "reasonable" limit for 'string.rep' (otherwise it is too easy
|
12 anni fa |
Roberto Ierusalimschy
|
55f566bd22
use lua_Integer for integer parameters to avoid truncation
|
12 anni fa |