• Nick Wellnhofer's avatar
    Fix list callback signatures · 4dd6d7a5
    Nick Wellnhofer authored
    Make sure that all parameters and return values of list callback
    functions exactly match the callback function type. This is required
    to pass clang's Control Flow Integrity checks and to allow compilation
    to asm.js with Emscripten.
    Also change the `user` parameter type from `const void *` to `void *`.