struct { name = "minhaStruct", fields = {{name = "nome", type = "string"}, {name = "peso", type = "double"} {name = "idade", type = "int"}, } } interface { name = "minhaInt", methods = { foo = { resulttype = "double", args = {{direction = "in", type = "double"}, {direction = "inout",type = "int"} {direction = "inout",type = "string"}, {direction = "in", type = "minhaStruct"}, } }, echoInt = { resulttype = "void" args = { {direction = "inout",type = "int"} } } newstruct = { resulttype = "minhaStruct", args = { {direction = "in", type = "string"}, {direction = "in",type = "double"}, {direction = "in", type = "int"} } } structToString = { resulttype = "string", args = { {direction = "in", type = "minhaStruct"} } }, inc = { resulttype = "int", args = { {direction = "in", type = "int"} } }, setGlobalString = { resulttype = "void", args = { {direction = "in", type = "string"} } }, getGlobalString = { resulttype = "string", args = { } } } }