🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Argument handling for function binding

Started by
0 comments, last by peeler2k3 21 years ago
Hello, I am trying to do my own scripting system in C and I have a problem. I want to be able to call any function storing its pointer in a function pointer, because I cannot use a general pointer (void (*mygenpointer)(void)). I have to know the exact prototype for the function I want to use. Lua and other embedded languages resolve that problem using different complex systems, but I lose myself reading its code. Does anybody know an easy way of do that?
Advertisement
Don''t cross-post. It makes Dave cry.

How appropriate. You fight like a cow.

This topic is closed to new replies.

Advertisement