]> git.mxchange.org Git - simgear.git/commit
cppbind: make ghost_type static to keep same pointer on reset.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 1 Dec 2013 00:18:13 +0000 (01:18 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 1 Dec 2013 00:18:13 +0000 (01:18 +0100)
commitdfb07f359eddbf7086bc2c217fcfcacb446f5baf
tree124ee3cc06a5c39b228d0378924d2a241111d994
parent6fe14334973e2586432d73818372c0c71477838e
cppbind: make ghost_type static to keep same pointer on reset.

Using a static naGhostType ensures that always the same
address is used for the same ghost and prevents ghost_types
from getting invalid (eg. on reset).
simgear/nasal/cppbind/Ghost.hxx