]> git.mxchange.org Git - simgear.git/commit
Allow nasal::Ghost to only wrap classes by their shared pointers
authorThomas Geymayer <tomgey@gmail.com>
Sat, 29 Dec 2012 16:47:07 +0000 (17:47 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sat, 29 Dec 2012 16:49:22 +0000 (17:49 +0100)
commitbeca1cbf96b2ca7908b2f50e5462b8208e802278
treefe021aebffb8d6cd12a24d26e21cb0f8ffe51cab
parentb74d2ae9fa35026aa82987e89611fd341acda394
Allow nasal::Ghost to only wrap classes by their shared pointers

This removes support for exposing and managing classes by just
raw pointers as this made lifetime management of instances
from C++ to Nasal and especially the other way round nearly
impossible. Always using smart pointers saves us from a lot
of headaches.
simgear/nasal/cppbind/Ghost.hxx
simgear/nasal/cppbind/cppbind_test.cxx
simgear/structure/SGSharedPtr.hxx