Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combination of SWIG and TCL C API #3093

Open
georgtree opened this issue Dec 28, 2024 · 0 comments
Open

Combination of SWIG and TCL C API #3093

georgtree opened this issue Dec 28, 2024 · 0 comments

Comments

@georgtree
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant