Skip to content
  • Jonas Ådahl's avatar
    client: Invoke new_id closure arguments as pointers instead of integers · cb73bffe
    Jonas Ådahl authored
    
    
    This commit adds a flags parameter to wl_closure_invoke(). The so far
    added flags are ment to specify if the invokation is client side or
    server side. When on the server side, closure arguments of type 'new_id'
    should be invoked as a integer id while on the client side they should
    be invoked as a pointer to a proxy object.
    
    This fixes a bug happening when the address of a client side 'new_id'
    proxy object did not fit in a 32 bit integer.
    
    krh: Squashed test suite compile fix from Jason Ekstrand.
    
    Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
    cb73bffe