]> git.mxchange.org Git - simgear.git/commit
cppbind: check if ghost is of wrong type.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 15 Sep 2014 21:42:12 +0000 (23:42 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 15 Sep 2014 21:42:12 +0000 (23:42 +0200)
commit36fd005bb9ce48752cf1c358d3e9f0b5b16ef8ff
tree87402a12b6571212044d39a7a976cd918039805f
parent85090180d0df534a876829ffa3bbd90e28d4606c
cppbind: check if ghost is of wrong type.

 - Throw an exception if converting an object
   from Nasal fails due to a wrong type (nil
   does not throw).
 - Update cppbind test cases accordingly (and
   refactor another test suite to use Boost.
   Test).
simgear/nasal/cppbind/CMakeLists.txt
simgear/nasal/cppbind/Ghost.hxx
simgear/nasal/cppbind/cppbind_test.cxx
simgear/nasal/cppbind/cppbind_test_ghost.cxx
simgear/nasal/cppbind/from_nasal.hxx