Hi Alessandro,

On 19 January 2018 at 20:34, Alessandro Terenzi <[email protected]> wrote:
> so, if I got it right, you suggest to expose a C function/wrapper from 
> os_utils (C++) and use it in the Lua (C) plugin? This would imply to modify 
> the lua code anyway right?

I don't have a clear path forward yet, the use of C in the lua plugin
is a bit different from the rest of the OSG so we'll have to find a
good way forward.

I would much rather have a unified fallback otherwise testing and
debugging can get a bit problematic as time goes on.   My guess is
that we either need to compile Lua as C++ or have an extern "C" block
in the include/os_utls and have a osg_system(const char*) method that
wraps the platform specific implementation.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to