Next: 3.3.2.2 Default methods
Up: 3.3.2 Using Methods and
Previous: 3.3.2 Using Methods and
Contents
LuaCOM allows the use of properties as simple Lua fields just for
objects that have type information. Nevertheless, some objects that
have type information describing their interfaces implement
properties that are not described in the type library: these objects
implement extensible interfaces. Those properties can only be
used with accessor functions, as shown in section
3.3.2. An example of such behaviour is found in
WMI objects (Windows Management Instrumentation).
Fabio Mascarenhas de Queiroz 2005-01-07
3.3.2.1 Extensible interfaces
LuaCOM allows the use of properties as simple Lua fields just for
objects that have type information. Nevertheless, some objects that
have type information describing their interfaces implement
properties that are not described in the type library: these objects
implement extensible interfaces. Those properties can only be
used with accessor functions, as shown in section
3.3.2. An example of such behaviour is found in
WMI objects (Windows Management Instrumentation).
Fabio Mascarenhas de Queiroz 2005-01-07