Kevin Williams wrote:
> I don't like being the correction police, but I hope these notes might
> help everyone.
>
> The 'svn_cl__check_cancel' function in the command line code 'main.c'
> file takes an argument that isn't used.
That is by design.
The cancelation function takes a pointer to data that the application
passes in, it just happens that the command line client doesn't use it.
The idea is that if your cancellation callback requires access to some
sort of data to determine if it should cancel out of whatever is going
on you would set the cancel_baton member of you svn_client_ctx_t to that
data, and it will be passed in to the cancellation function when it's
called.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 15 17:09:12 2004