diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-26 14:40:10 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-26 14:40:10 +0200 |
commit | a493c7029cf2bc8490d96fff04b0a0c624987601 (patch) | |
tree | ed1decfe0b3bde6c93a1a16dbb6307e1c881c7c4 /.mailmap | |
parent | 230b133db53e8ef2677fe13304e1e03276ca6448 (diff) | |
download | pandoc-a493c7029cf2bc8490d96fff04b0a0c624987601.tar.gz |
Lua: marshal Block values as userdata objects
Properties of Block values are marshalled lazily, which generally
improves performance considerably. Script users may also notice the
following differences:
- Block element properties can no longer be accessed by numerical
indexing of the `.c` field. The `.c` property now serves as an alias
for `.content`, so some filter that used this undocumented method
for property access may continue to work, while others will need to
be updated and use proper property names.
- The marshalled Block elements now have a `show` method, and a
`__tostring` metamethod. Both return the Haskell string
representation of the element.
- Block values now have the Lua type `userdata` instead of `table`.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions