I added patch for opaque types, where user is able to assign custom
data and let tinyscheme clean it with user given deallocator. Usage is
described on https://sourceforge.net/p/tinyscheme/patches/7/
This patch mainly addresses needs for creating and accessing C/C++
structs/classes inside scheme, which was mentioned earlier .
What do you guys think about it? Are there some corner case where patch
is not suitable?
Curious side effect is that things like scheme strings could be easily
reimplmented to use it, including maybe other types. This could also
simplify API, although will probably break it...
PS: naming was clearly inspired from , but 'memblock' sounds maybe
better? I avoided it so it does not collide with 'hack.txt' content.