aboutsummaryrefslogtreecommitdiff
path: root/src/deep.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove uintptr_t againv3.17.0Benoit Germain2024-04-291-2/+2
|
* Bring all interesting fixes from the C++ implementation back into the C ↵Benoit Germain2024-04-111-5/+8
| | | | implementation
* new .internal_allocator configuration IUNTESTED)Benoit Germain2023-08-091-1/+1
| | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS.
* Changed all indentations to all whitespacesBenoit Germain2022-02-071-327/+327
| | | | Tabs mess up alignment of stack contents comments, so I'm done with them.
* fix stack overflow when transfering a clonable userdata referencing itself ↵Benoit Germain2021-06-261-61/+9
| | | | through a uservalue
* correctly transfer the uservalue of a deep userdataBenoit Germain2021-06-241-6/+37
|
* Lua 5.4 supportBenoit Germain2018-11-271-1/+1
|
* replace hardcoded "_LOADED" with lua-provided LUA_LOADED_TABLEBenoit Germain2018-11-271-2/+2
|
* Internal code tweaksBenoit Germain2018-11-191-21/+18
| | | | | | * Registry access code utility macros * CONFIG_REGKEY and LOOKUP_REGKEY are now lightuserdata instead of strings * Stack checking debug macros improvements
* Deep userdata must embed DeepPrelude to save an allocation (also changes ↵Benoit Germain2018-11-151-40/+26
| | | | Deep protocol)
* fix a bunch of compilation warnings (issue #157)Benoit Germain2018-11-111-6/+6
|
* Little bugfix for __lanesclone supportBenoit Germain2018-11-071-4/+4
| | | | | Don't fall back to the light userdata demotion when cloning succeeded (cloning still doesn't work yet)
* Improve LuaJIT-x64 compatibilityBenoit Germain2018-10-301-10/+10
| | | | | Restrict internal "light userdata constants" to 47 significant bits when compiling against LuaJIT-x64
* More MinGW buildfixes (I hope)Benoit Germain2018-10-251-3/+3
|
* Fix Lanes build by reorganizing types around a bitBenoit Germain2018-10-251-18/+18
|
* Deep userdata improvementsBenoit Germain2017-08-021-18/+28
| | | | | Support for user-provided __gc Improved example
* Fix for deep-aware modulesBenoit Germain2017-08-011-28/+33
| | | | | | Don't crash when using a module that creates Lanes-compatible deep userdata. Added a sample deep-aware module.
* preliminary Lua 5.3 supportBenoit Germain2014-12-161-1/+1
| | | | Untested, but it might just work :).
* Deep userdata changesBenoit Germain2014-06-171-0/+524
* bumped version to 3.9.6 * separate deep userdata code in a dedicated file to allow external modules to implement Lanes-compatible deep userdata without requiring a binary dependency against the Lanes module. because of this linda_id function(eDO_metatable) must push 2 values on the stack: a metatable and a deep version string obtained from luaG_pushdeepversion()