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
Hello!
I faced with the necessity to make wrapper with callback to target language (Tcl), and as far as I can see currently there is no way to do that in SWIG. I decided to make it through native Tcl API by providing interpreter and proc name to function call, and then call this proc from C-source function.
But I still want to use SWIG wrapper for the rest of C program, so I need to combine both approaches.
My question is: are there any examples of mixing SWIG wrapping and TCL C API in source code that SWIG wraps?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hello!
I faced with the necessity to make wrapper with callback to target language (Tcl), and as far as I can see currently there is no way to do that in SWIG. I decided to make it through native Tcl API by providing interpreter and proc name to function call, and then call this proc from C-source function.
But I still want to use SWIG wrapper for the rest of C program, so I need to combine both approaches.
My question is: are there any examples of mixing SWIG wrapping and TCL C API in source code that SWIG wraps?
Thank you in advance.
The text was updated successfully, but these errors were encountered: