get_closure


Description:

public int get_closure ()

Obtain the index of the user data argument.

This is only valid for arguments which are callbacks.

Parameters:

info

a ArgInfo

Returns:

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