blob: 0c6d442fcacac6ec415d3f62cc4c7cdd8f1eb241 (
plain)
1
2
3
4
5
6
7
8
9
|
var
===
*For hooking up static / global variables to Lua usertypes*
The sole purpose of this tagging type is to work with :doc:`usertypes<usertype>` to provide ``my_class.my_static_var`` access, and to also provide reference-based access as well.
.. literalinclude:: ../../../examples/source/usertype_var.cpp
:linenos:
|