Various
This board is to host any non skyline related topics.

Online SWIG Lua Wrapper Generator

Online SWIG Lua Wrapper Generator

Postby Shando » 15 Aug 2018, 04:21

Hi all,

Came across this website the other day:

https://realtimelogic.com/swig/help/intro.lsp

Very useful for generating SWIG wrappers for Lua (from C / C++)!

It uses the latest version of SWIG (v4 I think) and can cope with most things C++ can do (except some nested things like Classes, Structs etc.). All you need to do is list all the required function declarations in a file called 'functions.txt', create a zip with this file and the relevant header files, upload to the generator and let it work it's magic.

Hope this is helpful to someone.

Regards

Shando
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: Online SWIG Lua Wrapper Generator

Postby StarFire » 16 Aug 2018, 12:44

Thank you Shando for sharing this information :D
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer


Return to Various

Who is online

Users browsing this forum: No registered users and 2 guests

cron