lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> as otherwise it complains about ambiguous operators needing parentheses. I
> think I have got the precedence right in my modification!

Yes, it is right. The next version will come with these parentheses.


> And are you intending to do something about TObject, which clashes with
> Borland's usage? Using C++ I get out of this one by using namespaces.

In the next version, TObject is still used internally in Lua, but lua.h uses
a different name:

lua.h:
  typedef struct lua_TObject *lua_Object;

lobject.h:
  typedef struct lua_TObject {
    lua_Type ttype;
    Value value;
  } TObject;

Is this enough?

-- Roberto