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

Fix return type of callback function to rb_thread_call_with_gvl(). #309

Merged
merged 1 commit into from Jun 6, 2014

Commits on Nov 16, 2013

  1. Fix return type of callback function to rb_thread_call_with_gvl().

    The return type is not used but caused a compiler warning:
      Function.c: In function 'callback_invoke':
      Function.c:479:9: warning: passing argument 1 of 'rb_thread_call_with_gvl' from incompatible pointer type [enabled by default]
      Function.c:102:14: note: expected 'void * (*)(void *)' but argument is of type 'VALUE (*)(void *)'
    
    This addresses issue ffi#297.
    larskanis committed Nov 16, 2013
    Copy the full SHA
    b74a5bf View commit details
    Browse the repository at this point in the history