2017-12-22 2:54 GMT+02:00 Gregg Reynolds <
dev@mobileink.com>:
> A humble suggestion for Roberto (or anybody else): a thorough guide to Lua
> as extension and extending Lua.
>
> I just finally paid good $$ for PIL 4, and am glad I did. However, it's main
> focus, naturally, is Lua programming. The material on the C interface is
> good as far as it goes, but it leaves me hungry for more.
>
> I would pay good Bitcoin for a Guide to writing Lua bindings that covers the
> hairy bits - like dealing with coroutines, strategies for organizing code,
> etc. - in a little more detail, with examples, maybe covering multiple
> languages.
>
> There's plenty of info along these lines on the web, but it sure would be
> nice to have an authoritative Guide.
There are at least four approaches:
1. Use
a tool that generates bindings for you directly from the headerfiles.
2. Use
.