Skip to content

Same name functions , the pythonnet donl't found right function. #782

Closed
@jiftle

Description

@jiftle

Environment

  • Pythonnet version: 2.3
  • Python version: Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)]
  • Operating System: win7 x64

Details

  • Same name functions , the pythonnet donl't found right function.
    error info
Traceback (most recent call last):
  File "testdll.py", line 111, in <module>
    ret = _Interpreter.csc(1, filename, paramlist, errMsg)
TypeError: No method matches given arguments

mycode

public int csc(int type, string filename, strtParam[] paramArray, ref string strErr)
public int csc(string filename, strtParam[] paramArray, ref string strErr)
  • Modify code ,use different function name just successed.
    midify code
public int cscPT(int type, string filename, strtParam[] paramArray, ref string strErr)
        {
            return csc(type, filename, paramArray, ref strErr);
        }

Metadata

Metadata

Assignees

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