Re: How to bind a static member variable
Iliya Trendafilov <[email protected]> Mon, 8 Apr 2013 09:40:15 +0300
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <CAA9zKUsLNscELZhS2yEueh2_z+KEup0b5hgiv8Ts=ZTV+svNFA@mail.gmail.com> |
--===============0205050755022339641== Content-Type: multipart/alternative; boundary=089e01681d169f5a3804d9d3b583 --089e01681d169f5a3804d9d3b583 Content-Type: text/plain; charset=UTF-8 Hi, In the (rather old) docs, there's an example binding static function: http://www.rasterbar.com/products/luabind/docs.html#nested-scopes-and-static-functions Binding static members should be obvious from there On Sun, Apr 7, 2013 at 1:52 PM, Lorenzo Pistone <[email protected]>wrote: > Hello, > I cannot find any reference on how to bind a static member variable, so > that I can access it from lua as myclass.staticmember. > > Cheers. > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user > --089e01681d169f5a3804d9d3b583 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Hi,<br><br></div>In the (rather old) docs, there= 's an example binding static function: <a href=3D"http://www.rasterbar.= com/products/luabind/docs.html#nested-scopes-and-static-functions">http://w= ww.rasterbar.com/products/luabind/docs.html#nested-scopes-and-static-functi= ons</a><br> </div>Binding static members should be obvious from there<br><br></div><div= class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Sun, Apr 7, 20= 13 at 1:52 PM, Lorenzo Pistone <span dir=3D"ltr"><<a href=3D"mailto:blaf= [email protected]" target=3D"_blank">[email protected]</a>></span>= wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Hello,<br> I cannot find any reference on how to bind a static member variable, so<br> that I can access it from lua as myclass.staticmember.<br> <br> Cheers.<br> <br> ---------------------------------------------------------------------------= ---<br> Minimize network downtime and maximize team effectiveness.<br> Reduce network management and security costs.Learn how to hire<br> the most talented Cisco Certified professionals. Visit the<br> Employer Resources Portal<br> <a href=3D"http://www.cisco.com/web/learning/employer_resources/index.html"= target=3D"_blank">http://www.cisco.com/web/learning/employer_resources/ind= ex.html</a><br> _______________________________________________<br> luabind-user mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= urceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/luabind-user" targe= t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/luabind-user</a><= br> </blockquote></div><br></div> --089e01681d169f5a3804d9d3b583-- --===============0205050755022339641== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html --===============0205050755022339641== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user --===============0205050755022339641==--