Can I expose a function with default argument to python? I have a function called switchMap() which takes an int argument that defaults to -1 if none is provided. I exposed this function to python like this:
When this is called from python, will you stil be able to call it without supplying a value for iIndex?
Code:
.def("switchMap", &CyGlobalContext::switchMap, "void (int iIndex)")
When this is called from python, will you stil be able to call it without supplying a value for iIndex?