Daniel Kolesa
12bd267efc
Variable values are global, and can be accessed concurrently from different cubescript threads. Make storage of var values atomic so that it is safe to do so. This is done with a simple load-store wrapper. It does not do any other operations on the values, so we can handle floats and pointers this way as well. Floats are simply stored in the smallest integer type that can fully fit the float. |
||
---|---|---|
.. | ||
cubescript | ||
cubescript.hh | ||
cubescript_conf.hh |