You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is autocomplete on the samplingCommand object because I am directly instantiating a cntr.Command_Update() object, The lastCommand object does not have autocomplete. I assume this is because it is a pointer returned (in c ) by the addCommand() function.
Is there a way of getting better parsing of pointer return types. is a typemap required for this?
Thanks for any Help,
-Trevor
The text was updated successfully, but these errors were encountered:
I know nothing about vscode specifically, but I suspect you're wanting PEP 484 type hints. SWIG has rather limited support for these currently where it can only provide the C/C type. Maybe that's enough, but maybe you need the Python types which is still to be implemented - see #735.
Hello All,
I am generating bindings for a python module and testing in a vscode enviroment. the returned types are custom c classes.
On the python side for example I have this where module is the imported module:
there is autocomplete on the samplingCommand object because I am directly instantiating a cntr.Command_Update() object, The lastCommand object does not have autocomplete. I assume this is because it is a pointer returned (in c ) by the addCommand() function.
Is there a way of getting better parsing of pointer return types. is a typemap required for this?
Thanks for any Help,
-Trevor
The text was updated successfully, but these errors were encountered: