Re: [Wireshark-dev] Lua embedded into C++

2017-03-13 Thread Kunal Thakrar
Hello again, Having used the wslua_state() function as a getter for the WSLua state, as you said Peter, it is not functioning as expected as the stack seems to not be reliable at all and is constantly changing and adding values making it almost impossible to pass tables from my scripts to my

Re: [Wireshark-dev] Lua embedded into C++

2017-02-01 Thread Kunal Thakrar
From: wireshark-dev-boun...@wireshark.org <wireshark-dev-boun...@wireshark.org> on behalf of Peter Wu <pe...@lekensteyn.nl> Sent: 01 February 2017 18:48 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Lua embedded into C++ On Wed, Feb 01, 2017 at 06:3

Re: [Wireshark-dev] Lua embedded into C++

2017-02-01 Thread Peter Wu
On Wed, Feb 01, 2017 at 06:38:52PM +0100, Pascal Quantin wrote: > 2017-02-01 18:18 GMT+01:00 Kunal Thakrar : > > > Hi Pascal, > > > > > > What I am trying to do is register the wslua functions in my Lua state in > > order to create my own scripts which will be used

Re: [Wireshark-dev] Lua embedded into C++

2017-02-01 Thread Pascal Quantin
2017-02-01 18:18 GMT+01:00 Kunal Thakrar : > Hi Pascal, > > > What I am trying to do is register the wslua functions in my Lua state in > order to create my own scripts which will be used internally as part of my > customised module. My module aims to use listeners and

Re: [Wireshark-dev] Lua embedded into C++

2017-02-01 Thread Kunal Thakrar
Hi Pascal, What I am trying to do is register the wslua functions in my Lua state in order to create my own scripts which will be used internally as part of my customised module. My module aims to use listeners and post dissectors to show information similar to google chrome and firefox's

Re: [Wireshark-dev] Lua embedded into C++

2017-02-01 Thread Pascal Quantin
Hi Kunal, 2017-02-01 1:06 GMT+01:00 Kunal Thakrar : > Hello all, > > > I am currently trying to embed Wireshark's Lua into my C++ GUI that I have > made in order to customise Wireshark. > > > So far I have gone about adding the following to my existing GUI code. > > >