Skip to content

Max 5 params for a module method #5

@fieldfoxWim

Description

@fieldfoxWim

Hi All

I have been struggling to find out why a module method, only supports 5 params. After searching on forums I finaly landed on the libqi source.
Can somebody confirm that lines 167 and further in libqi/qi/anyfunction.hpp are causing that limitation?
Thanks in advance

    class MathModule(ALModule):
        def __init__(self, name):
            ALModule.__init__(self, name)

        def sum(self, a, b, c, d, e):
            """ WORKING """
            print a + " " + b + " " + c + " " + d + " " + e

        def sum1(self, a, b, c, d, e, f):
             """ METHOD UNDEFINED """
             print a + " " + b + " " + c + " " + d + " " + e + " " + f

Thanks for your time

Best regards
Wim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions