gint g_arg_info_get_closure GIRepository.ArgInfo info arg_info_get_closure @accepts(GIRepository.ArgInfo) @returns(gint) def arg_info_get_closure(info)

Obtain the index of the user data argument. This is only valid for arguments which are callbacks.

info :

a GIArgInfo

Returns :

index of the user data argument or -1 if there is none