I have a lot of code that stores pointers to functions as void* and then casts them back to the "correct" type. This is part of a LISP interpreter that is embedded in my product's test harness, and used to write test scripts.
This works in conventional C, but I'm having trouble with it in WebAssembly. I've found that functions with and without argument lists don't match, which is quite reasonable, but I'm having trouble getting a fix to work. Just how identical do the function signatures have to be? - Character-for-character identical? - Identical types with different names are OK? - Static and non-static functions with otherwise identical signatures are OK? - Something else? I'm currently using Emscripten v3.1.71 - would an update be likely to help? Thanks in advance, John Dallman -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/CAH1xqgkuk4_4HhZeo4wFGYC2MOUcZRf_6ASz92Psv5YoqcvgMw%40mail.gmail.com.
