how return nil with luabind::object ?

Markus Klotzbuecher <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Dear List,

I can't figure out a clean way to return lua 'nil' in a
luabind::object from a function. I guess I could pushnil onto the
stack, create the object with from_stack and then pop nil again, but
there must be a better way...

Any ideas?

Thanks!
Markus

------------------------------------------------------------------------------
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.