Uncertain about luabind

Tomas Cokis <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hey guys, I'm really new to luabind (just got it compelling) and looking
through the documentation I'm a bit uncertain of how to do something.

Namely, how can I declare variables (in current, c++ scope) to luabind?

My goal here is to, in a constructor of an object load a lua file to
initialise its variables.

I'm aware of how to declare classes and functions, however it doesn't seem
like I can register an actual object or variables instance - the only
solution I can think of it giving every variable its own get/set function,
and add an additional layer - however isn't this what lua bind is supposed
to do? Bind c++ to lua?
-- 
View this message in context: http://old.nabble.com/Uncertain-about-luabind-tp27160575p27160575.html
Sent from the Lua C++ Bind mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.