]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix serialization format docs.
authorMike Pall <mike>
Thu, 18 Apr 2024 21:49:43 +0000 (23:49 +0200)
committerMike Pall <mike>
Thu, 18 Apr 2024 21:49:43 +0000 (23:49 +0200)
Reported by nounwind.

doc/ext_buffer.html

index bfaa24cbd7570b833312217a463d8f003385ead9..61f425f181c7800119895580335f5e93097d0c9e 100644 (file)
@@ -588,9 +588,9 @@ num       → 0x07 double.L
 tab       → 0x08                                   // Empty table
           | 0x09 h.U h*{object object}          // Key/value hash
           | 0x0a a.U a*object                    // 0-based array
-          | 0x0b a.U a*object h.U h*{object object}      // Mixed
+          | 0x0b a.U h.U a*object h*{object object}      // Mixed
           | 0x0c a.U (a-1)*object                // 1-based array
-          | 0x0d a.U (a-1)*object h.U h*{object object}  // Mixed
+          | 0x0d a.U h.U (a-1)*object h*{object object}  // Mixed
 tab_mt    → 0x0e (index-1).U tab          // Metatable dict entry
 
 int64     → 0x10 int.L                             // FFI int64_t