Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Howto:Extend Nasal

87 bytes added, 16:25, 1 March 2013
Wrapping C++ Classes as Nasal Objects (ghosts)
naRef naStringValue(naContext c, naRef n);
= Wrapping C++ Classes as Nasal Objects (ghostscppbind) =Please see: https://gitorious.org/fg/simgear/trees/next/simgear/nasal/cppbind<!--
'''To be written by Hooray & Zakalawe'''
For the time being, it's a good idea to take a look at the FGPositioned wrappers for the navdb to see how this is done in Nasal, see [https://gitorious.org/fg/flightgear/blobs/next/src/Scripting/NasalPositioned.cxx $FG_SRC/Scripting/NasalPositioned.cxx].
Also, the implementation of the SGPropertyNode bindings in [https://gitorious.org/fg/flightgear/blobs/next/src/Scripting/nasal-props.cxx nasal-props.cxx] contains additional examples.
== Background ==
Quoting: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg17546.html

Navigation menu