class attribute to lua

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

class attribute to lua

vkyii 00
I have build luabind with boost_1_46_1 + lua-5.1.4 + luabind-0.9.1.
And I cann't run the tests smoothly, one of the problem is in file [test/test_attributes.cpp]
  DOSTRING(L, "test = property()\n");
  DOSTRING(L, "test.c.a = 1\n"
  "assert(test.c.a == 1)\n"
  "assert(test.c_ref.a == 1)"
it produces the error:
[string "test.c.a = 1..."]:1: attempt to index field 'c' (a function value)

Did I miss some important information?

Best Regards


What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
luabind-user mailing list
[hidden email]