def test_getFuncWrapper_sig_alias(self):
    src = '\n    #include <stdio.h>\n    #include <emscripten.h>\n\n    void func1(int a) {\n      printf("func1\\n");\n    }\n    void func2(int a, int b) {\n      printf("func2\\n");\n    }\n\n    int main() {\n      EM_ASM({\n        getFuncWrapper($0, \'vi\')(0);\n        getFuncWrapper($1, \'vii\')(0, 0);\n      }, func1, func2);\n      return 0;\n    }\n    '
    self.do_run(src, 'func1\nfunc2\n')
def test_getFuncWrapper_sig_alias(self):
    src = '\n    #include <stdio.h>\n    #include <emscripten.h>\n\n    void func1(int a) {\n      printf("func1\\n");\n    }\n    void func2(int a, int b) {\n      printf("func2\\n");\n    }\n\n    int main() {\n      EM_ASM({\n        getFuncWrapper($0, \'vi\')(0);\n        getFuncWrapper($1, \'vii\')(0, 0);\n      }, func1, func2);\n      return 0;\n    }\n    '
    self.do_run(src, 'func1\nfunc2\n')