diff options
author | Mike Pall <mike> | 2022-01-15 18:32:34 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2022-01-15 18:32:34 +0100 |
commit | c21c6cb4170159250aa778ec888db7f919dfb0e9 (patch) | |
tree | d00555bb8692351df0c486f8cca0f6df77f7e5b4 /doc/ext_buffer.html | |
parent | d5a237eae03d2ad346f82390836371a952e9a286 (diff) | |
download | luajit-c21c6cb4170159250aa778ec888db7f919dfb0e9.tar.gz luajit-c21c6cb4170159250aa778ec888db7f919dfb0e9.tar.bz2 luajit-c21c6cb4170159250aa778ec888db7f919dfb0e9.zip |
FFI: Ensure library is loaded before de-serializing FFI types.
Reported by ImagicTheCat.
Diffstat (limited to 'doc/ext_buffer.html')
-rw-r--r-- | doc/ext_buffer.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ext_buffer.html b/doc/ext_buffer.html index 63c2efe3..309b496b 100644 --- a/doc/ext_buffer.html +++ b/doc/ext_buffer.html | |||
@@ -448,6 +448,10 @@ encoded data. The stand-alone function throws when there's left-over | |||
448 | data after decoding a single top-level object. The buffer method leaves | 448 | data after decoding a single top-level object. The buffer method leaves |
449 | any left-over data in the buffer. | 449 | any left-over data in the buffer. |
450 | </p> | 450 | </p> |
451 | <p> | ||
452 | Attempting to de-serialize an FFI type will throw an error, if the FFI | ||
453 | library is not built-in or has not been loaded, yet. | ||
454 | </p> | ||
451 | 455 | ||
452 | <h3 id="serialize_options">Serialization Options</h3> | 456 | <h3 id="serialize_options">Serialization Options</h3> |
453 | <p> | 457 | <p> |