3.3.4 Parameter Passing

LuaCOM

next up previous contents Next: 3.3.4.1 Calling COM from Up: 3.3 Automation binding Previous: 3.3.3.0.1 Message loop   Contents

3.3.4 Parameter Passing

LuaCOM has some policies concerning parameter passing. They specify how LuaCOM will translate COM parameter lists to Lua and vice-versa. There are two different situations to which these policies apply: calling a method of a COM object from Lua and calling a Lua function from COM. The main question here is how to deal with the different types of parameters supported by COM (``in'' parameters, ``out'' parameters, ``in-out'' parameters, ``optional'' parameters and ``defaultvalue'' parameters). There is also a special policy concerning generic LuaCOM objects.



Subsections

Fabio Mascarenhas de Queiroz 2005-01-07